Commit Graph

257 Commits

Author SHA1 Message Date
Paul Chote
18ae6aed28 Hide CashTicks under fog. Fixes #3664. 2013-08-11 12:52:47 +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
805b4b6258 Change IRenderable.WithPos -> OffsetBy.
This is more appropriate for the actual use cases.
Fixes #3621.
2013-08-03 11:16:52 +12:00
Matthias Mailänder
b62d9b7517 Merge pull request #3616 from pchote/wobbly-turrets
Fix wobbly turrets
2013-08-02 10:58:50 -07:00
Paul Chote
cdef41adb4 Specify sprite positions as center pos + offset. Fixes #3611. 2013-08-01 22:23:21 +12:00
Paul Chote
b374816fa1 Convert Missile to world coordinates. Fixes #3347. Closes #3434. 2013-08-01 20:18:42 +12:00
Paul Chote
285ecb8c03 Rewrite bullets using world coords and improved trails. 2013-08-01 20:18:42 +12:00
Paul Chote
da5c85dbac Rewrite GravityBomb with world coords and gravity. 2013-08-01 20:18:42 +12:00
Paul Chote
547fcdfa4d Split TeslaRenderable out from TeslaZap. 2013-08-01 20:18:41 +12:00
Paul Chote
df46ffeb84 Convert ProjectileArgs to world coords. 2013-08-01 20:18:41 +12:00
Paul Chote
bdded2f14c Hide crate effects / rank animation under fog. 2013-07-25 18:16:10 +12:00
Paul Chote
126fc79eed Fix FrozenUnderFog. 2013-07-25 18:11:55 +12:00
Paul Chote
7405921621 Hide Repair, Powerdown icons when cloaked. Fixes #3588. Fixes #3502. 2013-07-25 18:11:55 +12:00
Paul Chote
b24427a9c1 Hide smoke under fog. 2013-07-25 18:11:55 +12:00
Paul Chote
7cb70d3aab Hide corpses under fog. 2013-07-25 18:11:54 +12:00
Paul Chote
bc4061aabd Hide explosions under fog. 2013-07-25 18:11:54 +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
048bed0a5e Rename ITeleportable -> IPositionable. 2013-07-21 17:35:41 +12:00
Paul Chote
ecc119cb29 Combine IHasLocation -> IOccupySpace, IMove -> ITeleportable. 2013-07-21 17:33:32 +12:00
Paul Chote
ddd1314613 Convert ScreenShaker to world coords. 2013-07-20 15:34:28 +12:00
Paul Chote
15688eed13 Allow Animation to generate its own Renderables. 2013-07-15 20:54:02 +12:00
Paul Chote
1e7f1ab225 Convert Explosion to world coords. 2013-07-08 23:40:22 +12:00
Paul Chote
7883b1bd7f Convert Combat.DoExplosion to world coords. 2013-07-08 21:52:27 +12:00
Paul Chote
f9ec5fd9b7 Add WPos.ToCPos(). 2013-07-08 21:52:25 +12:00
Paul Chote
185e9b3f08 Fix and rewrite contrails. Closes #3457. 2013-06-25 19:38:48 +12:00
Paul Chote
90d7f230ed Move RallyPoint offset into sequences. 2013-06-20 22:35:01 +12:00
Paul Chote
88fd5ba094 Move SatelliteLaunch offsets into sequences. 2013-06-20 22:28:57 +12:00
Paul Chote
82059dca6d Add BeamRenderable for lasers. 2013-06-16 19:37:54 +12:00
Paul Chote
1eb04a70a5 Add TextRenderable for CashTick. Make ticks consistent. 2013-06-16 19:10:38 +12:00
Paul Chote
ef95faa9b9 Fix LaserZap LineRenderer flushing. 2013-06-15 19:09:20 +12:00
Paul Chote
53aa698491 Rename LocalCoordinatesModel -> BodyOrientation. 2013-05-28 22:34:59 +12:00
Chris Forbes
5af277d20e Merge pull request #3338 from Mailaender/gps-dots
Added GPS dot shadows again and removed pixelation
2013-05-26 13:21:47 -07:00
reaperrr
547e64724f Changes name of LaserZap Explosion trait to HitAnim.
Additionally sets default HitAnim to null instead of "laserfire", to avoid crashes when neither a custom HitAnim nor laserfire anim are present.
2013-05-26 16:47:23 +02:00
reaperrr
afb67f8595 Replaces BeamRadius with BeamWidth.
Allows for more fine-grained control over laserbeam width.
2013-05-26 16:45:16 +02:00
Matthias Mailänder
770477f7a5 removed hard-coded GPS dot upscaling
please create a bigger sprite instead
2013-05-25 19:12:22 +02:00
Paul Chote
170e14546a Convert NukeLaunch to world coordinates. 2013-05-17 18:12:29 +12:00
Paul Chote
4b4c1b71df Convert GpsSatellite to world coordinates. 2013-05-17 18:12:29 +12:00
Paul Chote
e122797a68 Convert CrateEffect to world coordinates. 2013-05-17 18:12:29 +12:00
Paul Chote
4d8dd2db7d Convert Corpse to world coordinates. 2013-05-17 18:12:29 +12:00
Paul Chote
3e1c1096c2 Convert Smoke to world coordinates. 2013-05-17 18:12:29 +12:00
Paul Chote
c6e6977bf6 Convert RallyPoint to world coordinates. 2013-05-17 18:12:28 +12:00
Paul Chote
57142fbb8d Convert indicator overlays to world coordinates. 2013-05-17 18:12:28 +12:00
Paul Chote
ca5f2c3785 Split Renderable into an IRenderable interface and SpriteRenderable implementation. 2013-05-17 18:12:28 +12:00
Paul Chote
79cbb7f729 Convert Parachute to world coords. 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
Matthias Mailänder
0576937fd6 render powerdown indicator for observers 2013-05-13 23:42:50 +02:00
Matthias Mailänder
2c250ed700 fixes #3181 GPS dots not visble in spectator mode 2013-05-13 23:42:49 +02:00
Matthias Mailänder
f4a4afbb69 make cash ticks consistent with per-player shroud and observers 2013-05-13 23:42:49 +02:00
Paul Chote
656476991f Replace ColorRamp with HSLColor everywhere.
Fixes:
* Nuclear-purple color exploit.
* #3247.
* Removes a bunch of unnecessary color conversions every frame.

Caveats:
* The ramp range is now defined on the palette, so ramps can no longer be set per-player (may impact maps which define custom colors).
* It's no longer possible to perfectly recreate the original WW color ramps (I doubt we care).
* The old ColorRamp setting isn't migrated, so players will lose their color settings.
2013-05-10 19:23:30 +12:00