Alexander Fast
070d00c678
Fixes year numbers in license text in file headers.
2014-08-21 11:27:52 +02:00
ScottNZ
058185754e
Remove Infiltratable trait and refactor surrounding code to use target types
2014-08-02 22:31:46 +12:00
ScottNZ
6b85660d7d
Compact lambda expressions in some (not all) places
2014-06-15 22:14:38 +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
Paul Chote
c333b59eb9
Cache trait lookups in MoveAdjacentTo.
2014-01-12 22:09:11 +13:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
ScottNZ
9eff54c217
Add MAD Tank and InvalidTargets field to WeaponInfo
2013-11-02 17:19:08 +13:00
Paul Chote
80870dcca8
Enable frozen order: DemoAttack.
2013-08-12 21:34:19 +12:00
Matthias Mailänder
d2c1c8a629
Added missing target line for DemoAttack
...
fixes #3122
2013-04-21 19:36:30 +02:00
Paul Chote
4ca777597f
Replace UnitTraitOrderTargeter with TargetTypeOrderTargeter.
...
This also makes naval buildings untargetable for c4 and demo trucks, as they don't make much sense.
2013-04-15 23:10:57 +12:00
Chris Forbes
4888732fb7
fix reversed ordernames in DemoTruck
2012-09-24 20:24:35 +12:00
Chris Forbes
3079e2b488
fixed Explodes dep on demotruck
2012-09-24 20:22:36 +12:00
Curtis Shmyr
34d96878b8
Added demo truck to soviet's arensal; still problems to fix
2012-09-24 20:08:56 +12:00
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Paul Chote
1c2574f4f4
Add an INotifyKilled interface, which is what most things that used INotifyDamaged actually cared about.
2011-04-16 10:58:35 +12:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Paul Chote
3d1d4a1aff
AOE Chronosphere
2010-11-23 21:39:31 +13:00
Chris Forbes
1db3ce4b59
some usings cleanup
2010-11-21 12:25:22 +13:00
Matthew Bowra-Dean
f6df7a06f2
fixes #323
2010-10-21 07:43:52 +13:00
Bob
5561ac458b
finished TraitDictionary. Refactored permanent actor-removal.
2010-08-26 19:33:56 +12:00
Bob
ae703d50b2
Actor.traits is implementation detail
2010-08-14 17:39:49 +12:00
Paul Chote
207ee49da3
Move Facing and Altitude onto IMove impls, with associated pile of cleanups
2010-08-01 01:01:31 +12:00
Chris Forbes
9a218f7b52
GetPrimaryWeapon() dies too.
2010-07-31 21:34:24 +12:00
Paul Chote
1459ec483c
Rename ExtendedDamageState -> DamageState
2010-07-30 22:24:43 +12:00
Paul Chote
028c5b5201
Merge the two DamageState types
2010-07-30 22:24:43 +12:00
Paul Chote
6fba888d45
Shift Actor.Health onto a trait.
...
Known regressions:
- cnc only
- health bar colors
- can't repair buildings
2010-07-30 00:33:44 +12:00
Paul Chote
5776d351b4
Fix Monodevelop build; remove Aftermath project.
2010-07-25 14:55:44 +12:00