huwpascoe
804cdee8f0
BugFix: harvester-carryall remote death
...
The d2k harvester would suddenly explode if the approaching carryall was
destroyed. This is because there was no distinction between the unit being
carried and the unit being reserved. To test you'll probably have to tweak
the turret missile in weapons.yaml so you can forcefire on the carryall.
* added a bool to check if carryall is actually holding it's target
* fixed harvester being stuck in reserved mode
2015-02-03 22:43:35 +00:00
Matthias Mailänder
bcda232a1c
Merge pull request #7231 from RoosterDragon/linq-checks
...
Checked LINQ queries and collections for inefficiencies.
2015-02-01 08:56:15 +01:00
Matthias Mailänder
89a5facb14
fix SP2000
2015-01-31 11:07:06 +01:00
Matthias Mailänder
7592f7d6fb
Merge pull request #7342 from LipkeGu/Draw_sprite_crash
...
Do not try to draw "null" sprites
2015-01-31 10:55:26 +01:00
RoosterDragon
82bea961ba
Checked LINQ queries and collections for inefficiencies.
...
- Made Array.IndexOf available via extension method.
- Made ToHashSet extension method.
- Change collections queried often via Contains into sets.
- Avoid Count() extension if Count or Length property exist.
- Made Count() > 0 checks and variations calls to Any() instead.
- Don't call ToList/ToArray if there is no benefit to materializing the sequence.
- If the sequence does benefit from materialization, follow this general pattern:
- Collection queried often via Contains use ToHashSet to speed up lookups.
- Short lived variables use ToList. This is because ToArray requires an extra copy to output the final size.
- Collections persisted into fields or for a long time use ToArray to minimize memory overhead.
2015-01-29 19:20:11 +00:00
Guido L.
8d6722be2d
Do not try to pass "null" sprites
2015-01-18 03:41:10 +01:00
penev92
a4a8a793df
Add EnemyWatcher trait to D2k and AnnounceOnSeen to D2k units and sandworms; remove sandworm announcement on worm spawn
2015-01-17 14:41:23 +02:00
reaperrr
be9d37f30e
Moves SupportPowers and related Widgets to Mods.Common
2015-01-15 13:18:11 +01:00
penev92
e6f1c6b460
Enhance sandworm targeting logic by having actors produce noise
2015-01-14 21:26:55 +02:00
reaperrr
5b8c97ae37
Move OrderGenerators to Mods.Common
2015-01-11 03:04:40 +01:00
reaperrr
0e1773ac5d
Move Production to Mods.Common
2015-01-11 03:04:39 +01:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
Matthias Mailänder
89b2f4d5d3
Merge pull request #7217 from Mailaender/chrome-init-cleanup
...
Cleaned up the ingame widget initialization
2015-01-08 07:40:36 +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
d4d55bb6dc
modularize the remaining legacy ingame interface widgets
...
and consolidate chrome root initialization
2015-01-04 17:57:38 +01: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
Matthias Mailänder
d2d715765c
Merge pull request #7263 from reaperrr/ra-common26
...
Moved Armament, Attack, Move, Air features and dependencies to Mods.Common
2015-01-04 15:33:16 +01:00
reaperrr
cb3ba37462
StyleCop fixes
2015-01-04 15:02:19 +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
Matthijs Benschop
3c49364b57
Fix harvesters doing nothing after being dropped of by a carryall
2015-01-03 22:44:41 +01:00
Matthijs Benschop
740595064a
The carryable should not unreserve itself
2015-01-03 22:44:41 +01:00
Matthijs Benschop
0868558e94
Allow a carryable to change his destination after being reserved
2015-01-03 22:44:41 +01:00
Oliver Brakmann
ce41c60a40
Merge pull request #7244 from Hellhake/bom
...
Remove BOM
2015-01-02 12:11:27 +01:00
Hellhake
fa72e04042
Remove BOM
2015-01-01 22:51:12 +01:00
Matthias Mailänder
3835aec17f
add an attack overlay for the sand worm
2015-01-01 14:53:04 +01:00
Paul Chote
df425b29b3
Merge pull request #7194 from reaperrr/move-ra-common25
...
More Mods.RA reorganisation, more files moved to Mods.Common
2015-01-01 16:39:26 +13:00
Oliver Brakmann
de0a62eb42
Add a lobby option to control spawning creeps (viceroids/worms)
...
The lobby option is only exposed in d2k currently, not in TD or TS.
2014-12-28 19:26:39 +01:00
reaperrr
311e347ad2
Style fixes
2014-12-26 22:10:52 +01:00
reaperrr
9dfd369446
Move some Building traits and related elements to Mods.Common
2014-12-26 21:38:49 +01:00
reaperrr
2f67a88b93
Move Armament, Attack* and various other traits to Traits namespace
2014-12-26 21:38:48 +01:00
reaperrr
51fe951cd6
Move SupportPowers to Traits namespace
2014-12-26 21:38:47 +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
Paul Chote
288a89168f
Fix d2k naming style nits.
2014-12-26 12:13:10 +13:00
Paul Chote
2726108cff
Fix d2k spacing and ordering style nits.
2014-12-26 12:13:09 +13:00
Paul Chote
91807cb53c
Remove redundant StyleCop definitions.
2014-12-25 10:10:57 +01:00
Paul Chote
3086cc6154
Disable SA1024 and SA1035.
...
These rules generate many false positives, and do not help with code readability within OpenRA.
2014-12-25 10:10:57 +01:00
penev92
681042caec
Further RA project cleanup
2014-12-23 15:18:07 +02:00
reaperrr
070a3839d4
Remove obsolete D2k sln
...
Closes #7163 .
2014-12-22 18:13:31 +01: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
reaperrr
c19d096d92
Bring Mods.D2k in line with our new folder/namespace structure
2014-12-17 13:10:50 +01:00
reaperrr
ee8e1f46c1
Move 'Activity' into its own namespace in OpenRA.Game.
2014-12-14 17:12:46 +01:00
Matthias Mailänder
9e650adef8
implement Ordos nerve gas missiles as warheads
...
closes #2838
2014-12-14 16:03:16 +01:00
Paul Chote
ebdb260650
Fix style issues from a recent PR.
2014-12-14 11:31:04 +13:00
Paul Chote
a50ccd1020
Remove the AttackSwallow Info field overloading.
2014-12-14 10:49:35 +13:00
penev92
f57625f9e6
Add WormAttack notification, fix worm min count and spawn interval
...
Enhance usage of WormManager Minimum and Maximum properties, add escape radius to AttackSwallow
2014-12-13 14:06:56 +02:00
penev92
b4d1a605da
Add RadarPing on worm spawn, fix wandering issue, add new Wormspawner.shp
2014-12-13 14:02:45 +02:00
penev92
61cb74adb4
Improved visuals, added WormSign norification
2014-12-13 14:02:44 +02:00
penev92
c4efd269d4
Step three in implementing sandworms
...
Removed/fixed comments
Code style fixes
Fixed AttackWander, addressed style nits
Fix Travis crash
2014-12-13 14:02:44 +02:00