Matthias Mailänder
a38d43019a
new setting to allow unlucky paratroopers
2014-07-05 09:13:51 +02:00
Matthias Mailänder
1a0bb726e6
document for modders
2014-07-05 09:13:51 +02:00
Matthias Mailänder
8f805248ca
StyleCop
2014-07-05 09:13:51 +02:00
Paul Chote
d7f1b1c9e2
Remove CVec -> WVec conversion.
2014-06-27 23:30:41 +12:00
Paul Chote
9487f49cd5
Replace WPos.ToCPos -> Map.CellContaining.
2014-06-27 23:30:40 +12:00
Paul Chote
7b52fa52b6
Replace CPos.CenterPosition -> Map.CenterOfCell.
2014-06-27 23:30:40 +12:00
Paul Chote
086ec07eb6
Add World parameter to Target.FromCell.
2014-06-27 23:30:40 +12:00
Paul Chote
e4ea012b9e
Add World parameter to Target.FromOrder.
2014-06-27 23:30:40 +12:00
Paul Chote
5560f276ca
Map: Rename IsInMap -> Contains.
2014-06-27 22:07:03 +12:00
Paul Chote
7d24053f52
Introduce Order.SuppressVisualFeedback to cleanly disable flashes.
2014-06-26 23:14:13 +12:00
RoosterDragon
22abf9b4c4
Remove and sort usings.
2014-06-18 21:43:35 +01:00
Paul Chote
1db1a1b324
Fix a typo in ITechTreeElement.
2014-06-15 22:49:52 +12:00
Paul Chote
2180e1f3f1
Allow support powers to require tech prerequisites.
2014-06-15 22:49:52 +12:00
ScottNZ
90894aa03e
Use var everywhere
2014-06-15 22:17:34 +12:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
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