Paul Chote
ef2f909f65
Reorganize IBodyOrientation.
2014-08-03 19:20:40 +12:00
Paul Chote
da6ecbf92e
Change IPostRenderSelection and IPlaceBuildingDecoration to return renderables.
2014-07-25 21:14:39 +12:00
Paul Chote
1b222958d6
Don’t override custom animations if damaged.
2014-07-08 17:12:36 +12:00
Paul Chote
2b91a2363b
Fix make animations.
2014-07-08 16:56:09 +12:00
Paul Chote
5650d5fc98
Revert "use TickRender() for RenderSprites and PaletteModifier"
...
This reverts commit 87fd576b26 .
2014-07-08 11:09:54 +12:00
Paul Chote
18c9a25232
Revert "freeze animations during pause to visualize it better"
...
This reverts commit 960248fe44 .
2014-07-08 10:40:06 +12:00
Matthias Mailänder
565ea05bd7
fix problem with cnc nuke leaking the long idle sequence Tick
...
and avoid magic numbers
2014-07-06 09:23:31 +02:00
Matthias Mailänder
960248fe44
freeze animations during pause to visualize it better
2014-07-06 08:24:08 +02:00
Matthias Mailänder
394d635dae
new trait WithMakeAnimation
2014-07-06 08:24:08 +02:00
RoosterDragon
22abf9b4c4
Remove and sort usings.
2014-06-18 21:43:35 +01:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
Paul Chote
15f63fb5ea
RenderSprites.anims is finally private.
...
Followup to #3348 .
2014-05-23 00:37:20 +12:00
Matthias Mailänder
01a3162725
allow animations to pause on low power
...
closes #2949
2014-04-20 14:47:53 +02:00
Matthias Mailänder
56470b918b
use the disabled palette to render husks
...
closes #4631
2014-03-05 23:18:14 +01:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
Matthias Mailänder
8c6074a081
WithCrumbleOverlay for Dune 2000 buildings
2013-08-17 23:47:09 +02:00
Paul Chote
4754cbb768
Replace IOrderGenerator.RenderBeforeWorld with world-sorted .Render.
...
Range circles have been moved to RenderAfterWorld for now.
2013-08-11 00:25:54 +12:00
Paul Chote
be7fc57cdd
Introduce IRenderable.IsDecoration and AsDecoration.
...
These are used to filter *Renderables that shouldn't
be copied for things like highlight or shadow.
2013-08-10 22:25:05 +12:00
Paul Chote
03e09e25bb
Fix turret facings for GTWR etc. Fixes #3610 .
2013-08-03 12:45:21 +12:00
Paul Chote
0c35e49239
Remove PPos from range circle drawing.
2013-07-20 15:34:28 +12:00
Paul Chote
5734131310
Remove unnecessary fields from RenderBuilding*.
2013-06-20 18:29:20 +12:00
Paul Chote
c149898592
Separate IBodyOrientation from render traits.
2013-05-28 22:37:06 +12:00
Paul Chote
ca5f2c3785
Split Renderable into an IRenderable interface and SpriteRenderable implementation.
2013-05-17 18:12:28 +12:00
Paul Chote
462478afdf
Convert building rendering to world coordinates.
2013-05-17 18:12:27 +12:00
Paul Chote
d878c96343
Change Renderable to take centered positions.
2013-05-17 18:12:26 +12:00
Paul Chote
d103a187f6
Make the guts of Renderable private.
2013-05-17 18:12:26 +12:00
Paul Chote
9127d0dcf4
Support a maximum building range ( Fixes #2156 ).
...
This also implements support for a per-provider
cooldown between placing structures, allowing mods
with multiple structure queues to rate-limit
placement around a single provider.
An initial delay parameter is included to
support units that deploy into a base provider and
require an initial setup time (e.g. the Surveyor
unit from C&C TW).
The range and time restrictions are not applied to
walls as a balance choice.
2013-03-30 23:00:26 +13:00
Paul Chote
000a5eaa56
Pass WorldRenderer to IRenderModifiers and replace more palette lookups.
2013-02-24 15:45:03 +13:00
Paul Chote
48d713aafd
Pass a PaletteReference to RenderPreview.
2013-02-24 15:43:20 +13:00
Paul Chote
f0ba0ce2e8
Wrap palette references with a PaletteRef object.
2013-02-24 15:43:15 +13:00
Chris Forbes
10c1b996ed
tidy up disabled handling
2012-04-06 19:34:43 +12:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Paul Chote
d9174b7e3b
Kill RenderSimple.OverrideTileset/OverrideImage.
2011-07-27 13:36:48 +12:00
Paul Chote
64497c9b2f
Fix exploding walls
2011-06-20 13:03:23 +12:00
Paul Chote
8f962853f9
Support arbitrary per-player palettes. Will crash if I missed any cases that don't explicitly set the Renderable palette.
2011-05-03 22:21:31 +12:00
Paul Chote
a0941db61b
Fix warfactory roof glitch
2011-04-17 20:02:02 +12:00
Chris Forbes
76b3e2325b
make RenderBuildingOre slightly more robust; remove some junk
2011-04-17 19:22:21 +12:00
Chris Forbes
ae645bbafe
fix missing explosion on war factory; remove some nonsense
2011-04-17 19:22:21 +12:00
Paul Chote
794dcac4d2
Create INotifyDamageStateChanged for nearly everything else that used INotifyDamage.
2011-04-16 11:51:34 +12:00
Paul Chote
8b00e1cfa5
Remove some bogus duplication in Sell (caused the double-sell bug).
2011-04-16 11:39:32 +12:00
Paul Chote
7b0a9136ab
Remove some bogosity from RenderBuilding
2011-04-16 11:19:37 +12:00
Paul Chote
cd64d62b7e
Fix bogus silo/wall rendering
2011-04-12 08:42:13 +12:00
Paul Chote
a31ef3d8e2
Use MakeAnimation activity for make animations
2011-04-12 08:41:25 +12:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Chris Forbes
0f84ac5215
RenderBuilding.BuildingPreview pushed down to RenderSimple and renamed to .RenderPreview()
2011-01-26 21:06:05 +13:00
Paul Chote
76216b8dd9
Move damage sounds and shaking from Building/RenderBuilding into their own traits. Fix wall damage/death sounds under cnc.
2011-01-04 14:34:00 +13:00
Paul Chote
3674accd0c
Improved cnc proc/harv docking.
2011-01-02 14:56:29 +13:00
Paul Chote
00a0aac7a3
Scale is now set via a field on Render* and interacts properly with chronoshift and building previews.
2010-11-27 13:30:08 +13:00
Paul Chote
96cd0e2259
Render building previews
2010-11-24 13:43:07 +13:00