summaryrefslogtreecommitdiff
path: root/map/tmj2c.h
blob: e5a1ea53f768ebb680cef6c15d54115956bfb07e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;