2010-11-18 17:14:41 -07:00
|
|
|
// vim: sts=4 sta et shiftwidth=4:
|
|
|
|
#include "dfhack/DFIntegers.h"
|
|
|
|
#include "dfhack/DFTileTypes.h"
|
|
|
|
#include "dfhack/DFExport.h"
|
|
|
|
|
|
|
|
namespace DFHack {
|
|
|
|
//set tile class string lookup table (e.g. for printing to user)
|
|
|
|
#define X(name,comment) #name,
|
2010-11-18 18:40:38 -07:00
|
|
|
const char * TileClassString[tileclass_count+1] = {
|
2010-11-18 17:14:41 -07:00
|
|
|
TILECLASS_MACRO
|
|
|
|
0
|
|
|
|
};
|
|
|
|
#undef X
|
|
|
|
|
|
|
|
//string lookup table (e.g. for printing to user)
|
|
|
|
#define X(name,comment) #name,
|
2010-11-18 18:40:38 -07:00
|
|
|
const char * TileMaterialString[tilematerial_count+1] = {
|
2010-11-18 17:14:41 -07:00
|
|
|
TILEMATERIAL_MACRO
|
|
|
|
0
|
|
|
|
};
|
|
|
|
#undef X
|
|
|
|
|
|
|
|
//string lookup table (e.g. for printing to user)
|
|
|
|
#define X(name,comment) #name,
|
2010-11-18 18:40:38 -07:00
|
|
|
const char * TileSpecialString[tilespecial_count+1] = {
|
2010-11-18 17:14:41 -07:00
|
|
|
TILESPECIAL_MACRO
|
|
|
|
0
|
|
|
|
};
|
|
|
|
#undef X
|
|
|
|
|
|
|
|
}
|