Paul Chote
1cb6026c38
Move ContrailRenderable into Mods.RA.
2014-07-22 16:43:39 +12:00
Taryn Hill
da001385ae
Added some trait [Desc()]s.
2014-07-12 13:31:14 -05:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
Paul Chote
185e9b3f08
Fix and rewrite contrails. Closes #3457 .
2013-06-25 19:38:48 +12:00
Paul Chote
53aa698491
Rename LocalCoordinatesModel -> BodyOrientation.
2013-05-28 22:34:59 +12: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
Paul Chote
c428cad70c
Refactor per-player shrouds & fix shellmap shroud.
2013-04-10 19:36:03 +12:00
Paul Chote
7c21459b48
Convert contrails to world coords.
2013-03-31 19:32:51 +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
Sascha Biedermann
e562f8d2cc
refactored Average method in PPos
2013-03-19 19:58:30 +01:00
Sascha Biedermann
021e1116b8
added moving average to contrails to smooth them when aircraft are circling
2013-03-19 18:41:36 +01:00
Matthias Mailänder
0085ac130b
use PVecFloat in Combat sub-routines
2013-02-28 21:59:18 +01:00
Kenny
f41fb32d60
Introducing per-player shrouds.
...
- Each player has their own shroud and their visibility does not extend outside of the shroud.
- Units and buildings can no longer target other units outside of their visibility. Buildings can still be targetted if they have been explored.
- GPS will provide visibility in the fog-of-war.
- Spies that infiltrate radar domes will gain their victim's exploration and reset it on all clients (if the victim does not have GPS)
2012-12-13 15:16:56 -08:00
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Chris Forbes
523183431b
remove some duplication and dead code
2011-12-27 14:48:10 +13:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Paul Chote
926b396605
Fix bogus naming of Shaders/Renderers. Split LineRenderer into world and chrome variants.
2011-07-25 22:23:16 +12:00
Chris Forbes
71cf332ee1
trim some crap out of Contrail
2011-07-25 22:23:13 +12:00
Chris Forbes
315c00f67f
clean up Contrail trait lookups; fixes #1058
2011-07-25 22:23:11 +12:00
Chris Forbes
0e45968573
remove 'private' keyword where possible
2011-06-29 09:15:39 +12:00
Chris Forbes
d2d0e4be96
better support for contrail coloring everywhere
2011-04-10 11:15:43 +12:00
Chris Forbes
79079ebe07
working missile trails
2011-04-10 11:15:42 +12:00
Chris Forbes
5fd3cc7977
internal machinery for contrails on missiles
2011-04-10 11:15:41 +12:00
Chris Forbes
6710ad975e
split out ContrailHistory from the trait machinery
2011-04-10 11:15:40 +12:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Chris Forbes
3426b52247
add ColorRamp type; change everything to use it; maps not yet upgraded
2011-01-08 18:17:18 +13:00
Paul Chote
7c5c989eb2
Introduce World.LocalShroud. Breaks targeting stealth tanks. Probably breaks FrozenUnderFog.
2010-11-27 11:20:04 +13:00
Paul Chote
41fd19c766
Begin refactoring Shroud. ShroudRenderer is now internal to WorldRenderer; all traits interact with Shroud directly. Gives soft-edges at the map border for free, but breaks shellmap and observers.
2010-11-27 11:20:03 +13:00
Chris Forbes
1db3ce4b59
some usings cleanup
2010-11-21 12:25:22 +13:00
Bob
e3ddb8f757
cache world.LocalPlayer instead of fetching it repeatedly within loops
2010-11-01 18:39:44 +13:00
Caleb Anderson
cc70669f1a
use player color option
2010-10-25 08:29:55 +13:00
Caleb Anderson
c568dfa486
Contrail trait
2010-10-25 08:29:54 +13:00