i think this should go
This commit is contained in:
parent
09438266c3
commit
3e8e99394c
16
map/tmj2c.h
16
map/tmj2c.h
|
@ -2,11 +2,23 @@
|
|||
|
||||
typedef struct {
|
||||
const char *name;
|
||||
float opacity;
|
||||
double opacity;
|
||||
unsigned int visible;
|
||||
const unsigned int *data;
|
||||
} Tmj2cLayer;
|
||||
|
||||
typedef struct {
|
||||
const char *name;
|
||||
const char *type;
|
||||
unsigned int id;
|
||||
double x;
|
||||
double y;
|
||||
double width;
|
||||
double height;
|
||||
double rotation;
|
||||
unsigned int visible;
|
||||
} Tmj2cObject;
|
||||
|
||||
typedef struct {
|
||||
const char *path;
|
||||
unsigned int width;
|
||||
|
@ -15,4 +27,6 @@ typedef struct {
|
|||
unsigned int tileheight;
|
||||
unsigned int numlayers;
|
||||
const Tmj2cLayer *layers;
|
||||
unsigned int numobjects;
|
||||
const Tmj2cObject *objects;
|
||||
} Tmj2cMap;
|
||||
|
|
Loading…
Reference in New Issue