blob: a13495edb7b6ca7ce67ba17734be59213ad94b92 (
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
26
|
/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
// 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;
};
|