Paul Chote
03e09e25bb
Fix turret facings for GTWR etc. Fixes #3610 .
2013-08-03 12:45:21 +12:00
Paul Chote
a545259454
Don't render contrail shadows.
2013-08-03 11:20:26 +12:00
Paul Chote
805b4b6258
Change IRenderable.WithPos -> OffsetBy.
...
This is more appropriate for the actual use cases.
Fixes #3621 .
2013-08-03 11:16:52 +12:00
Paul Chote
c3f04cc32e
Convert non-aircraft positioning to world coords.
...
This removes the incomplete and unused hover code
on Mobile, which would be more trouble that it is
currently worth to carry over.
2013-07-21 17:35:47 +12:00
Paul Chote
ecc119cb29
Combine IHasLocation -> IOccupySpace, IMove -> ITeleportable.
2013-07-21 17:33:32 +12:00
Paul Chote
0c35e49239
Remove PPos from range circle drawing.
2013-07-20 15:34:28 +12:00
Paul Chote
27f04c1b78
Rename FindUnits -> FindActorsInBox.
2013-07-20 15:34:28 +12:00
Paul Chote
37c02fea79
Remove PPos overload of FindUnits.
2013-07-20 15:34:27 +12:00
Paul Chote
a642b8298e
Move harvester animation z offset to sequences.
2013-07-15 20:58:24 +12:00
Paul Chote
15688eed13
Allow Animation to generate its own Renderables.
2013-07-15 20:54:02 +12:00
Paul Chote
11cebddaa9
Convert Sound.Play* to WPos.
2013-07-11 17:37:27 +12:00
Paul Chote
1e7f1ab225
Convert Explosion to world coords.
2013-07-08 23:40:22 +12:00
Paul Chote
39e699d119
Convert BaseProvider range check to world coords.
2013-07-08 21:52:24 +12:00
Paul Chote
0424b56af1
Add WithHarvestAnimation for TS and D2K harvester animations.
2013-06-22 19:25:10 +12:00
Paul Chote
80c3cf479d
Remove harvester dependency on RenderUnit.
2013-06-22 16:58:40 +12:00
Paul Chote
fc33c56d61
Use NormalizeSequence in RenderBuildingWall.
2013-06-20 21:53:31 +12:00
Paul Chote
5734131310
Remove unnecessary fields from RenderBuilding*.
2013-06-20 18:29:20 +12:00
Paul Chote
e99d0a0b43
RenderBuildingRefinery -> WithResources.
2013-06-20 18:28:33 +12:00
Paul Chote
c5337cdcf3
Reimplement voxel rendering with a FBO.
2013-06-15 19:31:52 +12:00
Paul Chote
7fb643f962
Add render trait for Mammoth Mk II.
2013-06-04 20:40:25 +12:00
Paul Chote
5cfde95358
Add a basic set of voxel render traits.
2013-06-04 20:40:24 +12:00
Paul Chote
c149898592
Separate IBodyOrientation from render traits.
2013-05-28 22:37:06 +12:00
Paul Chote
53aa698491
Rename LocalCoordinatesModel -> BodyOrientation.
2013-05-28 22:34:59 +12:00
Paul Chote
e7aa6ce998
Change traits to use RenderSprites directly.
2013-05-28 22:34:58 +12:00
Paul Chote
07f3c0171d
Allow turret recoil to be disabled.
2013-05-28 22:34:58 +12:00
Paul Chote
1d5f67cb6a
Allow turrets to have a different facing count to the actor body.
2013-05-28 22:34:58 +12:00
Paul Chote
a11e403084
Draw turrets, spinners, rotors at ZOffset +1 relative to the body.
2013-05-24 18:18:47 +12:00
Paul Chote
25dd8d9fa7
Fix aircraft shadow render order.
2013-05-23 21:25:11 +12:00
Paul Chote
f7aca32e0e
Fix unit turret vs War Factory roof rendering.
2013-05-19 11:10:04 +12:00
Paul Chote
4d8dd2db7d
Convert Corpse to world coordinates.
2013-05-17 18:12:29 +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
d103a187f6
Make the guts of Renderable private.
2013-05-17 18:12:26 +12:00
Paul Chote
cca784752b
Make WithSpinner consistent with WithTurret.
2013-05-15 19:17:33 +12:00
Paul Chote
c91f0dfd2f
Merge the 3 turret rendering traits into WithTurret.
2013-05-15 19:17:32 +12:00
Matthias Mailänder
520bb19e44
fixes #2660 damaged silos placed by mappers using wrong sprites
2013-04-19 11:27:34 +02:00
Paul Chote
7b54bbf0b2
Convert RenderUnitSpinner -> RenderUnit + WithSpinner.
...
Also sets correct offsets for the units that use it.
2013-03-31 23:43:34 +13:00
Paul Chote
41dcb11030
Convert WithRotor to world coords.
2013-03-31 21:35:37 +13: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
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
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
Matthias Mailänder
0a82bfe552
format TODO: uniformly to auto-generate task list in MonoDevelop
2013-03-27 09:45:17 +01: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
3a11aeb434
Cache PaletteReference in RenderSimple.
2013-02-26 09:35:41 +13:00
Paul Chote
fa5cf96f40
Ditto for Corpse.
2013-02-26 09:24:43 +13:00
Paul Chote
3380817865
Pass WorldRenderer to Render().
2013-02-25 21:11:33 +13:00