Commit Graph

222 Commits

Author SHA1 Message Date
Curtis Shmyr
f8f60e52bc Replace Spy* with Disguise* for certain classes 2014-03-15 14:20:57 -06:00
reaperrr
8a318cad9b Un-hardcodes charge sequence name. 2014-03-06 20:31:58 +01:00
Matthias Mailänder
56470b918b use the disabled palette to render husks
closes #4631
2014-03-05 23:18:14 +01:00
Matthias Mailänder
2165518418 Merge pull request #4393 from cjshmyr/nametag
Added RenderNameTag trait for actors
2014-03-05 23:00:11 +01:00
Taryn
3d7815d8c1 Added a TraitOrDefault for Mobile and with that a check for mobile.IsMoving to RenderLandingCraft. 2014-02-22 12:45:25 -06:00
Curtis Shmyr
aa6e970611 Added RenderNameTag trait for actors 2014-02-21 20:36:36 -07:00
ScottNZ
025de83d3a Fix cargo loading/unloading.
- Fix the unloading subcell bug, letting us have units move to directly adjacent cells.
- Have the cursor change to a deploy-blocked cursor if the transport can't unload due to terrain type.
- Add RenderTransport for transport door opening.
- Remove turning/opening in general.
2014-02-12 20:07:44 +13:00
ScottNZ
ea1d1320be Make RenderUnit.PlayCustomAnimBackwards not crash if the callback is null 2014-02-10 22:44:35 +13:00
Taryn
9c4ad15d1e Changed most references of trait Mobile -> IMove.
In Mobile.cs IsMoving now has a public set as opposed to the initial internal. 
Added IMoveInfo interface to go with *Info classes that require IMove.
WithRotor now uses IMove.IsMoving instead of (self.CenterPosition.Z > 0) as part of a check.
2014-02-02 15:13:49 -06:00
Paul Chote
e9e2e353f7 Change crate graphics for christmas. Closes #4296. 2013-12-15 18:16:15 +13:00
ScottNZ
1394c1dcee Remove some misc redundancies 2013-11-12 19:39:39 +13:00
ScottNZ
00ec1ca87a Remove unused usings 2013-11-12 19:39:33 +13:00
Paul Chote
5cec1fe4fb Support custom helicopter rotors. Fixes #4072. 2013-11-09 17:14:25 +13:00
Paul Chote
db49fe8c22 Use the original flame and chem muzzle flashes. 2013-11-07 17:38:14 +13:00
Paul Chote
ae86e20bc7 Add support for multiple stand animations. 2013-10-26 11:05:07 +13:00
Paul Chote
d0c5ab0ca3 Clean up style nits in RenderInfantry. 2013-10-26 11:05:07 +13:00
Paul Chote
03c4c476f1 Use scale in RenderSimple.RenderPreview. Fixes #3970. 2013-10-21 18:52:29 +13:00
Matthias Mailänder
1c04c6608f don't render the idle overlay during selling 2013-08-17 23:47:14 +02:00
Matthias Mailänder
8c6074a081 WithCrumbleOverlay for Dune 2000 buildings 2013-08-17 23:47:09 +02:00
Matthias Mailänder
d3edaaae4d replace WithSpinner → WithIdleOverlay 2013-08-14 00:05:24 +02:00
Matthias Mailänder
94c3090528 require body orientation for idle overlays
and don't wait for BuildingComplete to generalize for units
2013-08-13 23:51:31 +02:00
Matthias Mailänder
c0be16cde3 don't display the overlay before the building is completed 2013-08-13 17:00:59 +02:00
Matthias Mailänder
cb4e4d7bd9 added idle render overlays for d2k and ts buildings 2013-08-13 16:14:13 +02:00
Matthias Mailänder
f4371f886c Merge pull request #3665 from pchote/frozen-fog-prereqs
Rework bibs (again).
2013-08-11 02:14:34 -07:00
Paul Chote
cc44139eb1 Fix z-offset for muzzle flashes. Fixes #3667. 2013-08-11 12:52:47 +12: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
Matthias Mailänder
74c136b7e3 Merge pull request #3627 from pchote/muzzleflash
Improved Muzzleflash support
2013-08-03 02:20:46 -07:00
Paul Chote
8f24f93330 Add per-armament muzzle flashes. Fixes #3609. 2013-08-03 16:47:50 +12:00
Paul Chote
755fa6eaf4 Include Armament and Barrel in INotifyAttack. 2013-08-03 16:21:57 +12:00
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