Commit graph

75 commits

Author SHA1 Message Date
Daniel Cronqvist
111403d7fc Fix benchmarks and update ratio numbers in README 2024-12-02 21:33:09 +01: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
ade3d8840a Fix bug where enum properties were mistakenly parsed as uint when they were string 2024-11-27 22:15:24 +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
dcronqvist
67876c6532
Merge pull request #46 from differenceclouds/tilerendersize_fix
"rendersize" -> "tilerendersize" in TmxReaderBase.Tileset.cs
2024-11-16 19:39:19 +01:00
dcronqvist
66d59ffbe1
Merge pull request #56 from dcronqvist/fix-readme
Remove claims about map saving
2024-11-16 19:30:51 +01:00
Daniel Cronqvist
837f58bf68 Remove claims about being able to save Tiled maps 2024-11-16 19:26:14 +01:00
Daniel Cronqvist
2e8eaa5a72 Update FromEnum tests with storage type parameter 2024-11-16 18:35:59 +01:00
Daniel Cronqvist
35c6ba5002 Add storageType parameter to FromEnum, default value is consistent with Tiled 2024-11-16 18:35:21 +01:00
differenceclouds
50036075f5 "rendersize" -> "tilerendersize"
fix to match the XML.
2024-11-14 09:26:32 -05:00
Daniel Cronqvist
d943a8d8b7 Update version in .csproj 2024-10-04 21:25:36 +02:00
Daniel Cronqvist
e411d51573 Make sure to run console example application as part of test suite 2024-10-04 21:16:00 +02:00
Anders Kehlet
782e771a41 Fix type of visible attribute in tileset object group. 2024-10-03 22:26:47 +02:00
dcronqvist
e8dc677341
Update README that is published with NuGet to reflect MonoGame support 2024-09-28 19:55:06 +02:00
krnlException
f72cfd397b Removed backup file 2024-09-16 16:33:07 +02:00
krnlexception
0515ba3256
Godot example 2024-09-13 19:32:24 +02:00
krnlException
3d649fab95 Program class to public and top-level warning disabled 2024-09-12 20:23:43 +02:00
krnlException
44cbf5b90a Style changes, and usage of embedded resources 2024-09-11 17:11:24 +02:00
krnlexception
7407edccb3
Example project 2024-09-10 00:56:24 +02:00
Daniel Cronqvist
89d3f022a4 Bump version and add to version compatibility matrix 2024-09-07 21:51:39 +02:00
Daniel Cronqvist
373cdc991e Fix maintained status in NuGet README 2024-09-07 20:55:05 +02: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
53907b9c36 Add overload to MapPropertiesTo with supplied factory method 2024-09-05 21:02:34 +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
99fb910336 Affected parts of model should now inherit properties from their specified class 2024-09-05 20:43:12 +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
77a47856e2 Updated NuGet README to not have ugly formatting 2024-09-04 21:39:32 +02:00
Daniel Cronqvist
9abda9e244 Fix strange keywords 2024-09-04 21:35:19 +02:00
Daniel Cronqvist
8fd43d95aa Updated docs a bit 2024-09-04 21:27:18 +02:00
Daniel Cronqvist
247f9294af Simplified loader a bit and added more docs 2024-09-03 22:52:26 +02:00
Daniel Cronqvist
738a9fc5a8 Add docs to quickstart 2024-09-02 23:58:25 +02:00