Commit Graph

15227 Commits

Author SHA1 Message Date
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
Oliver Brakmann
6468c0b6e6 Merge pull request #7266 from reaperrr/stylecop-make
Add StyleCop checks for Game, Editor and Mod dlls to make.ps1
2015-01-06 21:05:36 +01:00
Matthias Mailänder
eef3c548b8 Merge pull request #7286 from abcdefg30/d2kfix
Closes #7283
Closes #7285
2015-01-06 20:44:41 +01:00
abcdefg30
84c2fdf9a9 Remove Buildable: from corrino buildings 2015-01-06 11:53:35 +01:00
abcdefg30
72a8951738 Fix sardaukars targeting air units 2015-01-06 11:43:11 +01:00
reaperrr
dd90409b3d Document make check in Makefile 2015-01-05 20:49:20 +01:00
reaperrr
192ae175a6 Add StyleCop checks for mod dlls to make.ps1 2015-01-05 20:49:19 +01:00
Matthias Mailänder
e353fe5263 Merge pull request #7271 from reaperrr/ra-common27
Moved more traits & activities to Mods.Common
2015-01-05 20:35:21 +01:00
Oliver Brakmann
6a0363d482 Merge pull request #7265 from pchote/fix-lag-crash
Fix a race condition in the map download code.
2015-01-05 18:44:13 +01:00
Oliver Brakmann
58dc61e6ed Merge pull request #7262 from RoosterDragon/actormap-partitioning
Fix ActorMap spatial partitioning to actually work.
2015-01-04 18:48:01 +01:00
reaperrr
573c26145e Move Render*Circle, ThrowsParticle and ParatroopersPower to appropriate locations 2015-01-04 18:12:11 +01:00
reaperrr
7a8826f5e0 Move Targetable*, Seeds/StoresResource(s) and two RenderBuilding traits to Mods.Common 2015-01-04 18:12:10 +01:00
reaperrr
b7a3b9fdbf Move ScaredyCat, TakeCover, RenderInfantry, WithBuildingExplosion and SpawnMPUnits as well as Hunt activity to Mods.Common. 2015-01-04 18:12:09 +01:00
reaperrr
d07db9c6a9 Move Guard, CashTrickler, Explodes, SelfHealing, Sellable and Crushable to Mods.Common.
Extract Guardable trait from Guard into own file.
2015-01-04 18:12:08 +01:00
Oliver Brakmann
dbbc790dab Merge pull request #7270 from Mailaender/mods-ra-stylecop
StyleCop clean OpenRA.Mods.RA and enforce rules with Makefile
2015-01-04 17:45:20 +01:00
Oliver Brakmann
302cf44f5a Merge pull request #7267 from atimoschenkow/fix-selection-after-radar
Selection rectangle is drawn after exiting radar widget while dragging the viewport
2015-01-04 17:23:08 +01:00
atimoschenkow
831f19e993 A selection box is drawn if the mouse exits the radar widget while dragging the viewport.
These changes prevent this side effect.
2015-01-04 17:06:50 +01:00
Matthias Mailänder
1b0e3a7a7f StyleCop clean OpenRA.Mods.RA 2015-01-04 17:02:46 +01:00
Oliver Brakmann
75808c365a Merge pull request #7269 from abcdefg30/general-polish
Some general polish
2015-01-04 16:54:37 +01:00
reaperrr
2691f16a81 Merge pull request #7268 from Mailaender/stylecop-game-final
StyleCop clean OpenRA.Game Part 2 and enforce rules with Makefile
2015-01-04 15:47:54 +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
Oliver Brakmann
580e0fc0df Merge pull request #7147 from penev92/bleed_enrichDune2kResources
Add more resources to the D2k mod
2015-01-04 14:18:38 +01:00
Oliver Brakmann
4cdf1b73c4 Merge pull request #7167 from MatthijsBenschop/d2k-carryall-extras
Some carryall fixes
2015-01-04 14:11:13 +01:00
abcdefg30
4fed02cd74 Make health bars 2 pixels shorter 2015-01-04 13:07:55 +01:00
abcdefg30
be5fc0bc27 Return from skirmish lobby to singleplayer menu instead of main menu 2015-01-04 13:06:06 +01:00
abcdefg30
f2e224dd72 Fix a crash in RemoveProximityTrigger 2015-01-04 13:06:06 +01:00
abcdefg30
98aed777d0 Improved legacy map import
Health: 1 and Facing: 0 will be omitted.
2015-01-04 13:06:05 +01:00
abcdefg30
e4c562ca53 Oppress undesired messages about difficulty changes 2015-01-04 13:06:04 +01:00
Paul Chote
a7ae72a7bb Fix a race condition in the map download code.
Fixes #7264.
2015-01-04 19:25:43 +13: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
RoosterDragon
a0737ccbf3 Fix ActorMap spatial partitioning to actually work.
The bin partitioning in ActorMap worked by dividing the map up into a few chunks of cells, each of which would contain some actors. Unfortunately, the bins were accessed directly in world coordinates which are on a scale 1024x greater than cell coordinates. This lead to all actors being placed into the bottom right bin. When checking for actors in a box, only this bottom right bin would be iterated for actors. Thanks to the fact this bin indeed contained all the actors, some clamps on the input ranges and filtering required per bin anyway, this actually returned correct results. Effectively, it was as if there was no spatial partitioning at all.

Not surprisingly however, this is fairly inefficient. By correcting the spatial partitioning to actually partition we see a 7x speedup in ActorsInBox on the RA shellmap.
2015-01-04 02:35:16 +00:00
Oliver Brakmann
9e0bd02e39 Merge pull request #7253 from Mailaender/utility-check-verbosity
Tweaked the StyleCop utility output
2015-01-04 01:06:43 +01:00
Oliver Brakmann
158517c09f Merge pull request #7251 from Mailaender/stylecop-clean-game
StyleCop cleaned OpenRA.Game Part 1
2015-01-04 01:00:56 +01:00
reaperrr
eb33d72a70 Merge pull request #7254 from penev92/bleed_moveFiles
Moving more files to Common
2015-01-04 00:46:11 +01:00
Matthias Mailänder
f02e30a797 Merge pull request #7260 from RoosterDragon/fix-pathsearch-cache
Fix broken pathing
2015-01-03 23:52:05 +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
RoosterDragon
c7b4eff89a Ensure the whole path search cache is initialized.
The region covered by map.Cells may not cover the whole map size, but we need the whole cache initialized so it can be used correctly when a different map is used, because that map may have the same size but a different offset which means a different region is covered.
2015-01-03 20:07:04 +00:00
Matthias Mailänder
44cd174a8d StyleCop clean OpenRA.Game 2015-01-03 19:00:48 +01:00
Matthias Mailänder
30a5df46af Merge pull request #7222 from penev92/bleed_wander
Add Wanders trait and make AttackWander inherit that
2015-01-03 15:19:18 +01:00
penev92
62601491ad Move Enter and Repair Building activities, EngineerRepair trait and ActorExts to Mods.Common and extract IgnoresDisguise trait to its own file 2015-01-03 07:03:41 +02:00
penev92
b1e2e5bea6 Move PlayerStatistics to Mods.Common 2015-01-03 07:03:40 +02:00
penev92
0e71580af6 Move DetectCloaked to Mods.Common 2015-01-03 07:03:40 +02:00
penev92
5e1af58bbe Move Gives/Gains Experience and Bounty to Mods.Common 2015-01-03 07:03:28 +02:00
penev92
04c09dda31 Add a delay before wandering, use it on viceroids
Add a Min and Max delay and make it random
2015-01-03 06:56:20 +02:00
penev92
ded8ae9345 Add Wanders trait and make AttackWander inherit that 2015-01-03 06:52:49 +02:00
Matthias Mailänder
0f733d6b0d absolute path is not of relevance and only junking up the logs 2015-01-02 18:41:11 +01:00