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

@ -96,7 +96,9 @@ namespace DFHack
TileVariant v; TileVariant v;
}; };
const TileRow tileTypeTable[520] = #define TILE_TYPE_ARRAY_LENGTH 520
const TileRow tileTypeTable[TILE_TYPE_ARRAY_LENGTH] =
{ {
// 0 // 0
{"void",EMPTY, AIR, VAR_1}, {"void",EMPTY, AIR, VAR_1},