RandyGaul / cute_headers

Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
4.28k stars 266 forks source link

cute_tiled: Add `class` to Layer, Tileset, and Map, along with tests #365

Closed RobLoach closed 11 months ago

RobLoach commented 11 months ago

This adds the Tiled 1.9 class property to Layers, Tilesets, and Maps. It also adds a test_cute_tiled application to validate that the property loads correctly.

Since class is a C keyword, I named it class_ instead. See the JSON Map Format for more details on class.

RandyGaul commented 11 months ago

This looks really good! Sorry for being a bit slow to respond -- was dealing with sickness for a little bit there.

RobLoach commented 11 months ago

Hope you're feeling better. Drink lots of water, and get lots of sleep.