diff options
Diffstat (limited to 'map/tmj2c.h')
-rw-r--r-- | map/tmj2c.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/map/tmj2c.h b/map/tmj2c.h new file mode 100644 index 0000000..e5a1ea5 --- /dev/null +++ b/map/tmj2c.h @@ -0,0 +1,18 @@ +#pragma once + +typedef struct { + const char *name; + float opacity; + unsigned int visible; + const unsigned int *data; +} Tmj2cLayer; + +typedef struct { + const char *path; + unsigned int width; + unsigned int height; + unsigned int tilewidth; + unsigned int tileheight; + unsigned int numlayers; + const Tmj2cLayer *layers; +} Tmj2cMap; |