|
|
@ -29,9 +29,10 @@ distribution.
|
|
|
|
|
|
|
|
|
|
|
|
namespace DFHack
|
|
|
|
namespace DFHack
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
// tile class -- determines the general shape of the tile
|
|
|
|
enum TileClass
|
|
|
|
enum TileClass
|
|
|
|
{
|
|
|
|
{
|
|
|
|
EMPTY,
|
|
|
|
EMPTY,// empty
|
|
|
|
|
|
|
|
|
|
|
|
WALL,
|
|
|
|
WALL,
|
|
|
|
PILLAR,
|
|
|
|
PILLAR,
|
|
|
@ -41,10 +42,10 @@ namespace DFHack
|
|
|
|
STAIR_DOWN,
|
|
|
|
STAIR_DOWN,
|
|
|
|
STAIR_UPDOWN,
|
|
|
|
STAIR_UPDOWN,
|
|
|
|
|
|
|
|
|
|
|
|
RAMP,
|
|
|
|
RAMP,// ramps have no direction
|
|
|
|
RAMP_TOP,
|
|
|
|
RAMP_TOP,// the top of a ramp. I assume it's used for path finding.
|
|
|
|
|
|
|
|
|
|
|
|
FLOOR,
|
|
|
|
FLOOR,// generic floor
|
|
|
|
TREE_DEAD,
|
|
|
|
TREE_DEAD,
|
|
|
|
TREE_OK,
|
|
|
|
TREE_OK,
|
|
|
|
SAPLING_DEAD,
|
|
|
|
SAPLING_DEAD,
|
|
|
@ -54,29 +55,31 @@ namespace DFHack
|
|
|
|
BOULDER,
|
|
|
|
BOULDER,
|
|
|
|
PEBBLES
|
|
|
|
PEBBLES
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// material -- what material the tile is made of
|
|
|
|
enum TileMaterial
|
|
|
|
enum TileMaterial
|
|
|
|
{
|
|
|
|
{
|
|
|
|
AIR,
|
|
|
|
AIR,// empty
|
|
|
|
SOIL,
|
|
|
|
SOIL,// ordinary soil. material depends on geology
|
|
|
|
STONE,
|
|
|
|
STONE,// ordinary layer stone. material depends on geology
|
|
|
|
FEATSTONE, // whatever it is
|
|
|
|
FEATSTONE,// map feature stone. used for things like hell, the hell temple or adamantine tubes. material depends on local/global feature
|
|
|
|
OBSIDIAN,
|
|
|
|
OBSIDIAN,// cast obsidian
|
|
|
|
|
|
|
|
|
|
|
|
VEIN,
|
|
|
|
VEIN,// vein stone. material depends on mineral veins present
|
|
|
|
ICE,
|
|
|
|
ICE,// frozen water... not much to say. you can determine what was on the tile before it froze by looking into the 'ice vein' objects
|
|
|
|
GRASS,
|
|
|
|
GRASS,// grass (has 4 variants)
|
|
|
|
GRASS2,
|
|
|
|
GRASS2,// grass (has 4 variants)
|
|
|
|
GRASS_DEAD,
|
|
|
|
GRASS_DEAD,// dead grass (has 4 variants)
|
|
|
|
GRASS_DRY,
|
|
|
|
GRASS_DRY,// dry grass (has 4 variants)
|
|
|
|
DRIFTWOOD,
|
|
|
|
DRIFTWOOD,// non-specified wood - normally on top of the local layer stone/soil.
|
|
|
|
HFS,
|
|
|
|
HFS,// the stuff demon pits are made of - this makes them different from ordinary pits.
|
|
|
|
MAGMA,
|
|
|
|
MAGMA,// material for semi-molten rock and 'magma flow' tiles
|
|
|
|
CAMPFIRE,
|
|
|
|
CAMPFIRE,// human armies make them when they siege. The original tile may be lost?
|
|
|
|
FIRE,
|
|
|
|
FIRE,// burning grass
|
|
|
|
ASHES,
|
|
|
|
ASHES,// what remains from a FIRE
|
|
|
|
CONSTRUCTED,
|
|
|
|
CONSTRUCTED,// tile material depends on the construction present
|
|
|
|
CYAN_GLOW
|
|
|
|
CYAN_GLOW// the glowy stuff that disappears from the demon temple when you take the sword.
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// variants are used for tiles, where there are multiple variants of the same - like grass floors
|
|
|
|
enum TileVariant
|
|
|
|
enum TileVariant
|
|
|
|
{
|
|
|
|
{
|
|
|
|
VAR_1,
|
|
|
|
VAR_1,
|
|
|
|