Matthias Mailänder
eba266aecf
Use MarkDown tables in trait documentation export.
2021-09-18 12:52:27 +01: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
Matthias Mailänder
7e19d6a205
Fix Player and Actor Properties / Commands rendering.
2021-05-04 01:13:18 +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
Andre Mohren
3f510b6d93
Make ISpriteLoader aware of the source file name.
2021-03-27 17:36:59 +01:00
teinarss
d60c05eff3
Change to use pattern matching
2021-03-27 17:29:20 +01:00
Paul Chote
0c52d275fa
Add TransparentIndex to PaletteFromFile.
2021-03-20 17:15:56 +01:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
teinarss
ed295ae315
Change throw exceptions to use nameof in parameter
2021-02-28 18:43:51 +01:00
Paul Chote
53db1230ab
Move default tileset parsing to Mods.Common.
2021-01-11 21:57:55 +01:00
Paul Chote
995c33a942
Remove Ruleset.TileSet.
2021-01-11 21:57:55 +01:00
Paul Chote
6d6efd5fe8
Move tileset image validation to TerrainRendererInfo.
2021-01-11 21:57:55 +01:00
Paul Chote
be2ca77acf
Add ITerrainInfoNotifyMapCreated interface.
2021-01-11 21:57:55 +01:00
Paul Chote
868736fe1a
Remove obsolete --check-runtime-assemblies utility command.
2021-01-09 19:53:22 +01:00
Paul Chote
62fa3b7c9c
Rename SpriteFrameType enums.
2020-12-25 18:51:25 +01:00
Paul Chote
ce09b402d0
Fix definition and use of non-indexed sprite color channels.
...
Our SpriteFrameType names refer to the byte channel order rather than
the bit order, meaning that SpriteFrameType.BGRA corresponds to the
standard Color.ToArgb() etc byte order when the (little-endian) integer
is read as 4 individual bytes.
The previous code did not account for the fact that non-indexed Png
uses big-endian storage for its RGBA colours, and that SheetBuilder
had the color channels incorrectly swapped to match and cancel this out.
New SpriteFrameType enums are introduced to distinguish between BGRA
(little-endian) and RGBA (big-endian) formats, and also for 24bit data
without alpha. The channel swizzling / alpha creation is now handled
when copying into the texture atlas, removing the need for non-png
ISpriteLoader implementations to allocate an additional temporary array
and reorder the channels during load.
2020-12-25 18:51:25 +01:00
Paul Chote
6e7ad9df25
Remove vestigial translation plumbing.
...
This was never completed to the level required to
be properly used ingame.
2020-12-25 16:18:28 +01:00
Paul Chote
920d00bbae
Use nearest-neighbour scaling in --debug-chrome-regions utility command.
2020-12-14 22:38:25 +01:00
Paul Chote
6ad5b9ebc4
Allow the game root directory to be moved away from the binaries.
2020-11-24 17:53:48 +01:00
Paul Chote
1cc1f93fb0
Rename Platform.GameDir to Platform.EngineDir.
2020-11-24 17:53:48 +01:00
Paul Chote
72f1f06ebc
Remove Platform.UnresolvePath.
2020-11-22 16:42:46 +01:00
Paul Chote
888915b53b
Use Platform.GameDir explicitly in hardcoded paths.
2020-11-22 16:42:46 +01:00
Paul Chote
de7a84e8ed
Don't use Platform.ResolvePath when constructing hardcoded paths.
2020-11-22 16:42:46 +01:00
Matthias Mailänder
5e42c03afc
Replace more \n characters with write lines.
2020-10-19 22:37:01 +01:00
Matthias Mailänder
58726160a9
Reduce the indention level to show the table of contents.
2020-10-19 22:37:01 +01:00
Matthias Mailänder
8cd9215756
Add an additional new line before the unordered list.
2020-10-19 22:37:01 +01:00
Matthias Mailänder
7e61199458
Fix a link in the Lua documentation.
2020-10-05 10:11:30 +02:00
Matthias Mailänder
b5613acad8
Don't put absolute paths of developer machines in there.
2020-09-28 12:47:27 +02:00
Paul Chote
ad4d6eaec9
Improve --check-missing-sprites error handling.
2020-09-12 17:52:46 +02:00
Paul Chote
ac8b312140
Generalize --check-sequence-sprites to --check-missing-sprites.
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
Matthias Mailänder
7746dc55f0
Remove the table of content
...
which is auto-generated by mkdocs.
2020-09-06 11:44:23 +01:00
Matthias Mailänder
5d9e8b56c5
Use fewer hard-coded HTML tags to improve mkdocs rendering.
2020-09-06 11:44:23 +01:00
teinarss
8d27d22100
Use discard syntax
2020-08-19 18:11:07 +01: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
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Paul Chote
38b3fbbdbe
Fix [RequireExplicitImplementation] failures on event properties.
2020-07-13 14:02:02 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
Paul Chote
c6c3a8c60d
Make ActorPreview and EditorActorPreview wrap ActorReference.
2020-06-19 17:57:56 +02:00
Paul Chote
b38018af9c
Replace IActorInit with an abstract class.
...
A shared ValueActorInit<T> is introduced to reduce duplication
in the most common init cases, and an ActorInitActorReference
allow actors to be referenced by map.yaml name.
2020-06-08 19:18:38 +02:00
Paul Chote
7c6ec577dc
Rewrite ActorInit queries.
2020-05-28 19:04:53 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
Matthias Mailänder
53d916d7f1
Add some basic error handling to png metadata writing.
2020-05-02 04:13:34 -05:00
abcdefg30
089dd233a5
Correct the support dir location in ExtractSettingsDocsCommand
2020-04-26 12:38:11 +01:00
Mustafa Alperen Seki
5b34af0f12
Change all instances of ToLower() to ToLowerInvariant()
2020-04-17 17:01:42 -05:00
Paul Chote
f86d96794d
Add explicitly defined version strings to the lua docs.
2020-03-02 17:24:17 +01:00
Paul Chote
96463634c7
Add --debug-chrome-regions utility command.
2020-02-22 16:18:45 +01:00