int array[64][64][3]; // 3 rules per tile
#define TYPE 0
#define COLOR 1
#define OTHER 2
// an example function using the array
void
set_tile (int x, int y, int type, int color, int other)
{
array[x][y][TYPE] = type;
array[x][y][COLOR] = color;
array[x][y][OTHER] = other;
}
Users browsing this forum: No registered users and 1 guest