Matthias Mailänder
8f64835898
StyleCop
2014-06-15 10:51:57 +02:00
Pavlos Touboulidis
86febed0ce
Move ChooseRandomEdgeCell from WorldUtils to Map
2014-06-13 14:31:01 +03:00
Pavlos Touboulidis
060d5326ed
Move FindTilesInCircle from WorldUtils to Map
2014-06-13 14:24:53 +03:00
Pavlos Touboulidis
03b8096807
Move DistanceToMapEdge from WorldUtils to Map
2014-06-13 14:04:36 +03:00
Pavlos Touboulidis
c282fa1077
Move GetTerrainIndex/Info from WorldUtils to Map
2014-06-13 13:57:32 +03:00
Pavlos Touboulidis
092352729f
Change terrain type from string based dictionaries to arrays
2014-06-13 11:20:54 +03:00
ScottNZ
7e6f7c51e1
Refactor AutoTarget scan and GPS interaction, and cache trait lookup for a slight performance boost
2014-06-07 12:01:50 +12:00
Matthias Mailänder
75e19ca281
use ToLowerInvariant everywhere
2014-06-01 11:24:39 +02:00
Paul Chote
e1501d5b7c
Add clock overlay to support power beacons.
2014-05-31 18:41:02 +12:00
Paul Chote
91126b9c48
Move support power beacons into Airstrike/Nuke.
...
This allows each instance to close over the individual beacons. Fixes #5455 .
2014-05-31 17:10:46 +12:00
Chris Forbes
5eb61dbdd2
Merge pull request #5411 from RoosterDragon/general-clean
...
General Cleanup
2014-05-25 11:03:03 +12:00
Paul Chote
cb13335b8d
Separate ping lifetime from beacons. Fixes #5424 .
2014-05-24 23:05:22 +12:00
RoosterDragon
b733465f33
General uncontroversial cleanup:
...
- Made private methods static where possible (runtime can elide checking the object for null).
- Declared attribute classes as sealed (allows reflection on attributes to complete faster).
- Moved some static cctor's into field initializers (static cctor's are slower than static field initializers).
- Made classes static if they contained only static methods (can't create instances of useless objects).
- Use inferable Exts.Lazy and not new Lazy<T>().
- Added required STAThread attribute to CrashDialog.
- Removed unused parameters in private methods.
- Added Serializable attribute to exceptions.
- Added parameter name in calls to ArgumentNullException.
- Use of as operator instead of is + cast.
- Changed (x as Foo).Bar anti-pattern into ((Foo)x).Bar. Results in sensible cast exceptions on error rather than null dereferences.
- Removed unused method in NullShader.
2014-05-23 15:50:54 +01:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Paul Chote
12767b7f21
Merge pull request #5328 from Mailaender/superpower-cleanup
...
IronCurtain/ChronoShift code cleanup
2014-05-17 18:05:43 +12:00
reaperrr
bbf2364bba
Fixes AI units hunting down Missile Silo/Temple of Nod after being damaged by nuke
2014-05-16 17:43:22 +02:00
Matthias Mailänder
db77c7b45d
code cleanup
2014-05-16 17:27:49 +02:00
Paul Chote
86f5a39d86
Persist the nuke beacon until detonation.
2014-04-18 18:55:34 +12:00
Paul Chote
56586cb4b5
Add a camera to the nuke.
2014-04-18 18:55:34 +12:00
Paul Chote
51363fd724
Make nuke flight time independent from map size.
2014-04-18 18:55:34 +12:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Paul Chote
1b2a90c00c
Migrate to System.Lazy.
2014-04-09 20:20:41 +12:00
Paul Chote
94e30503a7
Allow support powers to define a poster image for beacons.
2014-03-20 22:13:11 +13:00
Paul Chote
acda996227
Remove airstrike beacon when the attack begins.
2014-03-13 01:03:24 +13:00
Paul Chote
d7d12ef799
Rework airstrike flare and camera spawning.
2014-03-13 01:03:24 +13:00
ScottNZ
338fb38bd3
Add beacon/radar ping placements for nukes/ion cannons/chronospheres/iron curtains.
2014-02-23 13:14:00 +13:00
Paul Chote
4eaaa052cc
Simplify Fly interface.
2014-02-01 10:55:04 +13:00
Kanar
17cf890dce
Enables "insufficient power"-speech in RA and C&C when powered-down supportpowerwidget is clicked
2014-01-27 04:29:32 +01:00
Paul Chote
aa2f865d5d
Convert Altitude to world coords.
...
Removes the obsolete AltitudeInit: use CenterPositionInit instead.
2013-12-26 17:25:07 +13:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
Matthias Mailänder
e0e3f1155a
avoid additional layers of abstraction
2013-11-02 18:12:46 +01:00
Matthias Mailänder
b1c3ac20bf
brought back the MoveFlash
...
closes #2592
2013-11-02 18:03:49 +01:00
Paul Chote
2f5ff30184
Add strafing to C&C airstrike.
2013-11-02 10:08:26 +13:00
Paul Chote
47209f5848
CarpetBomb -> AttackBomber.
2013-11-01 17:47:30 +13:00
Paul Chote
d7effe71da
Add squad and quantisation support to AirstrikePower.
2013-11-01 17:45:21 +13:00
Paul Chote
0b560bfc6e
Move more viewport lookups to WorldRenderer.
2013-10-05 21:01:21 +13:00
Matthias Mailänder
b2d37ba754
play launch / incoming sounds in air strike power, too
2013-08-22 21:40:37 +02:00
Matthias Mailänder
ac6227b4d1
split nuke announcements based on ally (and observer) / enemy
...
instead of me / everyone else
2013-08-22 21:40:36 +02:00
Matthias Mailänder
d8b0c0d440
added support for nuke launch sound to confirm strike
...
separated into IncomingSound = "nuke approaching/detected"
and changed LaunchSound into "nuke lauched"
also nuke with small L .aud in cnc rules looks like a typo
2013-08-22 21:40:36 +02:00
Matthias Mailänder
efb55d4cb9
read support power icons from sequences
...
so that d2k can grab them from DATA.R8
2013-08-17 23:31:22 +02: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
805b4b6258
Change IRenderable.WithPos -> OffsetBy.
...
This is more appropriate for the actual use cases.
Fixes #3621 .
2013-08-03 11:16:52 +12:00
ScottNZ
b519c915ca
Add public atom bomb and gps timers to RA
2013-07-17 14:52:50 +12:00
ScottNZ
8bec40eb9b
Move SupportPowerInstance out of SupportPowerManager
2013-07-14 22:40:38 +12:00
Paul Chote
11cebddaa9
Convert Sound.Play* to WPos.
2013-07-11 17:37:27 +12:00
Paul Chote
d0bed06765
Use WVec overload of Util.GetFacing where possible.
2013-07-08 21:52:27 +12:00
Paul Chote
7beef85a64
Use PaletteReferences everywhere.
2013-06-15 19:16:08 +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
170e14546a
Convert NukeLaunch to world coordinates.
2013-05-17 18:12:29 +12:00