// This file has been automatically generated.

#pragma once

#include "tiledef_defines.h"

#include "tiledef-wall.h"


enum tile_feat_type
{
    TILE_DNGN_TREE = TILE_WALL_MAX,
    TILE_DNGN_TREE_1,
    TILE_DNGN_TREE_2,
    TILE_DNGN_TREE_3,
    TILE_DNGN_TREE_4,
    TILE_DNGN_TREE_5,
    TILE_DNGN_TREE_6,
    TILE_DNGN_TREE_7,
    TILE_DNGN_TREE_8,
    TILE_DNGN_TREE_9,
    TILE_DNGN_TREE_10,
    TILE_DNGN_TREE_11,
    TILE_DNGN_TREE_12,
    TILE_DNGN_TREE_YELLOW,
    TILE_DNGN_TREE_YELLOW_1,
    TILE_DNGN_TREE_YELLOW_2,
    TILE_DNGN_TREE_YELLOW_3,
    TILE_DNGN_TREE_LIGHTRED,
    TILE_DNGN_TREE_LIGHTRED_1,
    TILE_DNGN_TREE_RED,
    TILE_DNGN_TREE_RED_1,
    TILE_DNGN_TREE_RED_2,
    TILE_DNGN_TREE_DEAD,
    TILE_DNGN_TREE_DEAD_1,
    TILE_DNGN_TREE_DEAD_2,
    TILE_DNGN_TREE_DEAD_3,
    TILE_DNGN_TREE_DEAD_4,
    TILE_DNGN_TREE_OF_WOE,
    TILE_DNGN_TREE_OF_WOE_1,
    TILE_DNGN_TREE_OF_WOE_2,
    TILE_DNGN_TREE_OF_WOE_3,
    TILE_DNGN_DEAD_TREE_OF_WOE,
    TILE_DNGN_DEAD_TREE_OF_WOE_1,
    TILE_DNGN_DEAD_TREE_OF_WOE_2,
    TILE_DNGN_DEAD_TREE_OF_WOE_3,
    TILE_DNGN_MANGROVE,
    TILE_DNGN_MANGROVE_1,
    TILE_DNGN_MANGROVE_2,
    TILE_DNGN_PETRIFIED_TREE,
    TILE_DNGN_PETRIFIED_TREE_1,
    TILE_DNGN_PETRIFIED_TREE_2,
    TILE_DNGN_DEMONIC_TREE,
    TILE_DNGN_DEMONIC_TREE_1 = TILE_DNGN_DEMONIC_TREE,
    TILE_DNGN_DEMONIC_TREE_2,
    TILE_DNGN_DEMONIC_TREE_3,
    TILE_DNGN_DEMONIC_TREE_4,
    TILE_DNGN_DEMONIC_TREE_5,
    TILE_DNGN_DEMONIC_TREE_6,
    TILE_DNGN_DEMONIC_TREE_7,
    TILE_DNGN_DEMONIC_TREE_8,
    TILE_DNGN_DEMONIC_TREE_9,
    TILE_DNGN_DEMONIC_TREE_10,
    TILE_DNGN_DEMONIC_TREE_11,
    TILE_DNGN_DEMONIC_TREE_12,
    TILE_DNGN_DEMONIC_TREE_13,
    TILE_DNGN_DEMONIC_TREE_14,
    TILE_DNGN_DEMONIC_TREE_15,
    TILE_DNGN_DEMONIC_TREE_16,
    TILE_AWOKEN_OVERLAY,
    TILE_DNGN_CLOSED_DOOR,
    TILE_DNGN_GATE_CLOSED_LEFT,
    TILE_DNGN_GATE_CLOSED_MIDDLE,
    TILE_DNGN_GATE_CLOSED_RIGHT,
    TILE_DNGN_VGATE_CLOSED_UP,
    TILE_DNGN_VGATE_CLOSED_MIDDLE,
    TILE_DNGN_VGATE_CLOSED_DOWN,
    TILE_DNGN_OPEN_DOOR,
    TILE_DNGN_GATE_OPEN_LEFT,
    TILE_DNGN_GATE_OPEN_MIDDLE,
    TILE_DNGN_GATE_OPEN_RIGHT,
    TILE_DNGN_VGATE_OPEN_UP,
    TILE_DNGN_VGATE_OPEN_MIDDLE,
    TILE_DNGN_VGATE_OPEN_DOWN,
    TILE_DNGN_RUNED_DOOR,
    TILE_DNGN_GATE_RUNED_LEFT,
    TILE_DNGN_GATE_RUNED_MIDDLE,
    TILE_DNGN_GATE_RUNED_RIGHT,
    TILE_DNGN_VGATE_RUNED_UP,
    TILE_DNGN_VGATE_RUNED_MIDDLE,
    TILE_DNGN_VGATE_RUNED_DOWN,
    TILE_DNGN_SEALED_DOOR,
    TILE_DNGN_GATE_SEALED_LEFT,
    TILE_DNGN_GATE_SEALED_MIDDLE,
    TILE_DNGN_GATE_SEALED_RIGHT,
    TILE_DNGN_VGATE_SEALED_UP,
    TILE_DNGN_VGATE_SEALED_MIDDLE,
    TILE_DNGN_VGATE_SEALED_DOWN,
    TILE_DNGN_BROKEN_DOOR,
    TILE_DNGN_GATE_BROKEN_LEFT,
    TILE_DNGN_GATE_BROKEN_MIDDLE,
    TILE_DNGN_GATE_BROKEN_RIGHT,
    TILE_DNGN_VGATE_BROKEN_UP,
    TILE_DNGN_VGATE_BROKEN_MIDDLE,
    TILE_DNGN_VGATE_BROKEN_DOWN,
    TILE_DNGN_CLOSED_CLEAR_DOOR,
    TILE_DNGN_GATE_CLOSED_CLEAR_LEFT,
    TILE_DNGN_GATE_CLOSED_CLEAR_MIDDLE,
    TILE_DNGN_GATE_CLOSED_CLEAR_RIGHT,
    TILE_DNGN_VGATE_CLOSED_CLEAR_UP,
    TILE_DNGN_VGATE_CLOSED_CLEAR_MIDDLE,
    TILE_DNGN_VGATE_CLOSED_CLEAR_DOWN,
    TILE_DNGN_OPEN_CLEAR_DOOR,
    TILE_DNGN_GATE_OPEN_CLEAR_LEFT,
    TILE_DNGN_GATE_OPEN_CLEAR_MIDDLE,
    TILE_DNGN_GATE_OPEN_CLEAR_RIGHT,
    TILE_DNGN_VGATE_OPEN_CLEAR_UP,
    TILE_DNGN_VGATE_OPEN_CLEAR_MIDDLE,
    TILE_DNGN_VGATE_OPEN_CLEAR_DOWN,
    TILE_DNGN_RUNED_CLEAR_DOOR,
    TILE_DNGN_GATE_RUNED_CLEAR_LEFT,
    TILE_DNGN_GATE_RUNED_CLEAR_MIDDLE,
    TILE_DNGN_GATE_RUNED_CLEAR_RIGHT,
    TILE_DNGN_VGATE_RUNED_CLEAR_UP,
    TILE_DNGN_VGATE_RUNED_CLEAR_MIDDLE,
    TILE_DNGN_VGATE_RUNED_CLEAR_DOWN,
    TILE_DNGN_SEALED_CLEAR_DOOR,
    TILE_DNGN_GATE_SEALED_CLEAR_LEFT,
    TILE_DNGN_GATE_SEALED_CLEAR_MIDDLE,
    TILE_DNGN_GATE_SEALED_CLEAR_RIGHT,
    TILE_DNGN_VGATE_SEALED_CLEAR_UP,
    TILE_DNGN_VGATE_SEALED_CLEAR_MIDDLE,
    TILE_DNGN_VGATE_SEALED_CLEAR_DOWN,
    TILE_DNGN_BROKEN_CLEAR_DOOR,
    TILE_DNGN_GATE_BROKEN_CLEAR_LEFT,
    TILE_DNGN_GATE_BROKEN_CLEAR_MIDDLE,
    TILE_DNGN_GATE_BROKEN_CLEAR_RIGHT,
    TILE_DNGN_VGATE_BROKEN_CLEAR_UP,
    TILE_DNGN_VGATE_BROKEN_CLEAR_MIDDLE,
    TILE_DNGN_VGATE_BROKEN_CLEAR_DOWN,
    TILE_DNGN_CLOSED_DOOR_CRYPT,
    TILE_DNGN_GATE_CLOSED_LEFT_CRYPT,
    TILE_DNGN_GATE_CLOSED_MIDDLE_CRYPT,
    TILE_DNGN_GATE_CLOSED_RIGHT_CRYPT,
    TILE_DNGN_VGATE_CLOSED_UP_CRYPT,
    TILE_DNGN_VGATE_CLOSED_MIDDLE_CRYPT,
    TILE_DNGN_VGATE_CLOSED_DOWN_CRYPT,
    TILE_DNGN_OPEN_DOOR_CRYPT,
    TILE_DNGN_GATE_OPEN_LEFT_CRYPT,
    TILE_DNGN_GATE_OPEN_MIDDLE_CRYPT,
    TILE_DNGN_GATE_OPEN_RIGHT_CRYPT,
    TILE_DNGN_VGATE_OPEN_UP_CRYPT,
    TILE_DNGN_VGATE_OPEN_MIDDLE_CRYPT,
    TILE_DNGN_VGATE_OPEN_DOWN_CRYPT,
    TILE_DNGN_BROKEN_DOOR_CRYPT,
    TILE_DNGN_GATE_BROKEN_LEFT_CRYPT,
    TILE_DNGN_GATE_BROKEN_MIDDLE_CRYPT,
    TILE_DNGN_GATE_BROKEN_RIGHT_CRYPT,
    TILE_DNGN_VGATE_BROKEN_UP_CRYPT,
    TILE_DNGN_VGATE_BROKEN_MIDDLE_CRYPT,
    TILE_DNGN_VGATE_BROKEN_DOWN_CRYPT,
    TILE_DNGN_FLESHY_ORIFICE,
    TILE_DNGN_FLESHY_ORIFICE_1,
    TILE_DNGN_FLESHY_ORIFICE_2,
    TILE_DNGN_STONE_ARCH,
    TILE_DNGN_ORCISH_IDOL,
    TILE_DNGN_METAL_STATUE,
    TILE_DNGN_GRANITE_STATUE,
    TILE_DNGN_STATUE_DWARF = TILE_DNGN_GRANITE_STATUE,
    TILE_DNGN_STATUE_ARCHER,
    TILE_DNGN_STATUE_TENGU,
    TILE_DNGN_STATUE_CENTAUR,
    TILE_DNGN_STATUE_SNAIL,
    TILE_DNGN_STATUE_CAT,
    TILE_DNGN_STATUE_PRINCESS,
    TILE_DNGN_STATUE_MERMAID,
    TILE_DNGN_STATUE_NAGA,
    TILE_DNGN_STATUE_DRAGON,
    TILE_DNGN_STATUE_HYDRA,
    TILE_DNGN_STATUE_ANGEL,
    TILE_DNGN_STATUE_ELEPHANT,
    TILE_DNGN_STATUE_WRAITH,
    TILE_DNGN_STATUE_IMP,
    TILE_DNGN_STATUE_ORB,
    TILE_DNGN_STATUE_CEREBOV,
    TILE_DNGN_STATUE_DEMONIC_BUST,
    TILE_DNGN_STATUE_TWINS,
    TILE_DNGN_STATUE_ORB_GUARDIAN,
    TILE_DNGN_STATUE_SWORD,
    TILE_DNGN_STATUE_AXE,
    TILE_DNGN_STATUE_POLEARM,
    TILE_DNGN_STATUE_SIGMUND,
    TILE_DNGN_STATUE_ANCIENT_HERO,
    TILE_DNGN_STATUE_ANCIENT_EVIL,
    TILE_DNGN_STATUE_TRIANGLE,
    TILE_DNGN_STATUE_MAW,
    TILE_DNGN_STATUE_TENTACLES,
    TILE_DNGN_GRANITE_STATUE_DEPTHS,
    TILE_DNGN_STATUE_DEPTHS_TENGU = TILE_DNGN_GRANITE_STATUE_DEPTHS,
    TILE_DNGN_STATUE_DEPTHS_SPRIGGAN,
    TILE_DNGN_STATUE_DEPTHS_ASMODEUS,
    TILE_DNGN_STATUE_DEPTHS_TOMES,
    TILE_DNGN_STATUE_DEPTHS_SERAPH,
    TILE_DNGN_STATUE_DEPTHS_FANGS,
    TILE_DNGN_GRANITE_STATUE_DEPTHS_ZOT,
    TILE_DNGN_STATUE_DEPTHS_ZOT_DRAGON = TILE_DNGN_GRANITE_STATUE_DEPTHS_ZOT,
    TILE_DNGN_STATUE_DEPTHS_ZOT_ORB_GUARDIAN,
    TILE_DNGN_STATUE_DEPTHS_ZOT_TENTACLES,
    TILE_DNGN_STATUE_DEPTHS_ZOT_ANGEL,
    TILE_DNGN_STATUE_DEPTHS_ZOT_DEVIL,
    TILE_DNGN_STATUE_DEPTHS_ZOT_CEREBOV,
    TILE_DNGN_STATUE_DEPTHS_ZOT_LICH,
    TILE_DNGN_STATUE_DEPTHS_ZOT_ANCIENT_EVIL,
    TILE_DNGN_GRANITE_STATUE_ZOT,
    TILE_DNGN_STATUE_ZOT_ORB = TILE_DNGN_GRANITE_STATUE_ZOT,
    TILE_DNGN_STATUE_ZOT_SERPENT,
    TILE_DNGN_STATUE_ZOT_OLD_GUARDIAN,
    TILE_DNGN_STATUE_ZOT_TORNADO,
    TILE_DNGN_STATUE_ZOT_OLDEST_GUARDIAN,
    TILE_DNGN_CRUMBLED_COLUMN,
    TILE_DNGN_CRUMBLED_COLUMN_1,
    TILE_DNGN_CRUMBLED_COLUMN_2,
    TILE_DNGN_CRUMBLED_COLUMN_3,
    TILE_DNGN_CRUMBLED_COLUMN_4,
    TILE_DNGN_CRUMBLED_COLUMN_5,
    TILE_DEPTHS_COLUMN,
    TILE_DEPTHS_CRUMBLED_COLUMN,
    TILE_DNGN_STATUE_IRON,
    TILE_DNGN_ZOT_FIRE_STATUE,
    TILE_DNGN_ZOT_WINTER_STATUE,
    TILE_DNGN_ZOT_ENTROPY_STATUE,
    TILE_DNGN_GRAVESTONE,
    TILE_DNGN_GRAVESTONE_1,
    TILE_DNGN_GRAVESTONE_2,
    TILE_DNGN_NECROPOLIS_GRAVESTONE,
    TILE_DNGN_NECROPOLIS_GRAVESTONE_1,
    TILE_DNGN_NECROPOLIS_GRAVESTONE_2,
    TILE_DNGN_ZONGULDROK_SHRINE,
    TILE_DNGN_TELEPORTER_ICE_CAVE,
    TILE_DNGN_GOLDEN_STATUE,
    TILE_DNGN_GOLDEN_STATUE_1,
    TILE_DNGN_GOLDEN_IRON_STATUE,
    TILE_DNGN_OKA_IRON_STATUE,
    TILE_DNGN_OKA_IRON_STATUE_1,
    TILE_DNGN_SILVER_STATUE,
    TILE_DNGN_SILVER_STATUE_1,
    TILE_DNGN_SILVER_STATUE_2,
    TILE_DNGN_SCINTILLATING_STATUE,
    TILE_DNGN_SCINTILLATING_STATUE_1,
    TILE_DNGN_SCINTILLATING_STATUE_2,
    TILE_DNGN_SCINTILLATING_STATUE_3,
    TILE_DNGN_SCINTILLATING_STATUE_4,
    TILE_DNGN_MYSTIC_CAGE,
    TILE_DNGN_MYSTIC_CAGE_1,
    TILE_DNGN_MYSTIC_CAGE_2,
    TILE_ARCANE_CONDUIT,
    TILE_ARCANE_CONDUIT_1,
    TILE_ARCANE_CONDUIT_2,
    TILE_ARCANE_CONDUIT_3,
    TILE_MISFORTUNE_CONDUIT,
    TILE_MISFORTUNE_CONDUIT_1,
    TILE_MISFORTUNE_CONDUIT_2,
    TILE_MISFORTUNE_CONDUIT_3,
    TILE_DIMENSIONAL_CONDUIT,
    TILE_DIMENSIONAL_CONDUIT_1,
    TILE_DIMENSIONAL_CONDUIT_2,
    TILE_DIMENSIONAL_CONDUIT_3,
    TILE_SOUL_CONDUIT,
    TILE_SOUL_CONDUIT_1,
    TILE_SOUL_CONDUIT_2,
    TILE_SOUL_CONDUIT_3,
    TILE_ALCHEMICAL_CONDUIT,
    TILE_ALCHEMICAL_CONDUIT_1,
    TILE_ALCHEMICAL_CONDUIT_2,
    TILE_ALCHEMICAL_CONDUIT_3,
    TILE_FIERY_CONDUIT,
    TILE_FIERY_CONDUIT_1,
    TILE_FIERY_CONDUIT_2,
    TILE_FIERY_CONDUIT_3,
    TILE_ICY_CONDUIT,
    TILE_ICY_CONDUIT_1,
    TILE_ICY_CONDUIT_2,
    TILE_ICY_CONDUIT_3,
    TILE_EARTHEN_CONDUIT,
    TILE_EARTHEN_CONDUIT_1,
    TILE_EARTHEN_CONDUIT_2,
    TILE_EARTHEN_CONDUIT_3,
    TILE_STORM_CONDUIT,
    TILE_STORM_CONDUIT_1,
    TILE_STORM_CONDUIT_2,
    TILE_STORM_CONDUIT_3,
    TILE_DNGN_ENIGMATIC_DYNAMO,
    TILE_DNGN_NASCENCE_CIRCUIT,
    TILE_DNGN_SARCOPHAGUS_SEALED,
    TILE_DNGN_SARCOPHAGUS_PEDESTAL_LEFT,
    TILE_DNGN_SARCOPHAGUS_PEDESTAL_RIGHT,
    TILE_DNGN_STATUE_ELEPHANT_JADE,
    TILE_DNGN_STATUE_IRON_GOLEM,
    TILE_DNGN_DIMENSION_EDGE,
    TILE_DNGN_DISCO_BALL,
    TILE_DNGN_ORB_DAIS,
    TILE_DNGN_MOP,
    TILE_DNGN_MOP_BLOODY,
    TILE_DNGN_YAK_FUR,
    TILE_DNGN_LECTERN,
    TILE_DNGN_FLOWER_POT,
    TILE_DNGN_FLOWER_POT_BROKEN,
    TILE_DNGN_DARK_FLOWER_POT,
    TILE_DNGN_DARK_FLOWER_POT_BROKEN,
    TILE_DNGN_DJEMBE,
    TILE_DNGN_ENSIGN_BEOGH,
    TILE_DNGN_ENSIGN_DARK,
    TILE_DNGN_ENSIGN_GEHENNA,
    TILE_DNGN_BOTTLED_SPIRITS,
    TILE_DNGN_SKULL_PIKE,
    TILE_DNGN_SKULL_PIKE_1,
    TILE_DNGN_STACKED_BOOKS,
    TILE_DNGN_STACKED_BOOKS_1,
    TILE_DNGN_STACKED_BOOKS_2,
    TILE_DNGN_FOUNTAIN_NOVELTY_FANCY,
    TILE_DNGN_FOUNTAIN_NOVELTY_OCTOPODE,
    TILE_DNGN_FOUNTAIN_NOVELTY_LANTERN,
    TILE_DNGN_FOUNTAIN_NOVELTY_XOM,
    TILE_STONE_SMOOTH_WALL_BEOGH,
    TILE_STONE_SMOOTH_WALL_BEOGH_1,
    TILE_DNGN_GILDED_RELIQUARY,
    TILE_DNGN_SPIKE_LAUNCHER,
    TILE_PLACEHOLDER1,
    TILE_PLACEHOLDER2,
    TILE_PLACEHOLDER3,
    TILE_DNGN_TRAP_BOLT,
    TILE_DNGN_TRAP_SPEAR,
    TILE_DNGN_TRAP_NET,
    TILE_DNGN_TRAP_ALARM,
    TILE_DNGN_TRAP_SHAFT,
    TILE_DNGN_TRAP_TYRANT,
    TILE_DNGN_TRAP_ARCHMAGE,
    TILE_DNGN_TRAP_HARLEQUIN,
    TILE_DNGN_TRAP_HARLEQUIN_1,
    TILE_DNGN_TRAP_HARLEQUIN_2,
    TILE_DNGN_TRAP_HARLEQUIN_3,
    TILE_DNGN_TRAP_HARLEQUIN_4,
    TILE_DNGN_TRAP_DEVOURER,
    TILE_DNGN_TRAP_DISPERSAL,
    TILE_DNGN_TRAP_DISPERSAL_INACTIVE,
    TILE_DNGN_TRAP_TELEPORT,
    TILE_DNGN_TRAP_TELEPORT_PERMANENT,
    TILE_DNGN_TRAP_ZOT,
    TILE_DNGN_TRAP_GOLUBRIA,
    TILE_DNGN_TRAP_PLATE,
    TILE_DNGN_BINDING_SIGIL,
    TILE_DNGN_TRAP_WEB,
    TILE_DNGN_TRAP_WEB_1,
    TILE_DNGN_TRAP_WEB_2,
    TILE_DNGN_TRAP_WEB_3,
    TILE_DNGN_TRAP_WEB_4,
    TILE_DNGN_TRAP_WEB_N,
    TILE_DNGN_TRAP_WEB_E,
    TILE_DNGN_TRAP_WEB_NE,
    TILE_DNGN_TRAP_WEB_S,
    TILE_DNGN_TRAP_WEB_NS,
    TILE_DNGN_TRAP_WEB_ES,
    TILE_DNGN_TRAP_WEB_NES,
    TILE_DNGN_TRAP_WEB_W,
    TILE_DNGN_TRAP_WEB_NW,
    TILE_DNGN_TRAP_WEB_EW,
    TILE_DNGN_TRAP_WEB_NEW,
    TILE_DNGN_TRAP_WEB_SW,
    TILE_DNGN_TRAP_WEB_NSW,
    TILE_DNGN_TRAP_WEB_ESW,
    TILE_DNGN_TRAP_WEB_NESW,
    TILE_DNGN_EXIT_DUNGEON,
    TILE_DNGN_STONE_STAIRS_DOWN,
    TILE_DNGN_STONE_STAIRS_UP,
    TILE_DNGN_ESCAPE_HATCH_DOWN,
    TILE_DNGN_ESCAPE_HATCH_UP,
    TILE_DNGN_SHOALS_STAIRS_DOWN,
    TILE_DNGN_SHOALS_STAIRS_UP,
    TILE_DNGN_METAL_STAIRS_DOWN,
    TILE_DNGN_METAL_STAIRS_UP,
    TILE_DNGN_ZOT_STAIRS_DOWN,
    TILE_DNGN_ZOT_STAIRS_UP,
    TILE_DNGN_SLIMY_STAIRS_DOWN,
    TILE_DNGN_SLIMY_STAIRS_UP,
    TILE_DNGN_ENTER,
    TILE_DNGN_RETURN,
    TILE_DNGN_SEALED_STAIRS_UP,
    TILE_DNGN_SEALED_STAIRS_DOWN,
    TILE_DNGN_ONE_WAY_STAIRS_UP,
    TILE_DNGN_ONE_WAY_STAIRS_DOWN,
    TILE_SHOP_GENERAL,
    TILE_SHOP_WEAPONS,
    TILE_SHOP_ARMOUR,
    TILE_SHOP_FOOD,
    TILE_SHOP_BOOKS,
    TILE_SHOP_SCROLLS,
    TILE_SHOP_WANDS,
    TILE_SHOP_JEWELLERY,
    TILE_SHOP_POTIONS,
    TILE_SHOP_GADGETS,
    TILE_DNGN_ABANDONED_SHOP,
    TILE_DNGN_ENTER_ZOT_CLOSED,
    TILE_DNGN_ENTER_ZOT_OPEN,
    TILE_DNGN_RETURN_ZOT,
    TILE_DNGN_ENTER_TEMPLE,
    TILE_DNGN_EXIT_TEMPLE,
    TILE_DNGN_ENTER_ORC,
    TILE_DNGN_EXIT_ORC,
    TILE_DNGN_ENTER_ELF,
    TILE_DNGN_EXIT_ELF,
    TILE_DNGN_ENTER_LAIR,
    TILE_DNGN_EXIT_LAIR,
    TILE_DNGN_ENTER_SNAKE,
    TILE_DNGN_EXIT_SNAKE,
    TILE_DNGN_ENTER_SWAMP,
    TILE_DNGN_EXIT_SWAMP,
    TILE_DNGN_ENTER_SPIDER,
    TILE_DNGN_EXIT_SPIDER,
    TILE_DNGN_ENTER_SHOALS,
    TILE_DNGN_EXIT_SHOALS,
    TILE_DNGN_ENTER_SLIME,
    TILE_DNGN_EXIT_SLIME,
    TILE_DNGN_EXIT_VAULTS_CLOSED,
    TILE_DNGN_ENTER_VAULTS,
    TILE_DNGN_EXIT_VAULTS_OPEN,
    TILE_DNGN_ENTER_DEPTHS,
    TILE_DNGN_RETURN_DEPTHS,
    TILE_DNGN_ENTER_CRYPT,
    TILE_DNGN_EXIT_CRYPT,
    TILE_DNGN_ENTER_TOMB,
    TILE_DNGN_EXIT_TOMB,
    TILE_DNGN_ENTER_HELL,
    TILE_DNGN_ENTER_HELL_1,
    TILE_DNGN_ENTER_HELL_2,
    TILE_DNGN_RETURN_VESTIBULE,
    TILE_DNGN_STONE_ARCH_HELL,
    TILE_DNGN_ENTER_DIS,
    TILE_DNGN_ENTER_DIS_1,
    TILE_DNGN_ENTER_DIS_2,
    TILE_DNGN_ENTER_GEHENNA,
    TILE_DNGN_ENTER_GEHENNA_1,
    TILE_DNGN_ENTER_GEHENNA_2,
    TILE_DNGN_ENTER_COCYTUS,
    TILE_DNGN_ENTER_COCYTUS_1,
    TILE_DNGN_ENTER_COCYTUS_2,
    TILE_DNGN_ENTER_TARTARUS,
    TILE_DNGN_ENTER_TARTARUS_1,
    TILE_DNGN_ENTER_TARTARUS_2,
    TILE_DNGN_RETURN_HELL,
    TILE_DNGN_ENTER_ABYSS,
    TILE_DNGN_ENTER_ABYSS_1,
    TILE_DNGN_ENTER_ABYSS_2,
    TILE_DNGN_EXIT_ABYSS,
    TILE_DNGN_EXIT_ABYSS_1,
    TILE_DNGN_ABYSSAL_STAIR,
    TILE_DNGN_ENTER_PANDEMONIUM,
    TILE_DNGN_PORTAL,
    TILE_DNGN_PORTAL_1,
    TILE_DNGN_PORTAL_EXPIRED,
    TILE_DNGN_STARRY_PORTAL,
    TILE_DNGN_TRANSIT_PANDEMONIUM,
    TILE_DNGN_EXIT_PANDEMONIUM,
    TILE_DNGN_EXIT_PANDEMONIUM_1,
    TILE_DNGN_PORTAL_NECROPOLIS,
    TILE_DNGN_NECROPOLIS_GONE,
    TILE_DNGN_EXIT_NECROPOLIS,
    TILE_DNGN_EXIT_NECROPOLIS_1,
    TILE_DNGN_PORTAL_VOLCANO,
    TILE_DNGN_PORTAL_VOLCANO_GONE,
    TILE_DNGN_EXIT_VOLCANO,
    TILE_DNGN_PORTAL_SEWER,
    TILE_DNGN_EXIT_SEWER,
    TILE_DNGN_PORTAL_SEWER_RUSTED,
    TILE_DNGN_PORTAL_ICE_CAVE,
    TILE_DNGN_PORTAL_ICE_CAVE_GONE,
    TILE_DNGN_PORTAL_GLACIAL_CHASM,
    TILE_DNGN_PORTAL_GLACIAL_CHASM_GONE,
    TILE_DNGN_PORTAL_WIZARD_LAB,
    TILE_DNGN_PORTAL_WIZARD_LAB_1,
    TILE_DNGN_PORTAL_WIZARD_LAB_2,
    TILE_DNGN_PORTAL_WIZARD_LAB_3,
    TILE_DNGN_PORTAL_WIZARD_LAB_4,
    TILE_DNGN_PORTAL_WIZARD_LAB_5,
    TILE_DNGN_PORTAL_WIZARD_LAB_6,
    TILE_DNGN_PORTAL_WIZARD_LAB_7,
    TILE_DNGN_PORTAL_WIZLAB_GONE,
    TILE_DNGN_PORTAL_OSSUARY,
    TILE_DNGN_EXIT_OSSUARY,
    TILE_DNGN_PORTAL_OSSUARY_GONE,
    TILE_DNGN_PORTAL_BAILEY,
    TILE_DNGN_EXIT_BAILEY,
    TILE_DNGN_PORTAL_BAILEY_GONE,
    TILE_DNGN_PORTAL_GAUNTLET,
    TILE_DNGN_PORTAL_GAUNTLET_GONE,
    TILE_DNGN_PORTAL_TROVE,
    TILE_DNGN_PORTAL_TROVE_GONE,
    TILE_DNGN_PORTAL_BAZAAR,
    TILE_DNGN_PORTAL_BAZAAR_GONE,
    TILE_DNGN_PORTAL_ZIGGURAT,
    TILE_DNGN_PORTAL_ZIGGURAT_GONE,
    TILE_DNGN_PORTAL_DESOLATION,
    TILE_DNGN_EXIT_DESOLATION,
    TILE_DNGN_PORTAL_DESOLATION_GONE,
    TILE_DNGN_EXIT_CRUCIBLE,
    TILE_DNGN_UNKNOWN_PORTAL,
    TILE_DNGN_ALTAR_ZIN,
    TILE_DNGN_ALTAR_ZIN_1,
    TILE_DNGN_ALTAR_ZIN_2,
    TILE_DNGN_ALTAR_ZIN_3,
    TILE_DNGN_ALTAR_ZIN_4,
    TILE_DNGN_ALTAR_ZIN_5,
    TILE_DNGN_ALTAR_SHINING_ONE,
    TILE_DNGN_ALTAR_KIKUBAAQUDGHA,
    TILE_DNGN_ALTAR_YREDELEMNUL,
    TILE_DNGN_ALTAR_XOM,
    TILE_DNGN_ALTAR_XOM_1,
    TILE_DNGN_ALTAR_XOM_2,
    TILE_DNGN_ALTAR_XOM_3,
    TILE_DNGN_ALTAR_XOM_4,
    TILE_DNGN_ALTAR_XOM_5,
    TILE_DNGN_ALTAR_XOM_6,
    TILE_DNGN_ALTAR_XOM_7,
    TILE_DNGN_ALTAR_VEHUMET,
    TILE_DNGN_ALTAR_VEHUMET_1,
    TILE_DNGN_ALTAR_OKAWARU,
    TILE_DNGN_ALTAR_MAKHLEB,
    TILE_DNGN_ALTAR_MAKHLEB_1,
    TILE_DNGN_ALTAR_MAKHLEB_2,
    TILE_DNGN_ALTAR_MAKHLEB_3,
    TILE_DNGN_ALTAR_MAKHLEB_4,
    TILE_DNGN_ALTAR_MAKHLEB_5,
    TILE_DNGN_ALTAR_MAKHLEB_6,
    TILE_DNGN_ALTAR_MAKHLEB_7,
    TILE_DNGN_ALTAR_SIF_MUNA,
    TILE_DNGN_ALTAR_SIF_MUNA_1,
    TILE_DNGN_ALTAR_SIF_MUNA_2,
    TILE_DNGN_ALTAR_SIF_MUNA_3,
    TILE_DNGN_ALTAR_TROG,
    TILE_DNGN_ALTAR_NEMELEX_XOBEH,
    TILE_DNGN_ALTAR_NEMELEX_XOBEH_1,
    TILE_DNGN_ALTAR_NEMELEX_XOBEH_2,
    TILE_DNGN_ALTAR_NEMELEX_XOBEH_3,
    TILE_DNGN_ALTAR_NEMELEX_XOBEH_4,
    TILE_DNGN_ALTAR_ELYVILON,
    TILE_DNGN_ALTAR_LUGONU,
    TILE_DNGN_ALTAR_BEOGH,
    TILE_DNGN_ALTAR_JIYVA,
    TILE_DNGN_ALTAR_JIYVA_1,
    TILE_DNGN_ALTAR_JIYVA_2,
    TILE_DNGN_ALTAR_JIYVA_3,
    TILE_DNGN_ALTAR_JIYVA_4,
    TILE_DNGN_ALTAR_JIYVA_5,
    TILE_DNGN_ALTAR_JIYVA_6,
    TILE_DNGN_ALTAR_JIYVA_7,
    TILE_DNGN_ALTAR_JIYVA_8,
    TILE_DNGN_ALTAR_JIYVA_9,
    TILE_DNGN_ALTAR_JIYVA_10,
    TILE_DNGN_ALTAR_JIYVA_11,
    TILE_DNGN_ALTAR_FEDHAS,
    TILE_DNGN_ALTAR_CHEIBRIADOS,
    TILE_DNGN_ALTAR_ASHENZARI,
    TILE_DNGN_ALTAR_DITHMENOS,
    TILE_DNGN_ALTAR_DITHMENOS_1,
    TILE_DNGN_ALTAR_DITHMENOS_2,
    TILE_DNGN_ALTAR_DITHMENOS_3,
    TILE_DNGN_ALTAR_GOZAG,
    TILE_DNGN_ALTAR_GOZAG_1,
    TILE_DNGN_ALTAR_GOZAG_2,
    TILE_DNGN_ALTAR_QAZLAL,
    TILE_DNGN_ALTAR_QAZLAL_1,
    TILE_DNGN_ALTAR_QAZLAL_2,
    TILE_DNGN_ALTAR_RU,
    TILE_DNGN_ALTAR_PAKELLAS,
    TILE_DNGN_ALTAR_PAKELLAS_1,
    TILE_DNGN_ALTAR_PAKELLAS_2,
    TILE_DNGN_ALTAR_PAKELLAS_3,
    TILE_DNGN_ALTAR_USKAYAW,
    TILE_DNGN_ALTAR_HEPLIAKLQANA,
    TILE_DNGN_ALTAR_HEPLIAKLQANA_1,
    TILE_DNGN_ALTAR_HEPLIAKLQANA_2,
    TILE_DNGN_ALTAR_HEPLIAKLQANA_3,
    TILE_DNGN_ALTAR_HEPLIAKLQANA_4,
    TILE_DNGN_ALTAR_HEPLIAKLQANA_5,
    TILE_DNGN_ALTAR_WU_JIAN,
    TILE_DNGN_ALTAR_IGNIS,
    TILE_DNGN_ALTAR_ECUMENICAL,
    TILE_DNGN_UNKNOWN_ALTAR,
    TILE_DNGN_RUNELIGHT,
    TILE_DNGN_RUNELIGHT_1,
    TILE_DNGN_RUNELIGHT_2,
    TILE_DNGN_RUNELIGHT_3,
    TILE_DNGN_FOUNTAIN,
    TILE_DNGN_BLUE_FOUNTAIN = TILE_DNGN_FOUNTAIN,
    TILE_DNGN_FOUNTAIN_1,
    TILE_DNGN_SPARKLING_FOUNTAIN,
    TILE_DNGN_SPARKLING_FOUNTAIN_1,
    TILE_DNGN_BLOOD_FOUNTAIN,
    TILE_DNGN_BLOOD_FOUNTAIN_1,
    TILE_DNGN_EYES_FOUNTAIN,
    TILE_DNGN_DRY_FOUNTAIN,
    TILE_DNGN_DRY_FOUNTAIN_WHITE,
    TILE_DNGN_DECORATIVE_FLOOR,
    TILE_DNGN_CACHE_OF_FRUIT,
    TILE_DNGN_CACHE_OF_FRUIT_1,
    TILE_DNGN_CACHE_OF_FRUIT_2,
    TILE_DNGN_CACHE_OF_MEAT,
    TILE_DNGN_CACHE_OF_PIZZA = TILE_DNGN_CACHE_OF_MEAT,
    TILE_DNGN_CACHE_OF_MEAT_1,
    TILE_DNGN_CACHE_OF_BAKED_GOODS,
    TILE_DNGN_CACHE_OF_BAKED_GOODS_1,
    TILE_DNGN_GARDEN_PATCH,
    TILE_DNGN_FLOWER_PATCH,
    TILE_DNGN_FLOWER_PATCH_1,
    TILE_DNGN_FLOWER_PATCH_2,
    TILE_DNGN_FLOWER_PATCH_3,
    TILE_DNGN_TELEPORTER,
    TILE_DNGN_TRANSPORTER,
    TILE_DNGN_TRANSPORTER_LANDING,
    TILE_BLOOD,
    TILE_BLOOD_1,
    TILE_BLOOD_2,
    TILE_BLOOD_3,
    TILE_BLOOD_4,
    TILE_BLOOD_5,
    TILE_BLOOD_6,
    TILE_BLOOD_7,
    TILE_BLOOD_8,
    TILE_BLOOD_9,
    TILE_BLOOD_10,
    TILE_BLOOD_11,
    TILE_BLOOD_12,
    TILE_BLOOD_13,
    TILE_BLOOD_14,
    TILE_BLOOD_15,
    TILE_BLOOD_16,
    TILE_BLOOD_17,
    TILE_BLOOD_18,
    TILE_BLOOD_19,
    TILE_BLOOD_20,
    TILE_BLOOD_21,
    TILE_BLOOD_22,
    TILE_BLOOD_23,
    TILE_BLOOD_24,
    TILE_BLOOD_25,
    TILE_BLOOD_26,
    TILE_BLOOD_27,
    TILE_BLOOD_28,
    TILE_BLOOD_29,
    TILE_WALL_BLOOD_S,
    TILE_WALL_BLOOD_S_1,
    TILE_WALL_BLOOD_S_2,
    TILE_WALL_BLOOD_S_3,
    TILE_WALL_BLOOD_S_4,
    TILE_WALL_BLOOD_S_5,
    TILE_WALL_BLOOD_S_6,
    TILE_WALL_BLOOD_S_7,
    TILE_WALL_BLOOD_S_8,
    TILE_WALL_BLOOD_S_9,
    TILE_WALL_BLOOD_S_10,
    TILE_WALL_BLOOD_S_11,
    TILE_WALL_BLOOD_S_12,
    TILE_WALL_BLOOD_S_13,
    TILE_WALL_BLOOD_S_14,
    TILE_WALL_BLOOD_S_15,
    TILE_WALL_BLOOD_S_16,
    TILE_WALL_BLOOD_S_17,
    TILE_WALL_BLOOD_W,
    TILE_WALL_BLOOD_W_1,
    TILE_WALL_BLOOD_W_2,
    TILE_WALL_BLOOD_W_3,
    TILE_WALL_BLOOD_W_4,
    TILE_WALL_BLOOD_W_5,
    TILE_WALL_BLOOD_W_6,
    TILE_WALL_BLOOD_W_7,
    TILE_WALL_BLOOD_W_8,
    TILE_WALL_BLOOD_W_9,
    TILE_WALL_BLOOD_W_10,
    TILE_WALL_BLOOD_W_11,
    TILE_WALL_BLOOD_W_12,
    TILE_WALL_BLOOD_W_13,
    TILE_WALL_BLOOD_W_14,
    TILE_WALL_BLOOD_W_15,
    TILE_WALL_BLOOD_W_16,
    TILE_WALL_BLOOD_W_17,
    TILE_WALL_BLOOD_N,
    TILE_WALL_BLOOD_N_1,
    TILE_WALL_BLOOD_N_2,
    TILE_WALL_BLOOD_N_3,
    TILE_WALL_BLOOD_N_4,
    TILE_WALL_BLOOD_N_5,
    TILE_WALL_BLOOD_N_6,
    TILE_WALL_BLOOD_N_7,
    TILE_WALL_BLOOD_N_8,
    TILE_WALL_BLOOD_N_9,
    TILE_WALL_BLOOD_N_10,
    TILE_WALL_BLOOD_N_11,
    TILE_WALL_BLOOD_N_12,
    TILE_WALL_BLOOD_N_13,
    TILE_WALL_BLOOD_N_14,
    TILE_WALL_BLOOD_N_15,
    TILE_WALL_BLOOD_N_16,
    TILE_WALL_BLOOD_N_17,
    TILE_WALL_BLOOD_E,
    TILE_WALL_BLOOD_E_1,
    TILE_WALL_BLOOD_E_2,
    TILE_WALL_BLOOD_E_3,
    TILE_WALL_BLOOD_E_4,
    TILE_WALL_BLOOD_E_5,
    TILE_WALL_BLOOD_E_6,
    TILE_WALL_BLOOD_E_7,
    TILE_WALL_BLOOD_E_8,
    TILE_WALL_BLOOD_E_9,
    TILE_WALL_BLOOD_E_10,
    TILE_WALL_BLOOD_E_11,
    TILE_WALL_BLOOD_E_12,
    TILE_WALL_BLOOD_E_13,
    TILE_WALL_BLOOD_E_14,
    TILE_WALL_BLOOD_E_15,
    TILE_WALL_BLOOD_E_16,
    TILE_WALL_BLOOD_E_17,
    TILE_WALL_OLD_BLOOD,
    TILE_WALL_OLD_BLOOD_1,
    TILE_WALL_OLD_BLOOD_2,
    TILE_WALL_OLD_BLOOD_3,
    TILE_WALL_OLD_BLOOD_4,
    TILE_WALL_OLD_BLOOD_5,
    TILE_WALL_OLD_BLOOD_6,
    TILE_WALL_OLD_BLOOD_7,
    TILE_WALL_OLD_BLOOD_8,
    TILE_WALL_OLD_BLOOD_9,
    TILE_HALO_RANGE,
    TILE_UMBRA,
    TILE_UMBRA_1,
    TILE_UMBRA_2,
    TILE_UMBRA_3,
    TILE_ORB_GLOW,
    TILE_ORB_GLOW_1,
    TILE_QUAD_GLOW,
    TILE_DISJUNCT,
    TILE_DISJUNCT_1,
    TILE_DISJUNCT_2,
    TILE_DISJUNCT_3,
    TILE_LANDING,
    TILE_HEAT_AURA,
    TILE_HEAT_AURA_1,
    TILE_HEAT_AURA_2,
    TILE_HALO_FRIENDLY,
    TILE_HALO_GD_NEUTRAL,
    TILE_HALO_NEUTRAL,
    TILE_HALO_SUMMONER,
    TILE_THREAT_TRIVIAL,
    TILE_THREAT_EASY,
    TILE_THREAT_TOUGH,
    TILE_THREAT_NASTY,
    TILE_THREAT_GHOST_TRIVIAL,
    TILE_THREAT_GHOST_EASY,
    TILE_THREAT_GHOST_TOUGH,
    TILE_THREAT_GHOST_NASTY,
    TILE_THREAT_UNUSUAL,
    TILE_TRAVEL_EXCLUSION_BG,
    TILE_TRAVEL_EXCLUSION_CENTRE_BG,
    TILE_SANCTUARY,
    TILE_BLOOD_FOR_BLOOD,
    TILE_BLASPHEMY,
    TILE_MOLD,
    TILE_MOLD_1,
    TILE_MOLD_2,
    TILE_MOLD_3,
    TILE_GLOWING_MOLD,
    TILE_GLOWING_MOLD_1,
    TILE_GLOWING_MOLD_2,
    TILE_GLOWING_MOLD_3,
    TILE_SILENCED,
    TILE_KRAKEN_OVERLAY_NW,
    TILE_KRAKEN_OVERLAY_NE,
    TILE_KRAKEN_OVERLAY_SE,
    TILE_KRAKEN_OVERLAY_SW,
    TILE_KRAKEN_ZOMBIE_OVERLAY_NW,
    TILE_KRAKEN_ZOMBIE_OVERLAY_NE,
    TILE_KRAKEN_ZOMBIE_OVERLAY_SE,
    TILE_KRAKEN_ZOMBIE_OVERLAY_SW,
    TILE_KRAKEN_SIMULACRUM_OVERLAY_NW,
    TILE_KRAKEN_SIMULACRUM_OVERLAY_NE,
    TILE_KRAKEN_SIMULACRUM_OVERLAY_SE,
    TILE_KRAKEN_SIMULACRUM_OVERLAY_SW,
    TILE_KRAKEN_SPECTRAL_OVERLAY_NW,
    TILE_KRAKEN_SPECTRAL_OVERLAY_NE,
    TILE_KRAKEN_SPECTRAL_OVERLAY_SE,
    TILE_KRAKEN_SPECTRAL_OVERLAY_SW,
    TILE_ELDRITCH_OVERLAY_NW,
    TILE_ELDRITCH_OVERLAY_NE,
    TILE_ELDRITCH_OVERLAY_SE,
    TILE_ELDRITCH_OVERLAY_SW,
    TILE_STARSPAWN_OVERLAY_NW,
    TILE_STARSPAWN_OVERLAY_NE,
    TILE_STARSPAWN_OVERLAY_SE,
    TILE_STARSPAWN_OVERLAY_SW,
    TILE_VINE_OVERLAY_NW,
    TILE_VINE_OVERLAY_NE,
    TILE_VINE_OVERLAY_SE,
    TILE_VINE_OVERLAY_SW,
    TILE_HIGHLIGHT_DARK_YELLOW,
    TILE_RAY_OUT_OF_RANGE = TILE_HIGHLIGHT_DARK_YELLOW,
    TILE_HIGHLIGHT_YELLOW,
    TILE_RAY = TILE_HIGHLIGHT_YELLOW,
    TILE_HIGHLIGHT_BRIGHT_YELLOW,
    TILE_RAY_MULTI = TILE_HIGHLIGHT_BRIGHT_YELLOW,
    TILE_FEAT_MAX
};

unsigned int tile_feat_count(tileidx_t idx);
tileidx_t tile_feat_basetile(tileidx_t idx);
int tile_feat_probs(tileidx_t idx);
int tile_feat_dominoes(tileidx_t idx);
const char *tile_feat_name(tileidx_t idx);
tile_info &tile_feat_info(tileidx_t idx);
bool tile_feat_index(const char *str, tileidx_t *idx);
bool tile_feat_equal(tileidx_t tile, tileidx_t idx);
tileidx_t tile_feat_coloured(tileidx_t idx, int col);
tileidx_t tile_feat_enchanted(tileidx_t idx, int ench);
