Paul Chote
7fb106e54a
Introduce actor previews for PBOG and the editor.
2014-08-03 22:23:47 +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
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
Matthias Mailänder
87fd576b26
use TickRender() for RenderSprites and PaletteModifier
2014-07-06 08:24:08 +02:00
Paul Chote
d7f1b1c9e2
Remove CVec -> WVec conversion.
2014-06-27 23:30:41 +12:00
RoosterDragon
22abf9b4c4
Remove and sort usings.
2014-06-18 21:43:35 +01:00
Paul Chote
4aa7376994
Add wrappers for RenderSprites anims dictionary.
2014-05-22 23:35:10 +12:00
Pavlos Touboulidis
b560268495
Change animations to use the proper SequenceProvider
...
Remove references to the global "Game" and use the SequenceProvider
of the current world/map.
2014-05-17 14:33:16 +03:00
Paul Chote
03c4c476f1
Use scale in RenderSimple.RenderPreview. Fixes #3970 .
2013-10-21 18:52:29 +13:00
Paul Chote
15688eed13
Allow Animation to generate its own Renderables.
2013-07-15 20:54:02 +12:00
Paul Chote
39e699d119
Convert BaseProvider range check to world coords.
2013-07-08 21:52:24 +12:00
Paul Chote
5734131310
Remove unnecessary fields from RenderBuilding*.
2013-06-20 18:29:20 +12:00
Paul Chote
e7aa6ce998
Change traits to use RenderSprites directly.
2013-05-28 22:34:58 +12:00
Paul Chote
f7aca32e0e
Fix unit turret vs War Factory roof rendering.
2013-05-19 11:10:04 +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
fe716e76a7
Convert AnimationWithOffset to world coords.
...
Animations (via Actor.CenterPosition) now
understand Altitude, so there is potential for
mis-positioned animations if any existing altitude
hacks were missed.
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
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
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
05ce48b732
tidy in RenderBuildingWarFactory
2011-10-04 22:44:23 +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
Chris Forbes
4a0b7bb003
put AnimationWithOffset in its own file
2011-07-17 17:55:52 +12:00
Paul Chote
d4baf2d757
Refactor UnitInfluence trait -> world.ActorMap
2011-05-22 19:32:53 +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
ae645bbafe
fix missing explosion on war factory; remove some nonsense
2011-04-17 19:22:21 +12:00
Paul Chote
e5506f2455
Rename RenderWarFactory -> RenderBuildingWarFactory
2011-04-16 12:05:02 +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
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
Chris Forbes
f52620f6fc
add ISync to all traits that have [Sync] members
2011-01-26 21:00:28 +13:00
Chris Forbes
a25087a9f3
fix weap door crash in cnc
2011-01-09 17:32:59 +13:00
Chris Forbes
3dd52a59c9
work around a verifier limitation
2010-12-27 18:30:24 +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
Chris Forbes
a94b2df865
#361 weap doesnt play sell animation correctly -- fixed
2010-11-21 11:14:36 +13:00
Chris Forbes
1904f8ced1
fix weap door never closing
2010-11-06 17:47:11 +13:00
Caleb Anderson
b62ee4d37c
Fixed sequence crash
2010-09-19 19:13:15 +12:00
Chris Forbes
9848d1f403
hack WEAP door z
2010-09-17 20:21:22 +12:00
Bob
ae703d50b2
Actor.traits is implementation detail
2010-08-14 17:39:49 +12:00
Paul Chote
053f0f5c7f
Refactoring + cnc weap
2010-08-03 01:03:31 +12:00
Paul Chote
8528c5d3a3
Correct the ordering on DamageState
2010-07-30 22:24:43 +12:00