Commit Graph

71 Commits

Author SHA1 Message Date
Paul Chote
a3b1baa654 Extract default TileSet/Sequence dictionaries to ModData. 2016-03-11 21:18:32 +00:00
Paul Chote
20e8bc249d Restore support for inline map rules. 2016-03-10 19:27:50 +00:00
Paul Chote
b969d61466 Move advanced map yaml to their own files. 2016-03-08 20:54:54 +00:00
Paul Chote
e71225496b Clarify GPL version. 2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9 Update licence header year. 2016-02-21 16:27:31 +00:00
Paul Chote
d573e21a48 Traits open files via the Map. 2016-02-18 18:12:33 +00:00
Paul Chote
7106d7ecdf Pass ModData to ILintPass. 2016-02-18 18:12:33 +00:00
Paul Chote
34910cd128 Move map format upgrades to an explicit upgrade rule. 2016-02-08 18:53:28 +00:00
Paul Chote
e1c73beede Fix CheckSequences to load via the filesystem. 2016-02-06 21:15:31 +00:00
Paul Chote
ce55b0454e Fix CheckChromeLogic lint test to load via the filesystem. 2016-02-06 21:12:07 +00:00
Paul Chote
ab921682c4 Rewrite yaml merger. 2016-01-30 15:03:56 +00:00
RoosterDragon
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
Paul Chote
124e7b389a Add a lint test for projectile target search radius. 2015-12-30 19:31:59 +00:00
Huw Pascoe
a8299221db Integrated HitShapes
Integrated hit shapes with field loader and warhead calculations.
2015-12-28 23:25:35 +00:00
Taryn Hill
a7a6f41ef9 Allow ActorReferenceAttribute to list required trait types enforced by --check-yaml 2015-12-27 11:24:13 -06:00
Paul Chote
c7249e6fa6 Move yaml removals to the end of the merge. 2015-11-28 17:20:32 +01:00
Paul Chote
a074bb1d4b Rename MiniYaml MergeLiberal -> MergePartial, MergeStrict -> Merge. 2015-11-28 17:20:21 +01:00
abcdefg30
6cd8649156 Small code style fixes 2015-11-18 21:16:58 +01:00
atlimit8
10aca92bef Merge pull request #9720 from penev92/fixUtility
Fix a crash in CheckPlayers when an actor doesn't define an Owner
2015-10-25 12:41:50 -05:00
Pavel Penev
0487ec0d08 Fix a crash in CheckPlayers when an actor doesn't define an Owner 2015-10-25 17:11:51 +02:00
Paul Chote
347eb6410c Add a lint pass for map metadata. 2015-10-24 20:36:38 +01:00
Paul Chote
d6c75844bf Add a lint pass to check chrome logic validity. 2015-10-21 19:35:35 +01:00
RoosterDragon
1b1e4f1dd2 Merge pull request #9174 from reaperrr/radius-explode
Customizable impact victim scan radius
2015-09-30 20:28:17 +01:00
Matthias Mailänder
defba7aece lint check player palette reference
and tell which actor is affected when a problem is found
2015-09-27 14:57:58 +02:00
reaperrr
4c41f8f656 Lint check for SpreadDamageWarhead victim scan radius bonus 2015-09-26 17:46:28 +02:00
Pavel Penev
cdd4590ece Merge pull request #8839 from RoosterDragon/test-sync-implementations
Test sync implementations
2015-09-24 15:17:33 +03:00
RoosterDragon
3a63a427e6 Improved sync lint pass.
Now also checks for classes with Sync members lacking the ISync interface.
2015-09-21 22:17:09 +01:00
atlimit8
9acf121eb1 Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>() 2015-09-21 15:50:57 -05:00
atlimit8
b38b6eadd0 Add IEnumerable<ITraitInfo> ActorInfo.TraitInfos() replacing actorInfo.traits enumeration 2015-09-21 15:50:57 -05:00
atlimit8
09984683a7 Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types 2015-09-19 09:56:14 -05:00
atlimit8
8162fa27ab Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types 2015-09-19 09:49:24 -05:00
atlimit8
8250f223c4 More HashSet trait fields & Lint support 2015-09-05 16:59:30 -05:00
RoosterDragon
901e604cf3 Replace arrays with sets.
In places where arrays were being treated as a set, just create a set directly. This reveals the intention of such collections better, and also improves performance by allowing set based methods to be used.
2015-09-03 20:09:24 +01:00
Matthias Mailänder
0b8d7708ef add more lint interfaces to reduce boiler plate 2015-08-30 13:12:25 +02:00
Matthias Mailänder
5fc8a413e6 emitError for undefined sequences 2015-08-29 08:18:52 +02:00
Pavel Penev
09f67d18bb Some internal "race" to "faction" renaming 2015-08-22 23:34:36 +03:00
Matthias Mailänder
118782a85e check palette references 2015-08-17 21:36:45 +02:00
Matthias Mailänder
c5b1e6be5f fix a null reference exception at map (tileset) 2015-08-13 20:28:52 +02:00
Matthias Mailänder
fb22c9a1e5 test unchanged miniyaml rules only once 2015-08-04 14:20:52 +02:00
Matthias Mailänder
1f69a0f6ed make projectile sprite sequences lint testable 2015-07-19 19:24:18 +02:00
Oliver Brakmann
380cf22477 Merge pull request #8661 from penev92/bleed_renameCountry
Rename the Country trait to Faction
2015-07-14 21:05:52 +02:00
Oliver Brakmann
4ed7a4ce8a Merge pull request #8659 from penev92/bleed_playerReference
Rename PlayerReference.Race to Faction
2015-07-14 20:15:56 +02:00
penev92
0e871a4b6b Touch up CheckSequences.cs 2015-07-14 18:50:46 +03:00
penev92
830b7eee70 Touch up CheckPlayers.cs 2015-07-14 18:50:44 +03:00
penev92
2e04fb5ddd Rename Faction trait members
Rename Faction.Race to Faction.InternalName
2015-07-14 18:50:39 +03:00
penev92
a1af5386e0 Rename the Country trait to Faction 2015-07-14 18:50:31 +03:00
penev92
c3fcd9a8a1 Some cleanups 2015-07-06 22:24:50 +03:00
penev92
1d49c23af0 Rename PlayerReference.Race and LockRace to Faction and LockFaction 2015-07-05 23:08:49 +03:00
Paul Chote
7d62ac2b12 Merge RulesetCache.LoadDefaultRules and LoadMapRules. 2015-07-05 14:58:00 +01:00
Paul Chote
e87e8ae632 Add a lint rule for VisibilityType. 2015-07-04 17:07:08 +01:00