about summary refs log tree commit diff
path: root/src/game/client/mapres_tilemap.h
blob: df2da7a3bebbc3d2ae74ed30ba68cda0bb63c622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

// dependencies: image

//
int tilemap_init();

// renders the tilemaps
void tilemap_render(float scale, int fg);

enum
{
	TILEFLAG_VFLIP=1,
	TILEFLAG_HFLIP=2,
};

struct mapres_tilemap
{
	int image;
	int width;
	int height;
	int x, y;
	int scale;
	int data;
	int main;
};