All pastes #635864 Raw Edit

Miscellany

public text v1 · immutable
#635864 ·published 2007-07-27 12:53 UTC
rendered paste body
typedef struct Area_s Area;

typedef struct
{
	char *object;
	pArea	 *area; // Stiekem een Area pointer :-o
} Tile, *pTile;

void Tile_init(Tile *tile);

// AREA
struct Area_s {
	int type;

	int width;
	int height;

	int offset_x;
	int offset_y;

	pTile *tiles;

	GLfloat r;
	GLfloat g;
	GLfloat b;

	char filename[100];
};