i think this should go

This commit is contained in:
kdx 2023-05-31 11:14:04 +02:00
parent 09438266c3
commit 3e8e99394c
2 changed files with 15 additions and 2 deletions

View File

@ -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;

View File

@ -5,7 +5,6 @@
#include <stddef.h>
#include <string.h>
#define LOL(x) (unsigned char *)(x)
struct {
const Tmj2cMap *map;
const char *name;