abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
RoosterDragon
a6cda967c2
Formatted all files.
...
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
2015-01-06 21:28:50 +00:00
Hellhake
5a97a4b63b
Fix StyleCop warnings in OpenRA.Game
2015-01-02 12:11:01 +01:00
huwpascoe
db126ce1b6
Reimplemented TraitsInConstructOrder()
2014-10-29 20:37:14 +00:00
Alexander Fast
070d00c678
Fixes year numbers in license text in file headers.
2014-08-21 11:27:52 +02: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
Paul Chote
f6f366c4b3
Merge pull request #5401 from RoosterDragon/nodesdict
...
Changed MiniYaml.NodesDict property into a method.
2014-06-12 17:34:59 +12:00
RoosterDragon
e63f330717
Improved efficiency of startup methods.
...
- ShpReader will copy the input stream into memory just once rather than for every header.
- ShpReader.CopyImageData switched to use Array.Copy since that uses some unsafe magic for speed.
- In ActorInfo, cache a GetType call and prevent needless materialization in PrerequisitesOf.
- In ObjectCreator, cache type and ctor lookups since these are expensive and often repeated.
- Implement IReadOnlyDictionary<T, U> on Cache<T, U> to provide some supplementary functions.
- In TechTree.GatherOwnedPrerequisites, rearrange a Boolean 'and' expression to evaluate expensive functions later in the chain, and use ContainsKey to speed up name check.
2014-06-09 17:13:01 +01:00
RoosterDragon
2e992a7310
Changed MiniYaml.NodesDict property into a method.
...
Method is now called ToDictionary.
- Cached a few invocations into locals which should prevent some redundant evaluation.
- Added ToDictionary overloads that take projection functions for the keys and elements, since several callsites were doing a subsequent Linq.ToDictionary call to get this.
2014-06-09 17:06:42 +01:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Scott_NZ
a25aa23805
radoc tidy
2013-03-22 18:12:47 +13:00
Matthias Mailänder
c731a7960e
embed the previously manually edited outdated documentation
...
from https://github.com/OpenRA/OpenRA/wiki/Trait-Documentation
2013-03-20 21:20:27 +01:00
Chris Forbes
3d8dc80f03
complain about junk values like the recent volkov breakage
2012-09-04 10:55:26 +12:00
Chris Forbes
6cb8ee1f9f
expose appropriate *Inits, and make them work in editor
2011-11-06 18:17:13 +13:00
Chris Forbes
9b5c7c2379
remove dead GetInheritanceChain in ActorInfo
2011-11-06 11:09:30 +13:00
Chris Forbes
564fdd650d
add mechanism for traits to export the *Inits they can use
2011-11-05 12:29:55 +13:00
Chris Forbes
f83c9fd4d7
add IEnum<T>.JoinWith, use it to clean up a bunch of things
2011-11-01 21:57:58 +13:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
ddc1311d87
Make RenderUnit require IFacing; RenderSimple can be used for crates, mines, etc; fix husk facing init
2011-08-09 08:51:35 +12:00
Chris Forbes
d86e0ec522
rename ITraitPrerequisite<T> to Requires<T>
2011-05-04 18:02:35 +12:00
Chris Forbes
ca81871b7b
fix broken merging of yaml overrides in maps; we now have a strict mode and a liberal mode.
2011-04-09 10:55:54 +12:00
Paul Chote
b0425aff3b
Renormalize line endings and fix copyright headers again.
2011-04-07 21:15:42 +12:00
Chris Forbes
55c609ee16
fix bug 609 -- removing traits that arent on an actor is an error.
2011-04-05 21:26:32 +12:00
Chris Forbes
1af23079eb
make it crash nicely when you inherit from a bogus actor type
2011-04-04 11:14:07 +12:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Chris Forbes
13d76f8e9c
removed editor -> ra dep; added EditorAppearance for inconvenient bits that the editor must have _some_ understanding of, but can't see
2010-11-06 15:10:29 +13:00
Bob
2f92b873e8
make yaml into a list, rather than a dict
2010-08-30 12:22:09 +12:00
Paul Chote
226fd167e7
Category dies in a fire
2010-08-27 00:32:00 +12:00
Bob
970eb4d6e1
use the new actorinit stuff when loading map yaml
2010-08-01 19:38:42 +12:00
Chris Forbes
d5f12dd8ee
trim down license spam in all files
2010-07-18 16:48:21 +12:00
Chris Forbes
ba850ec3f1
improve error message in ActorInfo.TraitsInConstructOrder
2010-05-27 22:17:15 +12:00
Bob
7deefc5246
debug (timing) spam, and perf fixed on SupportPower
...
Build timing (un)hacked by chrisf
2010-05-16 22:23:36 +12:00
Chris Forbes
3d0b0dc82b
clean that up...
2010-04-04 13:04:39 +12:00
Chris Forbes
b4f5baf1a7
load ALL the weaponinfo properly
2010-04-02 16:44:40 +13:00
Chris Forbes
58041f1b45
fixed.
2010-03-19 20:07:58 +13:00
Paul Chote
928c3a69c0
Refactoring
2010-03-15 21:17:08 +13:00
alzeih
7881deca30
Everything is now OpenRA, not OpenRa
2010-02-27 21:10:22 +13:00