Commit Graph

17 Commits

Author SHA1 Message Date
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
34a9675744 Remove unnecessary PPos.FromWPosHackZ() usage. 2013-03-31 21:35:30 +13:00
Paul Chote
2f80cd5f92 Pass WorldRenderer to AnimationWithOffset.OffsetFunc. 2013-03-31 19:56:11 +13:00
Paul Chote
5e74d3c54e Remove legacy turret/muzzle positioning code. 2013-03-29 22:04:21 +13:00
Paul Chote
bb6a1ed6e0 Introduce world offsets for turrets & armaments. 2013-03-29 20:42:56 +13:00
Paul Chote
0167bbfbaa Move weapon/turret definitions out of AttackBase.
Weapons are now defined with the Armament trait
and turret parameters live in Turreted.
This has the side effect of allowing any number
and distribution of weapons and turrets.
2013-03-24 11:58:45 +13:00
Paul Chote
3380817865 Pass WorldRenderer to Render(). 2013-02-25 21:11:33 +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
55036cd58c fix trailing whitespace everywhere 2011-09-26 08:40:39 +13:00
Chris Forbes
4a0b7bb003 put AnimationWithOffset in its own file 2011-07-17 17:55:52 +12:00
Chris Forbes
a3601b1214 drop redundant virtuals from WithMuzzleFlash 2011-06-25 18:12:05 +12:00
Paul Chote
fd2d15c0fe Work around #937. May have negative perf impact. 2011-06-25 16:43:51 +12:00
Paul Chote
81d1444b4a Fix turreted muzzleflashes. 2011-06-25 13:54:30 +12:00
Chris Forbes
0ba41acf4a add muzzle flashes to pbox/hbox 2011-05-30 20:50:45 +12:00
Chris Forbes
d86e0ec522 rename ITraitPrerequisite<T> to Requires<T> 2011-05-04 18:02:35 +12:00
Paul Chote
3071cd8240 Kill RenderUnitRotor in favour of RenderUnit + WithRotor. 2011-03-23 08:05:09 +13:00