Commit Graph

70 Commits

Author SHA1 Message Date
Paul Chote
94f22638be Add an upgrade rule. 2015-04-27 19:47:12 +12:00
abcdefg30
c4a63eee30 Merge pull request #7875 from penev92/bleed_exposePlayerReferences
Add upgrade rules support for map PlayerReferences
2015-04-26 22:53:42 +02:00
penev92
2402b56da7 Reorganize PlayerReference loading to enable upgrade rules for them.
The PlayerReference definitions are now stored
as raw MiniYamlNodes in the map.
2015-04-26 23:16:20 +03:00
penev92
36abf2ac41 Add an upgrade rule for TakeCover 2015-04-26 14:29:12 +03:00
penev92
ea01439377 Add an upgrade rule for DamageWarheads 2015-04-26 14:29:10 +03:00
Paul Chote
8f93d7b5d7 Simplify and fix animation glitches. 2015-04-25 22:52:14 +02:00
Matthias Mailänder
b07d125d18 add an upgrade rule 2015-04-25 22:52:14 +02:00
Matthias Mailänder
4cc016c3d0 remove unused oldLength
closes #7808
2015-04-01 19:43:56 +02:00
Paul Chote
84e85d8a5d Rename Image -> Images. 2015-03-30 20:20:36 +01:00
Paul Chote
4be5334a0e Add support for TS-style random tile variants. 2015-03-30 19:44:53 +01:00
Paul Chote
b2458fc614 Remove GlobalFilesystem.OpenWithExts. Closes #5272. 2015-03-28 12:38:48 +00:00
reaperrr
33cb4fe3e1 Projectile refactoring upgrade rules 2015-03-27 00:11:31 +01:00
Pavel Penev
c61dc48548 Merge pull request #7324 from reaperrr/limitedammo2
Refactored LimitedAmmo to AmmoPool
2015-03-26 15:59:56 -07:00
reaperrr
c51afd837c Upgrade rules for LimitedAmmo -> AmmoPool refactoring 2015-03-26 23:21:02 +01:00
Paul Chote
ec77e15e54 Add a utility command to fix implicit tile definitions. 2015-03-23 20:32:28 +00:00
Paul Chote
a69145caf0 Add a utility command for checking sequences. 2015-03-22 12:48:51 +00:00
Paul Chote
4ea55809ca Decompose RenderInfantry into WithInfantryBody and RenderSprites. 2015-03-21 13:04:17 +00:00
Matthias Mailänder
7be8c4461b Merge pull request #7405 from Rydra/upstream/int2immutable
Made int2 class immutable
2015-03-20 16:03:46 +01:00
David Jiménez
f15f1e41e8 Made int2 struct immutable 2015-03-20 13:54:01 +01:00
RoosterDragon
1515ac54f6 Enforce a line length limit. 2015-03-19 17:20:34 +00:00
Taryn Hill
1e0612ddf0 Change SoundOnDamageTransition to randomly select
from a string[] instead of a single string.
2015-03-12 16:09:11 -05:00
Taryn Hill
a5bbb60db9 Remove unnecessary newline from output.
Make required trait strings a hyperlink.
2015-03-10 00:20:40 -05:00
Paul Chote
f4e94f9f60 Merge pull request #7318 from reaperrr/remove-percellwh
Removed PerCellDamageWarhead
2015-02-20 17:15:28 +00:00
penev92
da425f47e7 Initial implementation of D2k legacy map importer
Improve error handling; fix utility command description

Revert output location to working directory for both map importers

Rework how the map tiles get populated

Remove actor comments
2015-02-18 13:16:32 +02:00
Igor Popov
5bcd56eb9d Merge pull request #7439 from ScottNZ/fix-map-import
Fix map importer using the map title as the output filename.
2015-02-17 09:47:01 +03:00
reaperrr
89527962dd Upgrade rule for PerCellDamage removal 2015-02-17 01:33:23 +01:00
Paul Chote
2d31e12bb9 Add --replay-metadata utility command. 2015-02-15 08:58:59 +00:00
ScottNZ
61de2a2312 Fix map importer using the map title as the output filename.
This is broken because the map title can make an invalid filename.
2015-02-15 00:04:38 +13:00
ScottNZ
582b6635ff Brace style fixes 2015-02-13 02:32:49 +13: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
RoosterDragon
7ad58a3e3d Revert "don't check auto-generated code"
This reverts commit 47e2d9d623.
2015-01-31 12:46:47 +00: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
Matthias Mailänder
47e2d9d623 don't check auto-generated code 2015-01-25 18:40:44 +01:00
penev92
828614d0f0 Add YAML upgrade rule 2015-01-25 17:17:35 +02:00
Oliver Brakmann
1f048b64ac Add upgrade rule for PlayMusicOnMapLoad removal 2015-01-25 14:44:13 +01:00
reaperrr
f3d364877a Moves the last 3 UtilityCommands and some prerequisite references to Mods.Common 2015-01-15 22:39:41 +01: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
Oliver Brakmann
75808c365a Merge pull request #7269 from abcdefg30/general-polish
Some general polish
2015-01-04 16:54:37 +01:00
Matthias Mailänder
bc3acfeee7 StyleCop clean OpenRA.Game 2015-01-04 15:38:54 +01:00
abcdefg30
98aed777d0 Improved legacy map import
Health: 1 and Facing: 0 will be omitted.
2015-01-04 13:06:05 +01: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
Matthias Mailänder
1c90199fb0 one everything is fine per project is enough 2015-01-02 18:41:11 +01:00
Matthias Mailänder
7b5b14e0cf remove the spammy exit 0 output 2015-01-02 18:41:11 +01:00
Hellhake
fa72e04042 Remove BOM 2015-01-01 22:51:12 +01:00
Paul Chote
f4055dae53 Add --check-code-style utility command. 2014-12-25 10:18:20 +01:00
Paul Chote
ecd4479807 Move OpenRA.Lint into a --check-yaml utility command. 2014-12-25 10:10:57 +01:00
Paul Chote
380b0e1561 Capitalise cursor properties. 2014-12-23 22:09:21 +13:00
Paul Chote
2ed594fd86 Introduce map Visibility field.
This replaces the Selectable, UseAsShellmap, and special-cased Type = "Mission" fields.
2014-12-23 09:08:00 +13:00
Paul Chote
5b011e6baf Merge pull request #7072 from obrakmann/fmv-overhaul
Move FMV playback from Lua scripts to widgets
2014-12-19 17:43:07 +13:00