Commit graph

55 commits

Author SHA1 Message Date
kimk05
d2f4f31fdb Add test data map with infinite and empty chunks 2025-05-31 14:28:42 +09:00
7H3LaughingMan
45ac13819a Use New Tests 2025-04-29 13:43:47 -05:00
7H3LaughingMan
f99b8d4dac ZLib Tests 2025-04-29 13:43:29 -05:00
7H3LaughingMan
4647b45e51 Gzip Tests 2025-04-29 13:43:20 -05:00
7H3LaughingMan
c74e913ea9 Base64 Tests 2025-04-29 13:43:06 -05:00
Daniel Cronqvist
81277fdaf1 Add test data that fails due to bug from reported issue 2025-04-28 20:11:43 +02:00
Daniel Cronqvist
9aa2c63e0b Make Optional<T> into readonly struct to avoid heap allocations 2025-04-27 00:05:25 +02:00
Daniel Cronqvist
d86ad2dc10 Add missing TextObject to test map 2025-04-26 21:34:24 +02:00
Daniel Cronqvist
6191498618 Add Raylib example project and helper methods for resolving tilesets and finding source rectangles of tiles 2025-04-26 01:06:43 +02:00
Daniel Cronqvist
58bb446e2b Read new image size properties in tmj from Tiled 1.11.1 2025-04-25 21:21:42 +02:00
Daniel Cronqvist
77d4e38a2c Rename Color to TiledColor 2025-04-25 21:15:26 +02:00
Daniel Cronqvist
ae2e70a223 Change common parts of model API to use signed integers rather than unsigned for less casting 2025-04-25 21:09:48 +02:00
Daniel Cronqvist
88ceee46e5 Add some test cases for the enum parsing bug and fix issue with .tmj format 2024-11-27 22:53:28 +01:00
Daniel Cronqvist
94c1ac0f32 Unset colors are now parsed correctly, color properties have optional colors 2024-11-21 20:55:51 +01:00
dcronqvist
6deb28c1ce
Merge pull request #57 from dcronqvist/custom-types-not-required
Make custom types optional
2024-11-21 18:24:47 +01:00
Kat
7a7f360e22
Implement requested changes 2024-11-20 05:11:45 -08:00
Kat
1027b922fe
Enum properties in CustomClassDefinition.FromClass 2024-11-19 03:08:04 -08:00
Daniel Cronqvist
c9e85c9fd6 Add object override for rectangle objects 2024-11-17 15:52:20 +01:00
Daniel Cronqvist
90a57b125d Fix multiline string property value parsing 2024-11-17 09:15:19 +01:00
Daniel Cronqvist
54bc132154 Add flipping flags parsing/clearing to tile objects 2024-11-17 08:59:02 +01:00
Daniel Cronqvist
8c9068cc97 Make custom types optional 2024-11-16 21:14:23 +01:00
Daniel Cronqvist
2e8eaa5a72 Update FromEnum tests with storage type parameter 2024-11-16 18:35:59 +01:00
Daniel Cronqvist
9b665efe18 Add more tests to Loader for custom types 2024-09-07 15:54:51 +02:00
Daniel Cronqvist
e0252d263e Added test that creates class definition from C# class and uses to load map 2024-09-07 15:47:59 +02:00
Daniel Cronqvist
d23eec4433 Move test data and current tests into UnitTests 2024-09-07 13:23:32 +02:00
Daniel Cronqvist
0a77a9fec7 Add FromEnum to CustomEnumDefinition with tests 2024-09-07 13:16:29 +02:00
Daniel Cronqvist
58b0ad3493 Make use of generic type parameter in generic methods 2024-09-07 13:03:27 +02:00
Daniel Cronqvist
64f66421c2 Add tests for FromClass for CustomClassDefinition 2024-09-07 12:59:59 +02:00
Daniel Cronqvist
762e610904 Make sure to only embed map, tileset and template files in tests binary 2024-09-07 12:49:10 +02:00
Daniel Cronqvist
84b55fe005 Added some new FromClass methods to construct custom class definitions, tests not done 2024-09-05 22:25:13 +02:00
Daniel Cronqvist
e285f97825 Add some more tests to HasPropertiesBase 2024-09-05 21:15:39 +02:00
Daniel Cronqvist
612b5cdb33 Rename tests 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
4e273cd521 Remove unecessary duplicate of API 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
ce3d4e339c Rename parts of the property mapping API and simplify 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
fda0922dcc Initial working concept of mapping properties to C# classes using reflection 2024-09-05 20:53:15 +02:00
Daniel Cronqvist
ffc529ecb6 Now able to override properties from class in Map 2024-09-04 22:24:40 +02:00
Daniel Cronqvist
0ad1347bc1 Map now resolves props from class 2024-09-04 22:11:45 +02:00
Daniel Cronqvist
247f9294af Simplified loader a bit and added more docs 2024-09-03 22:52:26 +02:00
Daniel Cronqvist
9133f8887c Add loader to make it easier to start using library 2024-09-02 21:11:31 +02:00
Daniel Cronqvist
df075eed8d Use proper list assertion and add optional to some Data properties 2024-09-01 22:09:03 +02:00
Daniel Cronqvist
4fd887e7c8 Further optional improvements, Tmj now supports it too 2024-09-01 22:03:05 +02:00
Daniel Cronqvist
88a5eadb74 Model now uses Optional correctly, I think, massive changes 2024-09-01 20:44:36 +02:00
Daniel Cronqvist
d85494e7a9 Remove .Model namespace as it is unnecessary 2024-08-30 20:11:33 +02:00
Daniel Cronqvist
aa8b390442 Add agnostic readers 2024-08-28 19:38:38 +02:00
Daniel Cronqvist
ab8173bb06 Tmj reader is now base class and new properties docs 2024-08-26 21:36:44 +02:00
Daniel Cronqvist
11f1ef783e Tmx reader is now a base abstract class 2024-08-25 17:43:13 +02:00
Daniel Cronqvist
4580772ced Fix rest of model to use new structure and prepare docs 2024-08-24 23:08:24 +02:00
Daniel Cronqvist
b46eed774a More property changes 2024-08-24 22:06:14 +02:00
Daniel Cronqvist
1c1ba326b2 Restructure properties API 2024-08-24 21:38:40 +02:00
Daniel Cronqvist
b6721934e4 More lint fixing 2024-08-22 21:12:16 +02:00