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
Bob
480c5edd75
move Building et al into Mods/
2010-11-06 11:05:45 +13:00
Chris Forbes
999eef2ec9
#157 explosions weren't taking altitude into account
2010-10-16 09:30:32 +13:00
Bob
011a20e8b4
add IHasLocation
2010-10-12 07:59:40 +13:00
Alli
6d5918b11d
Remove compiler warnings
2010-10-02 14:30:54 +13:00
Chris Forbes
f402ec7898
Revert "add IHasLocation"
...
This reverts commit 699b4b1154 .
2010-09-28 07:43:49 +13:00
Bob
699b4b1154
add IHasLocation
2010-09-26 18:17:23 +12:00
Caleb Anderson
b62ee4d37c
Fixed sequence crash
2010-09-19 19:13:15 +12:00
Paul Chote
2a10af2007
Fix z-offset
2010-09-18 20:46:00 +12:00
Paul Chote
4cb26c0e3c
Try again, with less fail.
2010-09-18 20:46:00 +12:00
Paul Chote
1785c4e4a8
Support for arbitrary building art offset relative to footprint
2010-09-17 20:18:14 +12:00
Paul Chote
5396cad2b9
Beefier building explosions (replicates real-cnc)
2010-09-08 03:13:26 +12:00
Paul Chote
178af8b849
cnc afld polish
2010-08-30 21:56:21 +12:00
Bob
0e71af25f4
remove Game.skipMakeAnims
2010-08-20 17:14:20 +12:00
Bob
ae703d50b2
Actor.traits is implementation detail
2010-08-14 17:39:49 +12:00
Paul Chote
62c2c3a1c6
Fix damage transition sounds
2010-07-30 22:24:43 +12:00