Gustas
e4ba9733fe
Add sequences linting to ingame lobby
2023-04-07 16:23:30 +01:00
RoosterDragon
9dd4f938da
Cache reflection calls when running utility lints and commands.
...
Reduces runtime of --check-yaml command to 70% of original.
2023-04-05 00:25:32 +02:00
Gustas
925e042455
Add Interactable lint test
...
Since # 19174 bounds are calculated from WDist instead of pixels. This causes many of the older maps to crash games, And this lint test makes it easier for map makers to detect these issues.
As calculating the bounds requires MapGrid, we need to write a separate lint test for Interactable instead of defaulting to RulesetLoaded checks.
2023-03-27 19:55:19 +02:00
Paul Chote
c35ab081ff
Rewrite sequence loading logic.
...
Multiple layers of Lazy<T>ness are replaced with
an explicit two-part loading scheme.
Sequences are parsed immediately, without the need
for the sprite assets, and tell the SpriteCache
which frames they need. Use-cases that want the
actual sprites can then tell the SpriteCache to
load the frames and the sequences to resolve the
sprites.
2023-03-10 20:11:33 +02:00
Paul Chote
b7cdcf419f
Add ILintSequencesPass.
2023-03-10 20:11:33 +02:00
Gustas
8d0fe52dd8
Remove unnecessary parentheses
2023-02-27 08:36:47 +02:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
penev92
5f80e93aee
Added ITilesetSpecificPaletteInfo for linting
2023-01-10 16:36:36 +00:00
Matthias Mailänder
640e52d4b4
Report missing translation keys only once.
2022-12-07 18:40:26 +02:00
Matthias Mailänder
9ba51c6b51
Manually add game speeds to the linter.
2022-12-07 18:40:26 +02:00
Matthias Mailänder
aefa49a831
Add support for translating trait rules.
2022-12-07 18:40:26 +02:00
Matthias Mailänder
e251377f7c
Add support for translation attributes.
2022-12-07 18:40:26 +02:00
abcdefg30
28adb915f5
Make CheckPalettes report duplicate palettes
2022-09-21 20:06:11 +02:00
abcdefg30
97c96c46f4
Only search for palette definitions on the world actor
2022-09-21 20:06:11 +02:00
abcdefg30
0bbcff973f
Only query the palette attribute once in CheckPalettes
2022-09-21 20:06:11 +02:00
Gustas
c40675cfba
Include map.png into uid generation
2022-08-30 20:03:40 +02:00
Gustas
d438508994
Added try/catch for TypeDictionary errors in Lint code
...
TypeDictionary errors are very hard for modders to debug as they don't mention which actor is causing the error
2022-08-15 23:19:18 +02:00
Matthias Mailänder
8201a57b10
Don't complain about re-usable terms not getting referenced.
2022-08-14 16:11:51 +02:00
abcdefg30
8a98ad51fd
Fix sequences only being checked on actors with RenderSprites
2022-07-08 10:28:39 +03:00
abcdefg30
8e1dce4bbe
Add a lint check for maps without playable player
2022-07-05 16:01:22 +02:00
Matthias Mailänder
834de4efbe
Port to Linguini
2022-07-02 22:32:37 +01:00
abcdefg30
c1822d1cef
Fix NREs in CheckUnknownWeaponFields
2022-06-26 23:46:51 +01:00
abcdefg30
185bef39b0
Fix "Inherits" nodes being resolved as objects during linting
2022-06-26 23:46:51 +01:00
abcdefg30
5fe166dfd3
Fix an NRE in CheckUnknownTraitFields
2022-06-26 23:46:51 +01:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Eduardo Cáceres
cae43808d9
Optimize string comparison
2022-05-18 11:42:36 -05:00
Eduardo Cáceres
79f321cb44
.Any(), .Count() -> .Count or .Length
2022-05-18 11:42:36 -05:00
Matthias Mailänder
0260884369
Added translation support for server orders.
2022-04-03 19:23:26 +02:00
Matthias Mailänder
0e7ad43425
Remove unused parameters.
2022-04-01 23:30:26 +02:00
Matthias Mailänder
a3ccc81892
Remove unused fields and parameters.
2021-10-22 22:02:15 +02:00
penev92
8ba6d13b2f
Removed unused using directives
2021-10-15 13:12:33 +02:00
abcdefg30
62c083bb01
Remove a bogus and unneeded import
2021-10-08 00:47:10 +03:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
Paul Chote
f9294f0e9e
Enable dedicated server lint checks.
2021-04-21 18:57:44 +02:00
Paul Chote
9770967b04
Optimize MapPreview rule loading.
2021-04-21 18:57:44 +02:00
Matthias Mailänder
5a0bcc01a6
Add a lint check for trait placement on hardcoded actor names.
2021-04-11 20:20:00 +02:00
teinarss
e12ff2c59d
Remove our own ReadOnlyDictionary and update usages
2021-04-03 11:33:31 +02:00
teinarss
d60c05eff3
Change to use pattern matching
2021-03-27 17:29:20 +01:00
Matthias Mailänder
bbbed49f82
Add a lint check for cursor definitions.
2021-03-20 17:37:16 +01:00
abcdefg30
1d4891b017
Rename several MP traits
2020-12-31 12:09:56 +01:00
Paul Chote
2518a353af
Add lint test for invalid map tiles.
2020-12-19 13:07:01 +01:00
abcdefg30
538623c835
Add a lint check for player counts
2020-10-24 10:09:22 +02:00
Paul Chote
7f7bce50dc
Add dictionary support for ActorReference.
2020-09-15 09:27:50 +02:00
Paul Chote
94180f6a0a
Add SequenceReference support for dictionaries.
2020-09-12 17:52:46 +02:00
Paul Chote
7803686aec
Rewrite sequence linting / missing file handling.
...
- Distinguish between missing sequences and missing sprites
- Lint default sequences as well as maps
- Improved performance
- Correctly handle null images
2020-09-12 17:52:46 +02:00
Paul Chote
b985edbc29
Add ModData to ILintRulesPass.Run.
2020-09-12 17:52:46 +02:00
Paul Chote
ffdb3f86d7
Move mod-specific lint attributes to Mods.Common.
2020-09-12 17:52:46 +02:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00