differenceclouds
606d2ec57d
Update BoolProperty.cs
2024-11-14 09:20:37 -05:00
differenceclouds
c83c8c7be9
Changed behavior for empty string Color properties
...
When an unset Color property was parsed, an exception was thrown. This exception was moved into TryParse. Now, the Color can be null.
2024-11-12 20:51:54 -05:00
differenceclouds
8dba9e81a0
Added ValueString to IProperty
...
Able to get string of value without knowing the property type.
It is generated for all values except EnumProperty, where it is set at construction. Ideally, all should be set at construction so it is 1:1 with the XML, but there are too many places to update, and generating the string is good enough.
Also in this commit: OverrideObject stack overflow bug fixed. Unsure what the original recursive structure was for.
2024-11-12 20:43:24 -05:00
differenceclouds
a7ad3b49a1
CustomEnumStorageType parameter for importing custom enums
2024-11-04 15:02:57 -05:00
differenceclouds
a4da49c486
"rendersize" changed to "tilerendersize"
...
To match XML property. Seems to be correct elsewhere.
2024-11-02 09:43:35 -04:00
dcronqvist
88352cfa45
Merge pull request #39 from dcronqvist/release-v0.2.1
...
Release v0.2.1
2024-10-04 21:26:48 +02:00
Daniel Cronqvist
d943a8d8b7
Update version in .csproj
2024-10-04 21:25:36 +02:00
Daniel Cronqvist
69f68d5853
Update version compatibility matrix
2024-10-04 21:22:43 +02:00
dcronqvist
aaa1ba7de4
Merge pull request #38 from dcronqvist/example-running
...
Make sure to run console example application as part of test suite
2024-10-04 21:18:16 +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
dcronqvist
5969b509e4
Merge pull request #37 from Serdan/feature/visible-type-in-tileset
...
Fix type of visible attribute in tileset object group.
2024-10-04 21:05:42 +02:00
Anders Kehlet
782e771a41
Fix type of visible attribute in tileset object group.
2024-10-03 22:26:47 +02:00
dcronqvist
871270ab00
Merge pull request #36 from dcronqvist/dev
...
Documentation updates
2024-09-28 20:03:19 +02:00
dcronqvist
f8f21a8a7d
Merge pull request #35 from dcronqvist/remove-monogame-reference
...
Remove text about MonoGame support
2024-09-28 19:56:44 +02:00
dcronqvist
e8dc677341
Update README that is published with NuGet to reflect MonoGame support
2024-09-28 19:55:06 +02:00
dcronqvist
50c14011bc
Remove text about MonoGame support
2024-09-28 19:52:28 +02:00
dcronqvist
e66cd36f6d
Merge pull request #32 from krnlexception/dev
...
Example projects (.NET console and Godot)
2024-09-16 19:09:08 +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
eb22de169c
JetBrains Rider .idea directory ignore
2024-09-10 00:57:23 +02:00
krnlexception
7407edccb3
Example project
2024-09-10 00:56:24 +02:00
dcronqvist
01099daef1
Merge pull request #30 from dcronqvist/release-v0.2.0
...
Release v0.2.0
2024-09-07 22:05:33 +02:00
Daniel Cronqvist
89d3f022a4
Bump version and add to version compatibility matrix
2024-09-07 21:51:39 +02:00
dcronqvist
fb1c1499d6
Merge pull request #29 from dcronqvist/multi-version
...
Add version compatiblity matrix and PR templates
2024-09-07 21:47:23 +02:00
Daniel Cronqvist
40106b5472
Add different PR templates to make sure no release work is missed, and dev PRs are actually filled with useful information
2024-09-07 21:39:48 +02:00
Daniel Cronqvist
914a667c35
Add version compatibility matrix to docs
2024-09-07 21:21:16 +02:00
Daniel Cronqvist
373cdc991e
Fix maintained status in NuGet README
2024-09-07 20:55:05 +02:00
dcronqvist
7f22f868e8
Merge pull request #28 from dcronqvist/map-custom-types
...
Add custom types generation and mapping API
2024-09-07 20:49:31 +02:00
Daniel Cronqvist
b3be5c3735
Add docs on how to map properties to classes
2024-09-07 18:44:46 +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
dcronqvist
be71a1af85
Merge pull request #27 from dcronqvist/tiledcsplus-readme
...
TiledCSPlus README update
2024-09-05 20:49:48 +02:00
Daniel Cronqvist
f497968c8a
Update TiledCSPlus maintained status
2024-09-05 20:48:02 +02:00
dcronqvist
2b05ab9a72
Merge pull request #26 from dcronqvist/resolve-class
...
Resolve properties from specified classes
2024-09-05 20:46:28 +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