just made the tile type array length a #define

develop
doomchild 2010-08-13 09:39:37 -05:00
parent a8b5c461fe
commit cf8c805add
1 changed files with 3 additions and 1 deletions

@ -95,8 +95,10 @@ namespace DFHack
TileMaterial m; TileMaterial m;
TileVariant v; TileVariant v;
}; };
#define TILE_TYPE_ARRAY_LENGTH 520
const TileRow tileTypeTable[520] = const TileRow tileTypeTable[TILE_TYPE_ARRAY_LENGTH] =
{ {
// 0 // 0
{"void",EMPTY, AIR, VAR_1}, {"void",EMPTY, AIR, VAR_1},