reaperrr
a3bd007ac7
Moved SelectionDecorations to Mods.Common
...
And added more settings.
Moved SelectionBoxRenderable to Mods.Common, too.
2015-06-17 20:13:52 +02:00
reaperrr
d6fb05ce68
Introduced VisualBounds on SelectionDecorations
...
To allow visual selection boxes to be independent from Selectable.Bounds.
2015-06-17 20:13:51 +02:00
Paul Chote
c44afc0722
Remove viewport editor-mode assumptions.
2015-06-16 08:16:49 +01:00
Paul Chote
2156a234db
Render shroud outside map bounds.
...
Fixes a regression from #8337 .
2015-06-15 18:06:43 +01:00
Paul Chote
aee951c86f
Remove region assumptions from fast shroud tests.
2015-06-15 18:06:42 +01:00
Matthias Mailänder
bb6d4388df
always return a default height based on font size
2015-06-13 08:36:37 +02:00
Paul Chote
3d352563a8
Allow scrolling to the map edges in the editor.
2015-06-11 21:27:34 +01:00
Paul Chote
486bf14669
Relax screen clipping bounds.
...
Fixes missing tiles in TS.
2015-06-11 21:27:33 +01:00
Matthias Mailänder
bac11e23f6
avoid an often forgotten NullReferenceException
2015-06-10 06:39:54 +02:00
RoosterDragon
1e60a0ca76
Create only one scratch vertex buffer for rendering.
...
Previously several buffers were created but only one was ever used.
2015-06-05 21:32:07 +01:00
Paul Chote
bf4722fb9f
Distinguish between all map cells and cells inside map bounds.
2015-06-02 21:53:25 +01:00
Oliver Brakmann
206c33ed41
Merge pull request #8226 from pchote/actor-disposal
...
Dispose traits when destroying an actor.
2015-06-02 19:33:22 +02:00
Oliver Brakmann
62aee92185
Merge pull request #8221 from pchote/terrain-spritelayer
...
Introduce a class for efficient tiled sprite rendering.
2015-06-02 18:16:05 +02:00
RoosterDragon
1a89e91630
Fast case PremultiplyAlpha for opaque colors.
2015-05-29 19:50:33 +01:00
Paul Chote
4ff309811f
Dispose actors when tearing down the world.
2015-05-29 19:21:34 +01:00
Paul Chote
585a43fd8f
Rename Actor.Destroy/Destroyed to Dispose/Disposed.
2015-05-29 19:08:38 +01:00
Paul Chote
629f877032
Extract terrain vertex buffer into a reusable class.
2015-05-29 19:06:11 +01:00
Paul Chote
b1f4bd85d6
Accept an IntPtr for VertexBuffer.SetData.
2015-05-29 19:06:11 +01:00
Paul Chote
4df64eb18f
Expose vertex components.
2015-05-29 19:06:11 +01:00
Oliver Brakmann
8b6c4a5b13
Merge pull request #8248 from Mailaender/premultiplied-geometric-renderers
...
Fixed transparency breakage on quad and line rendering
2015-05-29 14:11:28 +02:00
Oliver Brakmann
641213696f
Merge pull request #8191 from abcdefg30/luawidget
...
Add a custom text display to lua
2015-05-26 00:03:08 +02:00
Matthias Mailänder
1b16a51021
fix a dereference of an explicit null value
2015-05-25 17:41:55 +02:00
abcdefg30
35374d168f
Add support for custom mission timers: UserInterfaceGlobal
2015-05-25 16:57:15 +02:00
Matthias Mailänder
96e2c9bb79
use premultiplied alpha on geometric renderers
...
to fix transparency again
2015-05-25 13:39:38 +02:00
Paul Chote
322285ef66
Update NukePaletteEffect for premultiplied alpha.
2015-05-24 18:32:42 +01:00
Paul Chote
5532ed4fc9
Remove now-redundant blend code.
2015-05-23 08:50:28 +01:00
Paul Chote
26fd858fc7
Use premultiplied alpha for all textures and blending.
2015-05-23 08:50:28 +01:00
Pavel Penev
0d33fdb5e1
Merge pull request #8200 from RoosterDragon/sheet-fixes
...
Sheet fixes
2015-05-22 18:30:13 +03:00
RoosterDragon
b48b994f16
Remove half-baked thread-safety mechanisms from Sheet.
...
Sheet is now thread-unsafe, rather than attempting to expose a dodgy thread safety model.
2015-05-20 18:50:28 +01:00
RoosterDragon
d42c3a9740
Allow a sheet buffer to be released without error, even if unbuffered.
2015-05-20 18:35:24 +01:00
RoosterDragon
b9ebeaadca
Improve performance of line rendering.
...
- Create an overload that renders a line in one color, as this allows most existing calls to be simplified. This also allows a slight performance improvement by only normalizing the components once.
- Introduce a DrawLineStrip method. This improves performance by allowing the color components to be normalized once for the whole strip, and only needing to calculate vertices once per point rather than twice since we can reuse the last result.
2015-05-19 21:41:50 +01:00
Paul Chote
038847cc4c
Force the first template variant in TTPW.
2015-05-15 17:08:32 +01:00
abcdefg30
70e7b33fd7
Merge pull request #7979 from Mailaender/d2k-sand-blendmode
...
Fixed the Dune 2000 harvester sand out animation
2015-05-14 19:21:06 +02:00
abcdefg30
d62b01d294
Merge pull request #7538 from cjshmyr/teamhealth
...
Give ally players a yellow health bar (team health colors)
2015-05-12 18:01:27 +02:00
Curtis Shmyr
6ca51e47c1
Give ally players a yellow hp bar for team health colors
2015-05-10 11:12:10 -06:00
Paul Chote
889360d4c6
Regenerate cached texture indices when the palette size changes.
2015-05-10 00:59:15 +01:00
Paul Chote
7eae157ad8
Rework player palette loading.
2015-05-10 00:01:14 +01:00
Paul Chote
1d835edfca
Split PaletteReference into its own file.
2015-05-09 22:36:28 +01:00
Matthias Mailänder
732001f3f3
Merge pull request #7696 from Robmaister/bleed
...
Updated SharpFont to 3.0.0, adjusted font rendering code for new fixed-point types
2015-05-01 11:41:20 +02:00
Oliver Brakmann
a6b8bdf978
Merge pull request #8027 from pchote/update-terrain-vertexbuffer
...
Update terrain layer when the terrain data changes.
2015-04-26 21:15:45 +02:00
Matthias Mailänder
63e4d40770
add alpha channel to every possible blend mode
2015-04-26 09:22:19 +02:00
Paul Chote
8f93d7b5d7
Simplify and fix animation glitches.
2015-04-25 22:52:14 +02:00
Paul Chote
7df12cb3e9
Update terrain layer when the terrain data changes.
2015-04-26 07:35:07 +12:00
Oliver Brakmann
a48a878a71
Merge pull request #7983 from pchote/radar-colors
...
Adjust IRadarSignature to support per-cell colors.
2015-04-25 16:38:28 +02:00
Robert Rouhani
4987a6b24c
Updated SharpFont to 3.0.0, adjusted font rendering code for new fixed-point types.
2015-04-25 10:26:41 -04:00
Paul Chote
145f7b28f5
Adjust IRadarSignature to support per-cell colors.
2015-04-19 22:27:47 +12:00
Matthias Mailänder
868e404b22
add 2 new blend modes: Multiplicative, DoubleMultiplicative
2015-04-18 13:41:53 +02:00
RoosterDragon
9c93001c84
Convert to 32bbp internally in FastCopyIntoSprite.
...
This avoids the need for callers to ensure the pixel format is correct, but ensures that the copying succeeds when the format is different.
2015-04-17 18:50:49 +01:00
RoosterDragon
7883355481
Validate PixelFormat of source bitmap argument in FastCopyIntoSprite.
2015-04-10 19:54:03 +01:00
reaperrr
c0448fce3e
Adds two new BlendModes.
2015-04-01 21:16:01 +02:00