Paul Chote
800acdbdf2
Rename FindUnitsInCircle -> FindActorsInCircle.
2013-07-20 15:34:27 +12:00
Paul Chote
6201d7bfe2
Convert mission scripts to world coords.
2013-07-20 15:34:26 +12:00
Matthias Mailänder
77ff985dcd
Merge pull request #3574 from ScottNZ/superweapons
...
Add atom bomb and gps public superweapon timers to RA
2013-07-17 08:25:25 -07:00
Paul Chote
dcbef51ba0
Move ion cannon z offset to sequences.
2013-07-15 20:58:03 +12:00
Paul Chote
15688eed13
Allow Animation to generate its own Renderables.
2013-07-15 20:54:02 +12:00
ScottNZ
8bec40eb9b
Move SupportPowerInstance out of SupportPowerManager
2013-07-14 22:40:38 +12:00
Paul Chote
330978aeea
Fix ProductionAirdrop style nits.
2013-07-14 16:56:44 +12:00
Paul Chote
8f5abf7983
Give the airdrop C17 enough room to land. Fixes #3554 .
2013-07-14 16:51:50 +12:00
Paul Chote
086b0a62e9
Merge pull request #3533 from Mailaender/stylecop
...
Added StyleCop Support
2013-07-11 15:01:30 -07:00
Matthias Mailänder
a35a046ede
disable more StyleCop rules based on @pchote's wishlist
2013-07-11 20:29:00 +02:00
Paul Chote
11cebddaa9
Convert Sound.Play* to WPos.
2013-07-11 17:37:27 +12:00
Matthias Mailänder
8bb5b5700b
added StyleCop support
...
with some rules we disagree with disabled
2013-07-08 19:42:32 +02:00
Matthias Mailänder
a90b3a9cd3
Merge pull request #3525 from pchote/ra-widget-cleanup
...
Widget fixes
2013-07-08 10:39:25 -07:00
Paul Chote
7883b1bd7f
Convert Combat.DoExplosion to world coords.
2013-07-08 21:52:27 +12:00
Paul Chote
0fdffd7b6a
Convert Drag to world coords.
2013-07-08 21:52:27 +12:00
Paul Chote
e741e83fd4
Convert IonCannon to world coords.
2013-07-08 21:52:26 +12:00
Paul Chote
ec15aa5ee4
Restore radar enable/disable sounds.
2013-07-08 21:06:30 +12:00
Paul Chote
f8313672ff
Kill PowerBarWidget. Fixes #3446 .
2013-07-05 21:50:34 +12:00
Paul Chote
6fa4e54022
Remove the hardcoded mess of RadarBinWidget.
2013-07-04 23:19:25 +12:00
Paul Chote
3095c6ea5f
Move WithFire, Burns offsets into sequences.
2013-06-20 22:01:59 +12:00
Paul Chote
5084b30f3f
Simplify RenderGunboat.
2013-06-20 21:53:31 +12:00
Paul Chote
e99d0a0b43
RenderBuildingRefinery -> WithResources.
2013-06-20 18:28:33 +12:00
Paul Chote
f376eb9b2a
Move proc light offset into sequences. Fixes #3391 .
2013-06-20 17:59:27 +12:00
Paul Chote
a0e224ec71
Add a Credits menu. Fixes #2864 .
2013-06-19 13:21:29 +12:00
Paul Chote
659e56f0fa
Remove Bitrotted JoinExternalGame. Fixes #3406 . Closes #2153 .
2013-06-16 04:19:06 +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
d048d083c4
Convert px z offsets to world coords.
2013-05-24 17:41:55 +12:00
Paul Chote
ca5f2c3785
Split Renderable into an IRenderable interface and SpriteRenderable implementation.
2013-05-17 18:12:28 +12:00
Paul Chote
9b7aaebcbc
Rewrite RenderCargo -> WithCargo.
...
Now uses world coordinates and properly displays
cargo at all facings.
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
Matthias Mailänder
90dc6d3298
Merge pull request #3238 from pchote/local-pause-state
...
Remove local pause order lag delay
2013-05-10 03:07:08 -07: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
c3c5321e1d
Predict local pause state to avoid order lag. Fixes #3223 .
2013-05-09 22:42:55 +12:00
Paul Chote
36a7d070a8
Merge pull request #3145 from Mailaender/harvy-never-let-go
...
Undock harvesters when refinery is destroyed
2013-04-27 03:14:00 -07:00
Matthias Mailänder
461cc347fc
Merge pull request #3169 from pchote/colorpicker
...
New Colorpicker with graphical mixer
2013-04-27 03:12:53 -07:00
Paul Chote
1177402856
Merge pull request #3135 from ScottNZ/ui
...
Start moving towards saner RA widget logic
2013-04-27 03:09:59 -07:00
Matthias Mailänder
7bd253d56b
Don't crash when the fonts are not yet loaded
...
closes #3157
2013-04-27 09:52:53 +02:00
Paul Chote
70f705bdc7
Implement the new color picker.
2013-04-27 12:35:41 +12:00
Scott_NZ
ca80ac2d1f
Start moving towards saner RA widget logic. This switches players to observer mode after they have finished playing in RA/D2k and removes some legacy code.
2013-04-26 13:50:14 +12:00
Paul Chote
ba2704291a
Implement new spawn tooltips in RA and d2k.
2013-04-25 14:03:13 +12:00
Matthias Mailänder
e09a7f57f3
Undock harvesters when refinery is destroyed or not in world
...
fixes #2029
2013-04-24 13:42:02 +02:00
Paul Chote
9b7bb53287
LocalPlayer.Shroud is never the right shroud.
2013-04-10 21:42:30 +12:00
Paul Chote
09efeed105
Use IsHighlighted for settings / ingame menu tabs.
2013-04-08 23:04:23 +12:00
Paul Chote
f368556b23
Merge tooltip support into Button and remove ToggleButton.
2013-04-08 23:01:21 +12:00
Paul Chote
eddc1fc0cf
Remove duplication between ButtonWidget and ToggleButtonWidget.
2013-04-08 22:55:01 +12:00
Paul Chote
71999bdc52
Break production tabs logic into a separate file.
...
Also unhardcodes the production types.
2013-04-08 22:32:32 +12:00