abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
reaperrr
10e51db236
Remove hardcoded mpspawn owner lint check
...
Use RequiresSpecificOwner to enforce the owner
that owns the world instead.
Require 'Neutral' in the official mods accordingly.
2018-11-21 22:29:55 +00:00
reaperrr
fcb09d069b
Add RequiresSpecificOwners trait
...
To enforce specific owners via Lint rules,
and possibly other means later.
This is for cases where accidentally setting an
unfitting owner via editor could cause issues.
Example: AI might try to attack Creeps-owned trees
and get stuck.
2018-11-21 22:29:55 +00:00
Paul Chote
d46278ab0e
Add ModData parameter to ILintMapPass.
2018-06-30 17:12:19 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
abcdefg30
434ea9ca88
Throw a lint error or an exception when no player owns the world
2017-05-20 11:02:00 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Oliver Brakmann
8d3320c0e3
Add a lint check to ensure mpspawns are owned by the world owner
2016-05-22 12:55:35 +02:00
Paul Chote
4a7ef68b39
Remove Map.SpawnPoints.
2016-03-18 20:16:25 +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
abcdefg30
6cd8649156
Small code style fixes
2015-11-18 21:16:58 +01: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
atlimit8
9acf121eb1
Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>()
2015-09-21 15:50:57 -05:00
atlimit8
8162fa27ab
Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types
2015-09-19 09:49:24 -05:00
Matthias Mailänder
0b8d7708ef
add more lint interfaces to reduce boiler plate
2015-08-30 13:12:25 +02:00
Pavel Penev
09f67d18bb
Some internal "race" to "faction" renaming
2015-08-22 23:34:36 +03:00
Matthias Mailänder
fb22c9a1e5
test unchanged miniyaml rules only once
2015-08-04 14:20:52 +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
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
1d49c23af0
Rename PlayerReference.Race and LockRace to Faction and LockFaction
2015-07-05 23:08:49 +03:00
Pavel Penev
53f26adb88
Merge pull request #8309 from Mailaender/lint-neutral
...
Added a lint rule to check if Neutral is set up correctly
2015-06-01 02:06:06 +03:00
Matthias Mailänder
98afa922ac
Random is already in the race list
2015-05-31 20:33:29 +02:00
Matthias Mailänder
44691831ad
check for invalid owners
2015-05-31 18:33:23 +02:00
Matthias Mailänder
3167ca48ff
check if the neutral player is set up correctly
2015-05-31 09:44:50 +02:00
Matthias Mailänder
7186f654d7
avoid an unneeded loop
2015-05-31 09:43:35 +02:00
Matthias Mailänder
a943fbc94e
check for duplicate spawn point locations
2015-05-13 15:28:19 +02:00
Matthias Mailänder
bb08537c44
check for too few/many spawn points/player definitions
2015-05-13 15:27:11 +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
reaperrr
52dd8c922f
Moves Lint checks to Mods.Common
2015-01-15 23:15:51 +01:00