RandyGaul / cute_headers

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

cute_tiled: Force loading RGBA for tintedcolor #361

Closed RobLoach closed 9 months ago

RobLoach commented 9 months ago

The JSON format represents the tintedcolor properties as either RGBA or RGB. Since we end up with a int, there isn't a way to ensure it's the correct A value. Would be great to detect if it's 6 characters long, and toggle the alpha byte.

I can have a look at this. Just making the issue for now.