Hi all, how would I turn this array from Tier 2 into Tier 1 Dim or Array?
// Tile types
const int GRASS = 1; // Grass Tile
const int PATH = 2; // Path Tile
const int PATHNE = 3; // Path NorthEast
const int PATHNW = 4; // Path NorthWest
const int PATHSE = 5; // Path SouthEast
const int PATHSW = 6; // Path SouthWest
const int TREENW = 7; // Tree NorthWest
const int TREENE = 8; // Tree NorthEast
const int TREESW = 9; // Tree SouthWest
const int TREESE = 10; // Tree SouthEast
const int ROCK = 11; // Rock
// Tile Width / Tile Height
const int TILE_WIDTH = 64;
const int TILE_HEIGHT = 48;
// Tile Rows / Tile Cols
const int TILE_ROWS = 10;
const int TILE_COLS = 10;
// Screen Width / Screen Height
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
int g_tileMap[TILE_ROWS][TILE_COLS] = {
GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,
GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,
GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,PATHNW,PATH,PATH,
GRASS,GRASS,GRASS,GRASS,GRASS,TREENW,TREENE,PATH,GRASS,GRASS,
PATH ,PATH ,PATH ,PATH ,PATHNE,TREESW,TREESE,PATH,ROCK,GRASS,
GRASS,GRASS,GRASS,GRASS,PATH,GRASS,GRASS,PATH,GRASS,GRASS,
GRASS,GRASS,GRASS,GRASS,PATHSW,PATH,PATH,PATHSE,GRASS,GRASS,
GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,
GRASS,ROCK,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,
GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,GRASS,
};
Thanks!