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
Scott_NZ
88b59d5033
Add missile jamming to MRJ
2013-04-20 03:05:47 +12:00
Paul Chote
c428cad70c
Refactor per-player shrouds & fix shellmap shroud.
2013-04-10 19:36:03 +12:00
Matthias Mailänder
dca73b2c7d
fixes #2726 paratroopers revealing shroud after death
2013-04-03 00:15:19 +02:00
Paul Chote
7c21459b48
Convert contrails to world coords.
2013-03-31 19:32:51 +13:00
Paul Chote
61959aa45b
Fix TeslaZap to account for altitude.
2013-03-29 20:39:26 +13:00
Paul Chote
153d29a00f
Fix LazerZap to account for altitude.
2013-03-29 19:04:25 +13:00
Matthias Mailänder
0a82bfe552
format TODO: uniformly to auto-generate task list in MonoDevelop
2013-03-27 09:45:17 +01:00
Matthias Mailänder
a682670b97
update developer commentary
...
for weapon traits, crates and palettes
clarify that you don't need to update the wiki page manually
2013-03-27 09:22:23 +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
Matthias Mailänder
c731a7960e
embed the previously manually edited outdated documentation
...
from https://github.com/OpenRA/OpenRA/wiki/Trait-Documentation
2013-03-20 21:20:27 +01: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
29e917ae88
division through cell size to coarse cell coordinate vector
2013-03-03 23:11:03 +01:00
Matthias Mailänder
ef36c446bd
log projectile dest as it is affected by inaccuracy calc
...
want to debug if this is the source of problems
2013-03-03 22:31:23 +01:00
Chris Forbes
336076c248
Merge pull request #2665 from Mailaender/pvecfloat-combat
...
Fix floating point inconsistencies to reduce desyncs
2013-03-02 00:01:53 -08:00
Paul Chote
fb0ce8c06a
Fix crash when an opponent uses Paratroopers.
2013-03-02 10:09:38 +13:00
Matthias Mailänder
793dfa5748
don't convert cell size to float for bullet inaccuracy
...
change it back to int / int / float
from int / float / float
was int / int / float before
2013-03-01 10:49:51 +01:00
Matthias Mailänder
0085ac130b
use PVecFloat in Combat sub-routines
2013-02-28 21:59:18 +01:00
Paul Chote
f2fe30a7bb
Remove PaletteReference.FromName from TeslaZap.
2013-02-26 09:35:39 +13:00
Paul Chote
fa5cf96f40
Ditto for Corpse.
2013-02-26 09:24:43 +13:00
Paul Chote
e33c783fc1
Ditto for GpsDot.
2013-02-26 09:24:42 +13:00
Paul Chote
5a4bd14835
Ditto for RallyPoint.
2013-02-25 21:12:01 +13:00
Paul Chote
43159a0e05
Remove RepairIndicator dependence on target RenderSimple.
...
This also fixes the case where the building palette doesn't
match the indicator, and saves 2 trait lookups per tick.
2013-02-25 21:12:01 +13:00
Paul Chote
3380817865
Pass WorldRenderer to Render().
2013-02-25 21:11:33 +13:00
Paul Chote
d6fcaafd78
Let parachute cargo render themselves.
...
This allows for tanks and other multi-sprite
actors to render correctly while dropping.
2013-02-25 21:10:16 +13:00
Paul Chote
000a5eaa56
Pass WorldRenderer to IRenderModifiers and replace more palette lookups.
2013-02-24 15:45:03 +13:00
Paul Chote
885eec7444
Move effects to WorldRenderer palette lookup.
2013-02-24 15:43:20 +13:00
Paul Chote
f0ba0ce2e8
Wrap palette references with a PaletteRef object.
2013-02-24 15:43:15 +13: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
Curtis Shmyr
7f5141c338
#2447 - Disguised spies are now hidden under GPS
2012-11-04 17:47:03 +13:00
Chris Forbes
9201b1cced
fixed #2198 - crates are collected when landing on top of a unit
2012-07-01 09:04:49 +12:00
James Dunne
b127ae8027
Added sub-pixel position/vector types.
...
Updated Sync code to handle new sub-pixel types.
2012-06-21 19:41:12 -05:00
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Chris Forbes
3b704e25fa
#2159 fixed -- missiles lose guidance and run out their remaining fuel if the target dies
2012-05-22 19:01:49 +12:00
Chris Forbes
926686beff
fix cnc cheats panel
2012-04-24 19:44:06 +12:00
Chris Forbes
523183431b
remove some duplication and dead code
2011-12-27 14:48:10 +13:00
alzeih
1b0724719d
Make LineRenderer understand Zoom internally
2011-12-13 23:58:39 +13:00
alzeih
c8ae6127f3
Fix #1128 - Use Line Width support in LaserZap
2011-12-13 23:58:34 +13:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
e02a6e7ec4
tidy more
2011-10-06 22:58:25 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Curtis S
561bec9ada
Fix #1165 - PowerdownIndicator now works for replays/spec
2011-09-13 22:24:10 +12:00
Curtis S
460696192b
PowerdownIndicator will only show to owner and teammates
2011-09-10 22:38:19 -06:00
Curtis S
be9948426c
1078: Added ally repairing for CNC and RA
2011-09-10 16:41:40 -06:00