#define MAX_X 32 #define MAX_Z 32 #define ARENA_SIZE (MAX_X * MAX_Z) typedef struct { int totalBlocks; GsDOBJ2 handler[ARENA_SIZE]; GsCOORDINATE2 coord[ARENA_SIZE]; u_long *pointer[ARENA_SIZE]; } ArenaType; typedef struct { short y0, y1, y2, y3; } BlockType;