ddnet/src/game/client/mapres_tilemap.h

27 lines
345 B
C
Raw Normal View History

2007-11-25 19:42:40 +00:00
/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
2007-05-22 15:03:32 +00:00
// dependencies: image
//
int tilemap_init();
// renders the tilemaps
void tilemap_render(float scale, int fg);
2007-10-03 21:32:02 +00:00
enum
{
TILEFLAG_VFLIP=1,
TILEFLAG_HFLIP=2,
};
2007-05-22 15:03:32 +00:00
struct mapres_tilemap
{
int image;
int width;
int height;
int x, y;
int scale;
int data;
int main;
};