penev92
202e280551
Fix OreRefinery and TiberiumRefinery names
2015-01-25 16:58:03 +02:00
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
Matthias Mailänder
1b0e3a7a7f
StyleCop clean OpenRA.Mods.RA
2015-01-04 17:02:46 +01:00
Matthias Mailänder
bc3acfeee7
StyleCop clean OpenRA.Game
2015-01-04 15:38:54 +01:00
reaperrr
654f56c5d5
Moves Attack, Armament, Move, Air traits and activities as well as anything required by them to Mods.Common.
...
Extracts Exit from Production into its own trait.
2015-01-04 05:24:28 +01:00
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
9dfd369446
Move some Building traits and related elements to Mods.Common
2014-12-26 21:38:49 +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
penev92
681042caec
Further RA project cleanup
2014-12-23 15:18:07 +02:00
reaperrr
5c5210f5e3
Dissolve Move namespace into Activities & Traits
2014-12-22 17:32:08 +01:00
reaperrr
2d7c1a3394
Rename CommonTraitsInterfaces to TraitsInterfaces, move to Traits namespace
2014-12-19 13:18:36 +01:00
penev92
1e9535b63a
Move more files
...
Move VoxelNormalsPalette to TS
2014-12-14 15:39:38 +02:00
reaperrr
ffca040c47
Moves traits from Common and Power namespaces to Common.Traits namespace
2014-12-11 23:21:31 +01:00
atlimit8
92779cc496
Support multiple Power traits
2014-12-04 14:19:50 -06:00
reaperrr
7470391c5d
Move RA World traits, FrozenUnderFog Modifier and various other traits into Traits
2014-12-03 12:52:17 +01:00
huwpascoe
a660bb95b5
Actor properties consistency improved
2014-11-21 02:44:05 +00:00
reaperrr
127969d014
Move Air activities and traits to Activities\Air and Traits\Air, respectively
2014-11-17 12:56:18 +01:00
Matthias Mailänder
bad8f70210
Merge pull request #6921 from reaperrr/common-traits01
...
Moved various traits to Mods.Common
2014-11-15 09:41:36 +01:00
Paul Chote
563efd678a
Revert "DevEnableTech now displays from all factions"
...
This reverts commit 5d5f302d07 .
2014-11-15 09:20:04 +13:00
reaperrr
0cbcae93a9
Move Valued, CustomSellValue and CustomBuildTimeValue to Common
2014-11-14 01:01:46 +01:00
reaperrr
477f5aac94
Move Power and PowerdownIndicator effect to Mods.Common
2014-11-06 18:43:00 +01:00
huwpascoe
5d5f302d07
DevEnableTech now displays from all factions
2014-10-19 20:28:29 +01:00
atlimit8
31a096dcf1
HashSet<byte> => BitArray resourceTypeIndices
...
BitArray can store 256 bits in 32 bytes plus overhead (pointer & length),
which gives it better memory locality too (<= 2 locations in memory).
Also, the actual count will be much less, probably at most around a dozen.
This might not impact performance, but the AI is dumb & HashSet<byte> is
clearly inefficient.
2014-10-09 20:03:25 +01:00
RoosterDragon
59b3cd154d
Change indexes into tile arrays to be stored as bytes to save memory.
...
The index value needs only be big enough to handle all defined terrain types. This is a low number so we can save memory by defining it as a byte. This particularly saves memory for the CustomTerrain field in the Map class, which defines a cell layer for the map using tile indexes, so we can reduce the size of that layer 4x as a result.
2014-10-09 20:03:01 +01:00
steelphase
3c60794e2e
Mods.Common Effects
...
Moved over more effects to Mods.Common
2014-10-06 01:57:10 -04:00
jonathanmiles
b9867004cb
AI no longer calls support power on things it can't target (e.g. cloaked stealth tanks)
2014-09-17 21:52:08 +01:00
ScottNZ
cc15d859e2
Have AI account for power outages
2014-08-27 18:45:09 +12:00
ScottNZ
b70395e27c
Refactor more power and infiltration stuff. Create new power sabotage ability for spies in ra and ts.
2014-08-27 18:45:09 +12:00
UberWaffe
a1e51b71d6
AI Support Power Meta Data implemented.
...
Changes included:
Decision can be defined for the AI support powers, governing their targeting.
Each decision can be made up of multiple considerations.
2014-08-23 12:01:30 +02:00
Alexander Fast
070d00c678
Fixes year numbers in license text in file headers.
2014-08-21 11:27:52 +02:00
UberWaffe
1375e56a32
Fixes D2K AI constantly repairing weather damage.
2014-08-13 16:13:34 +02:00
Taryn Hill
b6fd757672
Merge pull request #6030 from UberWaffe/CustomWarheads
...
Custom Warheads refactor
2014-08-03 10:35:36 -05:00
UberWaffe
c972b39687
Custom Warheads refactor
...
Changes included:
Warhead code split out of weapon code and refactored.
Warhead functionality now split into several classes, each handling one effect/impact.
Additional custom warheads can now be defined and called via yaml.
Custom warheads inherit the abstract class Warhead,
which provides target check functions.
Custom warheads have to define their own impact functions,
and can also define their own replacement for check
functions.
2014-08-03 17:10:44 +02:00
ScottNZ
692e3a9c88
Move Power out of Building and into its own trait
...
Conflicts:
mods/ts/rules/structures.yaml
2014-08-03 18:53:51 +12:00
UberWaffe
b67a17add0
Fix AI not repairing buildings if struck by support powers.
2014-07-27 12:58:52 +02:00
Cr0s
0f363d4c0f
Fixed typo in HackAI building placement code
2014-07-11 05:44:45 +04:00
Paul Chote
a46baeaf2b
Reorganise AI base building logic.
...
- Now obeys defined structure percentages and limits.
- Faster.
- More readable and maintainable code.
2014-07-09 17:50:14 +12:00
Paul Chote
c8bd8336f7
Remove super-spammy debug messages.
2014-07-09 17:50:14 +12:00
Oliver Brakmann
33b916a713
Fix RepairBuilding not working for AI and Lua scripts
...
Fixes #5861
2014-07-07 19:43:52 +02:00
Matthias Mailänder
1e2e7bcf42
StyleCop
2014-07-05 09:00:20 +02:00
Matthias Mailänder
79dd9a9c6b
get rid of the RallypointTestBuilding hack
2014-07-04 14:57:34 +02:00
Paul Chote
ce99f02ba6
Merge pull request #5678 from pavlos256/find-tiles-in-circle
...
Fix and optimize FindTilesInCircle
2014-07-04 10:27:37 +12:00
Pavlos Touboulidis
daed053a57
Fix and optimize FindTilesInCircle
2014-07-03 18:11:28 +03:00
Matthias Mailänder
5130723fcd
remove the overly complicated configurable MCV actor name hack
2014-06-28 15:17:06 +02:00
Matthias Mailänder
aae428be2b
throw with a more helpful error than NullReferenceException
...
closes #5622
2014-06-28 15:17:05 +02: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