Matthias Mailänder
167ba72119
Merge pull request #7246 from Hellhake/stylecop-ra
...
Fix StyleCop warnings in OpenRA.Mods.RA
2015-01-02 16:38:22 +01:00
Hellhake
b6410bc1e0
Fix StyleCop warnings in OpenRA.Mods.RA
2015-01-02 14:39:49 +01:00
Hellhake
fa72e04042
Remove BOM
2015-01-01 22:51:12 +01:00
reaperrr
d58807cdb8
Dissolve RA.Buildings namespace.
...
Move a handfull related, loose traits to RA.Traits as well.
2014-12-26 21:38:46 +01:00
reaperrr
ffca040c47
Moves traits from Common and Power namespaces to Common.Traits namespace
2014-12-11 23:21:31 +01:00
reaperrr
0cbcae93a9
Move Valued, CustomSellValue and CustomBuildTimeValue to Common
2014-11-14 01:01:46 +01:00
Taryn Hill
da001385ae
Added some trait [Desc()]s.
2014-07-12 13:31:14 -05:00
Matthias Mailänder
e8bccc33c6
StyleCop
2014-07-01 22:07:15 +02:00
Matthias Mailänder
392b77647d
this does not make any sense
...
with 0 HP you also can not a single dude
2014-07-01 22:07:15 +02: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
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12: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
61db3b3965
Kill HPFraction
2011-04-12 08:42:13 +12:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Bob
480c5edd75
move Building et al into Mods/
2010-11-06 11:05:45 +13:00
Bob
ae703d50b2
Actor.traits is implementation detail
2010-08-14 17:39:49 +12:00
alzeih
578d42614b
Convert all CreateActor calls to use TypeDictionary
2010-08-02 01:51:13 +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
Chris Forbes
d5f12dd8ee
trim down license spam in all files
2010-07-18 16:48:21 +12:00
Chris Forbes
5bec019d55
add RALint checking to nearly everything
2010-07-01 18:57:10 +12:00
Chris Forbes
996344ea6e
fix crash in EmitInfantryOnSell when destroying things that are not Valued
2010-05-27 22:02:36 +12:00
Chris Forbes
248eba20fa
EmitInfantryOnSell moved to RA
2010-05-20 17:56:44 +12:00