#define BLOCK_WIDTH 128 #define BLOCK_HEIGHT 128 #define MAX_LIGHTMAPS 64 typedef struct glRect_s { int l,t,w,h; } glRect_t;