// This file has been automatically generated.

#ifndef TILEDEF_MAIN_H
#define TILEDEF_MAIN_H

#include "tiledef_defines.h"

enum tile_main_type
{
    TILE_MAIN_FILLER_0 = 0,
    TILE_SPWPN_SINGING_SWORD,
    TILE_SPWPN_WRATH_OF_TROG,
    TILE_SPWPN_SCYTHE_OF_CURSES,
    TILE_SPWPN_MACE_OF_VARIABILITY,
    TILE_SPWPN_GLAIVE_OF_PRUNE,
    TILE_SPWPN_SCEPTRE_OF_TORMENT,
    TILE_SPWPN_SWORD_OF_ZONGULDROK,
    TILE_SPWPN_SWORD_OF_CEREBOV,
    TILE_SPWPN_STAFF_OF_DISPATER,
    TILE_SPWPN_SCEPTRE_OF_ASMODEUS,
    TILE_SPWPN_SWORD_OF_POWER,
    TILE_SPWPN_STAFF_OF_OLGREB,
    TILE_SPWPN_VAMPIRES_TOOTH,
    TILE_SPWPN_STAFF_OF_WUCAD_MU,
    TILE_URAND_BLOODBANE,
    TILE_URAND_FLAMING_DEATH,
    TILE_URAND_BRILLIANCE,
    TILE_URAND_LEECH,
    TILE_URAND_CHILLY_DEATH,
    TILE_URAND_MORG,
    TILE_URAND_FINISHER,
    TILE_URAND_PUNK,
    TILE_URAND_KRISHNA,
    TILE_URAND_SKULLCRUSHER,
    TILE_URAND_GUARD,
    TILE_URAND_JIHAD,
    TILE_URAND_FIERY_DEVIL,
    TILE_URAND_DOOM_KNIGHT,
    TILE_URAND_EOS,
    TILE_URAND_VOO_DOO,
    TILE_URAND_OCTOPUS_KING,
    TILE_URAND_ARGA,
    TILE_URAND_ELEMENTAL,
    TILE_URAND_SNIPER,
    TILE_URAND_ERCHIDEL,
    TILE_URAND_PLUTONIUM,
    TILE_URAND_UNDEADHUNTER,
    TILE_URAND_BLOWGUN,
    TILE_URAND_SERPENT_SCOURGE,
    TILE_URAND_WYRMBANE,
    TILE_URAND_SPRIGGANS_KNIFE,
    TILE_URAND_KNIFE_OF_ACCURACY,
    TILE_URAND_IGNORANCE,
    TILE_URAND_AUGMENTATION,
    TILE_URAND_THIEF,
    TILE_URAND_BULLSEYE,
    TILE_URAND_DYROVEPREVA,
    TILE_URAND_MISFORTUNE,
    TILE_URAND_FLASH,
    TILE_URAND_ASSASSIN,
    TILE_URAND_LEAR,
    TILE_URAND_ZHOR,
    TILE_URAND_SALAMANDER,
    TILE_URAND_WAR,
    TILE_URAND_RESISTANCE,
    TILE_URAND_FOLLY,
    TILE_URAND_MAXWELL,
    TILE_URAND_DRAGONMASK,
    TILE_URAND_NIGHT,
    TILE_URAND_DRAGON_KING,
    TILE_URAND_ALCHEMIST,
    TILE_URAND_FENCER,
    TILE_URAND_STARLIGHT,
    TILE_URAND_SHADOWS,
    TILE_URAND_SHAOLIN,
    TILE_URAND_ROBUSTNESS,
    TILE_URAND_MAGE,
    TILE_URAND_CEKUGOB,
    TILE_URAND_FOUR_WINDS,
    TILE_URAND_BLOODLUST,
    TILE_URAND_BROOCH_OF_SHIELDING,
    TILE_URAND_AIR,
    TILE_WPN_CLUB,
    TILE_WPN_MACE,
    TILE_MAIN_FILLER_75,
    TILE_WPN_GREAT_MACE,
    TILE_MAIN_FILLER_77,
    TILE_WPN_FLAIL,
    TILE_MAIN_FILLER_79,
    TILE_WPN_SPIKED_FLAIL,
    TILE_MAIN_FILLER_81,
    TILE_WPN_GREAT_FLAIL,
    TILE_MAIN_FILLER_83,
    TILE_WPN_MORNINGSTAR,
    TILE_MAIN_FILLER_85,
    TILE_WPN_EVENINGSTAR,
    TILE_MAIN_FILLER_87,
    TILE_WPN_HAMMER,
    TILE_MAIN_FILLER_89,
    TILE_WPN_ANKUS,
    TILE_WPN_WHIP,
    TILE_WPN_DEMON_WHIP,
    TILE_WPN_GIANT_CLUB,
    TILE_WPN_GIANT_SPIKED_CLUB,
    TILE_WPN_KNIFE,
    TILE_WPN_DAGGER,
    TILE_WPN_DAGGER_ORC,
    TILE_WPN_DAGGER_ELF,
    TILE_WPN_SHORT_SWORD,
    TILE_MAIN_FILLER_100,
    TILE_WPN_SHORT_SWORD_ORC,
    TILE_WPN_SHORT_SWORD_ELF,
    TILE_WPN_LONG_SWORD,
    TILE_MAIN_FILLER_104,
    TILE_WPN_LONG_SWORD_ORC,
    TILE_WPN_GREAT_SWORD,
    TILE_MAIN_FILLER_107,
    TILE_WPN_GREAT_SWORD_ORC,
    TILE_WPN_FALCHION,
    TILE_MAIN_FILLER_110,
    TILE_WPN_SCIMITAR,
    TILE_MAIN_FILLER_112,
    TILE_WPN_SABRE,
    TILE_MAIN_FILLER_114,
    TILE_WPN_QUICK_BLADE,
    TILE_WPN_KATANA,
    TILE_MAIN_FILLER_117,
    TILE_WPN_DOUBLE_SWORD,
    TILE_WPN_TRIPLE_SWORD,
    TILE_WPN_DEMON_BLADE,
    TILE_WPN_HAND_AXE,
    TILE_MAIN_FILLER_122,
    TILE_WPN_WAR_AXE,
    TILE_MAIN_FILLER_124,
    TILE_WPN_BROAD_AXE,
    TILE_MAIN_FILLER_126,
    TILE_MAIN_FILLER_127,
    TILE_WPN_BATTLEAXE,
    TILE_MAIN_FILLER_129,
    TILE_MAIN_FILLER_130,
    TILE_WPN_EXECUTIONERS_AXE,
    TILE_MAIN_FILLER_132,
    TILE_WPN_BLOWGUN,
    TILE_MAIN_FILLER_134,
    TILE_WPN_SLING,
    TILE_WPN_BOW,
    TILE_MAIN_FILLER_137,
    TILE_WPN_CROSSBOW,
    TILE_MAIN_FILLER_139,
    TILE_WPN_HAND_CROSSBOW,
    TILE_MAIN_FILLER_141,
    TILE_WPN_QUARTERSTAFF,
    TILE_WPN_SPEAR,
    TILE_MAIN_FILLER_144,
    TILE_WPN_TRIDENT,
    TILE_MAIN_FILLER_146,
    TILE_WPN_HALBERD,
    TILE_MAIN_FILLER_148,
    TILE_WPN_SCYTHE,
    TILE_MAIN_FILLER_150,
    TILE_WPN_GLAIVE,
    TILE_MAIN_FILLER_152,
    TILE_WPN_GLAIVE_ORC,
    TILE_WPN_BARDICHE,
    TILE_MAIN_FILLER_155,
    TILE_WPN_DEMON_TRIDENT,
    TILE_WPN_BLESSED_BLADE,
    TILE_WPN_LONGBOW,
    TILE_WPN_LAJATANG,
    TILE_MAIN_FILLER_160,
    TILE_BRAND_FLAMING,
    TILE_BRAND_FREEZING,
    TILE_BRAND_HOLY_WRATH,
    TILE_BRAND_ELECTROCUTION,
    TILE_BRAND_ORC_SLAYING,
    TILE_BRAND_DRAGON_SLAYING,
    TILE_BRAND_VENOM,
    TILE_BRAND_PROTECTION,
    TILE_BRAND_DRAINING,
    TILE_BRAND_SPEED,
    TILE_BRAND_VORPAL,
    TILE_BRAND_FLAME,
    TILE_BRAND_FROST,
    TILE_BRAND_VAMPIRICISM,
    TILE_BRAND_PAIN,
    TILE_BRAND_DISTORTION,
    TILE_BRAND_REACHING,
    TILE_BRAND_RETURNING,
    TILE_BRAND_CHAOS,
    TILE_BRAND_POISONED,
    TILE_BRAND_CURARE,
    TILE_MI_STONE,
    TILE_MI_STONE0,
    TILE_MI_SLING_BULLET,
    TILE_MI_SLING_BULLET0,
    TILE_MI_ARROW,
    TILE_MI_ARROW0,
    TILE_MI_ARROW1,
    TILE_MI_ARROW2,
    TILE_MI_ARROW3,
    TILE_MI_ARROW4,
    TILE_MI_ARROW5,
    TILE_MI_ARROW6,
    TILE_MI_ARROW7,
    TILE_MI_BOLT,
    TILE_MI_BOLT0,
    TILE_MI_BOLT1,
    TILE_MI_BOLT2,
    TILE_MI_BOLT3,
    TILE_MI_BOLT4,
    TILE_MI_BOLT5,
    TILE_MI_BOLT6,
    TILE_MI_BOLT7,
    TILE_MI_DART,
    TILE_MI_DART_P,
    TILE_MI_DART0,
    TILE_MI_DART1,
    TILE_MI_DART2,
    TILE_MI_DART3,
    TILE_MI_DART4,
    TILE_MI_DART5,
    TILE_MI_DART6,
    TILE_MI_DART7,
    TILE_MI_NEEDLE,
    TILE_MI_NEEDLE_P,
    TILE_MI_NEEDLE0,
    TILE_MI_NEEDLE1,
    TILE_MI_NEEDLE2,
    TILE_MI_NEEDLE3,
    TILE_MI_NEEDLE4,
    TILE_MI_NEEDLE5,
    TILE_MI_NEEDLE6,
    TILE_MI_NEEDLE7,
    TILE_MI_JAVELIN,
    TILE_MI_JAVELIN0,
    TILE_MI_JAVELIN1,
    TILE_MI_JAVELIN2,
    TILE_MI_JAVELIN3,
    TILE_MI_JAVELIN4,
    TILE_MI_JAVELIN5,
    TILE_MI_JAVELIN6,
    TILE_MI_JAVELIN7,
    TILE_MI_THROWING_NET,
    TILE_MI_THROWING_NET0,
    TILE_MI_THROWING_NET1,
    TILE_MI_THROWING_NET2,
    TILE_MI_THROWING_NET3,
    TILE_MI_THROWING_NET4,
    TILE_MI_THROWING_NET5,
    TILE_MI_THROWING_NET6,
    TILE_MI_THROWING_NET7,
    TILE_TRAP_NET,
    TILE_MI_LARGE_ROCK,
    TILE_MI_LARGE_ROCK0,
    TILE_ARM_ROBE,
    TILE_MAIN_FILLER_246,
    TILE_MAIN_FILLER_247,
    TILE_ARM_LEATHER_ARMOUR,
    TILE_MAIN_FILLER_249,
    TILE_MAIN_FILLER_250,
    TILE_ARM_LEATHER_ARMOUR_ORC,
    TILE_ARM_LEATHER_ARMOUR_ELF,
    TILE_ARM_RING_MAIL,
    TILE_MAIN_FILLER_254,
    TILE_ARM_RING_MAIL_ORC,
    TILE_ARM_RING_MAIL_ELF,
    TILE_ARM_RING_MAIL_DWA,
    TILE_ARM_SCALE_MAIL,
    TILE_MAIN_FILLER_259,
    TILE_ARM_SCALE_MAIL_ELF,
    TILE_ARM_CHAIN_MAIL,
    TILE_MAIN_FILLER_262,
    TILE_ARM_CHAIN_MAIL_ELF,
    TILE_ARM_CHAIN_MAIL_ORC,
    TILE_ARM_SPLINT_MAIL,
    TILE_ARM_BANDED_MAIL,
    TILE_ARM_PLATE_MAIL,
    TILE_ARM_PLATE_MAIL_ORC,
    TILE_ARM_CRYSTAL_PLATE_MAIL,
    TILE_ARM_ANIMAL_SKIN,
    TILE_MAIN_FILLER_271,
    TILE_ARM_TROLL_HIDE,
    TILE_ARM_TROLL_LEATHER_ARMOUR,
    TILE_ARM_DRAGON_HIDE,
    TILE_ARM_DRAGON_ARMOUR,
    TILE_ARM_ICE_DRAGON_HIDE,
    TILE_ARM_ICE_DRAGON_ARMOUR,
    TILE_ARM_STEAM_DRAGON_HIDE,
    TILE_ARM_STEAM_DRAGON_ARMOUR,
    TILE_ARM_MOTTLED_DRAGON_HIDE,
    TILE_ARM_MOTTLED_DRAGON_ARMOUR,
    TILE_ARM_STORM_DRAGON_HIDE,
    TILE_ARM_STORM_DRAGON_ARMOUR,
    TILE_ARM_GOLD_DRAGON_HIDE,
    TILE_ARM_GOLD_DRAGON_ARMOUR,
    TILE_ARM_SWAMP_DRAGON_HIDE,
    TILE_ARM_SWAMP_DRAGON_ARMOUR,
    TILE_ARM_CLOAK,
    TILE_MAIN_FILLER_289,
    TILE_MAIN_FILLER_290,
    TILE_MAIN_FILLER_291,
    TILE_ARM_NAGA_BARDING,
    TILE_MAIN_FILLER_293,
    TILE_MAIN_FILLER_294,
    TILE_MAIN_FILLER_295,
    TILE_ARM_CENTAUR_BARDING,
    TILE_MAIN_FILLER_297,
    TILE_MAIN_FILLER_298,
    TILE_MAIN_FILLER_299,
    TILE_ARM_BUCKLER,
    TILE_MAIN_FILLER_301,
    TILE_MAIN_FILLER_302,
    TILE_ARM_SHIELD,
    TILE_MAIN_FILLER_304,
    TILE_MAIN_FILLER_305,
    TILE_ARM_LARGE_SHIELD,
    TILE_MAIN_FILLER_307,
    TILE_MAIN_FILLER_308,
    TILE_THELM_CAP,
    TILE_THELM_WIZARD_HAT,
    TILE_MAIN_FILLER_311,
    TILE_THELM_HELM,
    TILE_MAIN_FILLER_313,
    TILE_MAIN_FILLER_314,
    TILE_MAIN_FILLER_315,
    TILE_ARM_GLOVES,
    TILE_MAIN_FILLER_317,
    TILE_MAIN_FILLER_318,
    TILE_MAIN_FILLER_319,
    TILE_ARM_BOOTS,
    TILE_MAIN_FILLER_321,
    TILE_MAIN_FILLER_322,
    TILE_MAIN_FILLER_323,
    TILE_WAND_OFFSET,
    TILE_MAIN_FILLER_325,
    TILE_MAIN_FILLER_326,
    TILE_MAIN_FILLER_327,
    TILE_MAIN_FILLER_328,
    TILE_MAIN_FILLER_329,
    TILE_MAIN_FILLER_330,
    TILE_MAIN_FILLER_331,
    TILE_MAIN_FILLER_332,
    TILE_MAIN_FILLER_333,
    TILE_MAIN_FILLER_334,
    TILE_MAIN_FILLER_335,
    TILE_WAND_FLAME,
    TILE_WAND_FROST,
    TILE_WAND_SLOWING,
    TILE_WAND_HASTING,
    TILE_WAND_MAGIC_DARTS,
    TILE_WAND_HEALING,
    TILE_WAND_PARALYSIS,
    TILE_WAND_FIRE,
    TILE_WAND_COLD,
    TILE_WAND_CONFUSION,
    TILE_WAND_INVISIBILITY,
    TILE_WAND_DIGGING,
    TILE_WAND_FIREBALL,
    TILE_WAND_TELEPORTATION,
    TILE_WAND_LIGHTNING,
    TILE_WAND_POLYMORPH_OTHER,
    TILE_WAND_ENSLAVEMENT,
    TILE_WAND_DRAINING,
    TILE_WAND_RANDOM_EFFECTS,
    TILE_WAND_DISINTEGRATION,
    TILE_FOOD_MEAT_RATION,
    TILE_FOOD_BREAD_RATION,
    TILE_FOOD_PEAR,
    TILE_FOOD_APPLE,
    TILE_FOOD_CHOKO,
    TILE_FOOD_HONEYCOMB,
    TILE_FOOD_ROYAL_JELLY,
    TILE_FOOD_SNOZZCUMBER,
    TILE_FOOD_PIZZA,
    TILE_FOOD_APRICOT,
    TILE_FOOD_ORANGE,
    TILE_FOOD_BANANA,
    TILE_FOOD_STRAWBERRY,
    TILE_FOOD_RAMBUTAN,
    TILE_FOOD_LEMON,
    TILE_FOOD_GRAPE,
    TILE_FOOD_SULTANA,
    TILE_FOOD_LYCHEE,
    TILE_FOOD_BEEF_JERKY,
    TILE_FOOD_CHEESE,
    TILE_FOOD_SAUSAGE,
    TILE_FOOD_CHUNK,
    TILE_FOOD_CHUNK_ROTTEN,
    TILE_FOOD_BONE,
    TILE_SCROLL,
    TILE_SCR_IDENTIFY,
    TILE_SCR_TELEPORTATION,
    TILE_SCR_FEAR,
    TILE_SCR_NOISE,
    TILE_SCR_REMOVE_CURSE,
    TILE_SCR_DETECT_CURSE,
    TILE_SCR_SUMMONING,
    TILE_SCR_ENCHANT_WEAPON_I,
    TILE_SCR_ENCHANT_ARMOUR,
    TILE_SCR_TORMENT,
    TILE_SCR_RANDOM_USELESSNESS,
    TILE_SCR_CURSE_WEAPON,
    TILE_SCR_CURSE_ARMOUR,
    TILE_SCR_IMMOLATION,
    TILE_SCR_BLINKING,
    TILE_SCR_PAPER,
    TILE_SCR_MAGIC_MAPPING,
    TILE_SCR_FOG,
    TILE_SCR_ACQUIREMENT,
    TILE_SCR_ENCHANT_WEAPON_II,
    TILE_SCR_VORPALISE_WEAPON,
    TILE_SCR_RECHARGING,
    TILE_SCR_ENCHANT_WEAPON_III,
    TILE_SCR_HOLY_WORD,
    TILE_SCR_VULNERABILITY,
    TILE_RING_NORMAL_OFFSET,
    TILE_MAIN_FILLER_407,
    TILE_MAIN_FILLER_408,
    TILE_MAIN_FILLER_409,
    TILE_MAIN_FILLER_410,
    TILE_MAIN_FILLER_411,
    TILE_MAIN_FILLER_412,
    TILE_MAIN_FILLER_413,
    TILE_MAIN_FILLER_414,
    TILE_MAIN_FILLER_415,
    TILE_MAIN_FILLER_416,
    TILE_MAIN_FILLER_417,
    TILE_MAIN_FILLER_418,
    TILE_MAIN_FILLER_419,
    TILE_RING_RANDOM_OFFSET,
    TILE_MAIN_FILLER_421,
    TILE_MAIN_FILLER_422,
    TILE_MAIN_FILLER_423,
    TILE_MAIN_FILLER_424,
    TILE_MAIN_FILLER_425,
    TILE_MAIN_FILLER_426,
    TILE_MAIN_FILLER_427,
    TILE_MAIN_FILLER_428,
    TILE_MAIN_FILLER_429,
    TILE_MAIN_FILLER_430,
    TILE_MAIN_FILLER_431,
    TILE_MAIN_FILLER_432,
    TILE_MAIN_FILLER_433,
    TILE_MAIN_FILLER_434,
    TILE_RING_REGENERATION,
    TILE_RING_PROTECTION,
    TILE_RING_PROTECTION_FROM_FIRE,
    TILE_RING_POISON_RESISTANCE,
    TILE_RING_PROTECTION_FROM_COLD,
    TILE_RING_STRENGTH,
    TILE_RING_SLAYING,
    TILE_RING_SEE_INVISIBLE,
    TILE_RING_INVISIBILITY,
    TILE_RING_HUNGER,
    TILE_RING_TELEPORTATION,
    TILE_RING_EVASION,
    TILE_RING_SUSTAIN_ABILITIES,
    TILE_RING_SUSTENANCE,
    TILE_RING_DEXTERITY,
    TILE_RING_INTELLIGENCE,
    TILE_RING_WIZARDRY,
    TILE_RING_MAGICAL_POWER,
    TILE_RING_LEVITATION,
    TILE_RING_LIFE_PROTECTION,
    TILE_RING_PROTECTION_FROM_MAGIC,
    TILE_RING_FIRE,
    TILE_RING_ICE,
    TILE_RING_TELEPORT_CONTROL,
    TILE_AMU_NORMAL_OFFSET,
    TILE_MAIN_FILLER_460,
    TILE_MAIN_FILLER_461,
    TILE_MAIN_FILLER_462,
    TILE_MAIN_FILLER_463,
    TILE_MAIN_FILLER_464,
    TILE_MAIN_FILLER_465,
    TILE_MAIN_FILLER_466,
    TILE_MAIN_FILLER_467,
    TILE_MAIN_FILLER_468,
    TILE_MAIN_FILLER_469,
    TILE_MAIN_FILLER_470,
    TILE_MAIN_FILLER_471,
    TILE_MAIN_FILLER_472,
    TILE_AMU_RANDOM_OFFSET,
    TILE_MAIN_FILLER_474,
    TILE_MAIN_FILLER_475,
    TILE_MAIN_FILLER_476,
    TILE_MAIN_FILLER_477,
    TILE_MAIN_FILLER_478,
    TILE_MAIN_FILLER_479,
    TILE_MAIN_FILLER_480,
    TILE_MAIN_FILLER_481,
    TILE_MAIN_FILLER_482,
    TILE_MAIN_FILLER_483,
    TILE_MAIN_FILLER_484,
    TILE_MAIN_FILLER_485,
    TILE_MAIN_FILLER_486,
    TILE_MAIN_FILLER_487,
    TILE_AMU_RAGE,
    TILE_AMU_RESIST_SLOW,
    TILE_AMU_CLARITY,
    TILE_AMU_WARDING,
    TILE_AMU_RESIST_CORROSION,
    TILE_AMU_THE_GOURMAND,
    TILE_AMU_CONSERVATION,
    TILE_AMU_CONTROLLED_FLIGHT,
    TILE_AMU_INACCURACY,
    TILE_AMU_RESIST_MUTATION,
    TILE_POTION_OFFSET,
    TILE_MAIN_FILLER_499,
    TILE_MAIN_FILLER_500,
    TILE_MAIN_FILLER_501,
    TILE_MAIN_FILLER_502,
    TILE_MAIN_FILLER_503,
    TILE_MAIN_FILLER_504,
    TILE_MAIN_FILLER_505,
    TILE_MAIN_FILLER_506,
    TILE_MAIN_FILLER_507,
    TILE_MAIN_FILLER_508,
    TILE_MAIN_FILLER_509,
    TILE_MAIN_FILLER_510,
    TILE_MAIN_FILLER_511,
    TILE_POT_HEALING,
    TILE_POT_HEAL_WOUNDS,
    TILE_POT_SPEED,
    TILE_POT_MIGHT,
    TILE_POT_GAIN_STRENGTH,
    TILE_POT_GAIN_DEXTERITY,
    TILE_POT_GAIN_INTELLIGENCE,
    TILE_POT_LEVITATION,
    TILE_POT_POISON,
    TILE_POT_SLOWING,
    TILE_POT_PARALYSIS,
    TILE_POT_CONFUSION,
    TILE_POT_INVISIBILITY,
    TILE_POT_PORRIDGE,
    TILE_POT_DEGENERATION,
    TILE_POT_DECAY,
    TILE_POT_WATER,
    TILE_POT_EXPERIENCE,
    TILE_POT_MAGIC,
    TILE_POT_RESTORE_ABILITIES,
    TILE_POT_STRONG_POISON,
    TILE_POT_BERSERK_RAGE,
    TILE_POT_CURE_MUTATION,
    TILE_POT_MUTATION,
    TILE_POT_RESISTANCE,
    TILE_POT_BLOOD,
    TILE_POT_BLOOD_COAGULATED,
    TILE_BOOK_PAPER_OFFSET,
    TILE_MAIN_FILLER_540,
    TILE_MAIN_FILLER_541,
    TILE_MAIN_FILLER_542,
    TILE_MAIN_FILLER_543,
    TILE_MAIN_FILLER_544,
    TILE_MAIN_FILLER_545,
    TILE_MAIN_FILLER_546,
    TILE_MAIN_FILLER_547,
    TILE_MAIN_FILLER_548,
    TILE_MAIN_FILLER_549,
    TILE_MAIN_FILLER_550,
    TILE_MAIN_FILLER_551,
    TILE_MAIN_FILLER_552,
    TILE_MAIN_FILLER_553,
    TILE_MAIN_FILLER_554,
    TILE_BOOK_LEATHER_OFFSET,
    TILE_MAIN_FILLER_556,
    TILE_MAIN_FILLER_557,
    TILE_MAIN_FILLER_558,
    TILE_MAIN_FILLER_559,
    TILE_MAIN_FILLER_560,
    TILE_MAIN_FILLER_561,
    TILE_MAIN_FILLER_562,
    TILE_BOOK_METAL_OFFSET,
    TILE_MAIN_FILLER_564,
    TILE_MAIN_FILLER_565,
    TILE_MAIN_FILLER_566,
    TILE_MAIN_FILLER_567,
    TILE_MAIN_FILLER_568,
    TILE_MAIN_FILLER_569,
    TILE_MAIN_FILLER_570,
    TILE_BOOK_PAPYRUS,
    TILE_BOOK_RANDART_OFFSET,
    TILE_MAIN_FILLER_573,
    TILE_MAIN_FILLER_574,
    TILE_MAIN_FILLER_575,
    TILE_MAIN_FILLER_576,
    TILE_MAIN_FILLER_577,
    TILE_MAIN_FILLER_578,
    TILE_STAFF_OFFSET,
    TILE_MAIN_FILLER_580,
    TILE_MAIN_FILLER_581,
    TILE_MAIN_FILLER_582,
    TILE_MAIN_FILLER_583,
    TILE_MAIN_FILLER_584,
    TILE_MAIN_FILLER_585,
    TILE_MAIN_FILLER_586,
    TILE_MAIN_FILLER_587,
    TILE_MAIN_FILLER_588,
    TILE_STAFF_WIZARDRY,
    TILE_STAFF_POWER,
    TILE_STAFF_FIRE,
    TILE_STAFF_COLD,
    TILE_STAFF_POISON,
    TILE_STAFF_ENERGY,
    TILE_STAFF_DEATH,
    TILE_STAFF_CONJURATION,
    TILE_STAFF_ENCHANTMENT,
    TILE_STAFF_SUMMONING,
    TILE_STAFF_AIR,
    TILE_STAFF_EARTH,
    TILE_STAFF_CHANNELING,
    TILE_ROD_OFFSET,
    TILE_MAIN_FILLER_603,
    TILE_MAIN_FILLER_604,
    TILE_MAIN_FILLER_605,
    TILE_MAIN_FILLER_606,
    TILE_MAIN_FILLER_607,
    TILE_MAIN_FILLER_608,
    TILE_MAIN_FILLER_609,
    TILE_MAIN_FILLER_610,
    TILE_MAIN_FILLER_611,
    TILE_ROD_SMITING,
    TILE_ROD_SUMMONING,
    TILE_ROD_DESTRUCTION_FIRE,
    TILE_ROD_DESTRUCTION_ICE,
    TILE_ROD_DESTRUCTION_LIGHTNING,
    TILE_ROD_DESTRUCTION_INACCURACY,
    TILE_ROD_WARDING,
    TILE_ROD_DISCOVERY,
    TILE_ROD_DEMONOLOGY,
    TILE_ROD_STRIKING,
    TILE_ROD_VENOM,
    TILE_ORB,
    TILE_MISC_BOTTLED_EFREET,
    TILE_MISC_CRYSTAL_BALL_OF_ENERGY,
    TILE_MISC_CRYSTAL_BALL_OF_FIXATION,
    TILE_MISC_CRYSTAL_BALL_OF_SEEING,
    TILE_MISC_AIR_ELEMENTAL_FAN,
    TILE_MISC_LAMP_OF_FIRE,
    TILE_MISC_STONE_OF_EARTH_ELEMENTALS,
    TILE_MISC_LANTERN_OF_SHADOWS,
    TILE_MISC_HORN_OF_GERYON,
    TILE_MISC_EMPTY_EBONY_CASKET,
    TILE_MISC_BOX_OF_BEASTS,
    TILE_MISC_DISC_OF_STORMS,
    TILE_MISC_DECK,
    TILE_MAIN_FILLER_637,
    TILE_MAIN_FILLER_638,
    TILE_MAIN_FILLER_639,
    TILE_MAIN_FILLER_640,
    TILE_MAIN_FILLER_641,
    TILE_MAIN_FILLER_642,
    TILE_MAIN_FILLER_643,
    TILE_MAIN_FILLER_644,
    TILE_MAIN_FILLER_645,
    TILE_MISC_DECK_RARE,
    TILE_MAIN_FILLER_647,
    TILE_MAIN_FILLER_648,
    TILE_MAIN_FILLER_649,
    TILE_MAIN_FILLER_650,
    TILE_MAIN_FILLER_651,
    TILE_MAIN_FILLER_652,
    TILE_MAIN_FILLER_653,
    TILE_MAIN_FILLER_654,
    TILE_MAIN_FILLER_655,
    TILE_MISC_DECK_LEGENDARY,
    TILE_MAIN_FILLER_657,
    TILE_MAIN_FILLER_658,
    TILE_MAIN_FILLER_659,
    TILE_MAIN_FILLER_660,
    TILE_MAIN_FILLER_661,
    TILE_MAIN_FILLER_662,
    TILE_MAIN_FILLER_663,
    TILE_MAIN_FILLER_664,
    TILE_MAIN_FILLER_665,
    TILE_MISC_RUNE_OF_ZOT,
    TILE_MISC_RUNE_TARTARUS,
    TILE_MISC_RUNE_COCYTUS,
    TILE_MISC_RUNE_DIS,
    TILE_MISC_RUNE_GEHENNA,
    TILE_MISC_RUNE_CEREBOV,
    TILE_MISC_RUNE_GLOORX_VLOQ,
    TILE_MISC_RUNE_MNOLEG,
    TILE_MISC_RUNE_LOM_LOBON,
    TILE_GOLD,
    TILE_CORPSE_GLOWING_SHAPESHIFTER,
    TILE_CORPSE_HELL_KNIGHT,
    TILE_CORPSE_HUMAN,
    TILE_CORPSE_NECROMANCER,
    TILE_CORPSE_SHAPESHIFTER,
    TILE_CORPSE_WIZARD,
    TILE_CORPSE_BORING_BEETLE,
    TILE_CORPSE_BOULDER_BEETLE,
    TILE_CORPSE_GIANT_BEETLE,
    TILE_CORPSE_CYCLOPS,
    TILE_CORPSE_FIRE_GIANT,
    TILE_CORPSE_FROST_GIANT,
    TILE_CORPSE_HILL_GIANT,
    TILE_CORPSE_ETTIN,
    TILE_CORPSE_STONE_GIANT,
    TILE_CORPSE_TITAN,
    TILE_CORPSE_DRAGON,
    TILE_CORPSE_GOLDEN_DRAGON,
    TILE_CORPSE_HYDRA,
    TILE_CORPSE_ICE_DRAGON,
    TILE_CORPSE_IRON_DRAGON,
    TILE_CORPSE_QUICKSILVER_DRAGON,
    TILE_CORPSE_SHADOW_DRAGON,
    TILE_CORPSE_STORM_DRAGON,
    TILE_CORPSE_SWAMP_DRAGON,
    TILE_CORPSE_WYVERN,
    TILE_CORPSE_BLINK_FROG,
    TILE_CORPSE_GIANT_BROWN_FROG,
    TILE_CORPSE_GIANT_FROG,
    TILE_CORPSE_SPINY_FROG,
    TILE_CORPSE_EYE_OF_DRAINING,
    TILE_CORPSE_GIANT_EYEBALL,
    TILE_CORPSE_GIANT_ORANGE_BRAIN,
    TILE_CORPSE_GREAT_ORB_OF_EYES,
    TILE_CORPSE_GRIFFON,
    TILE_CORPSE_HIPPOGRIFF,
    TILE_CORPSE_GIANT_AMOEBA,
    TILE_CORPSE_KOBOLD,
    TILE_CORPSE_BIG_KOBOLD,
    TILE_CORPSE_GREATER_NAGA,
    TILE_CORPSE_GUARDIAN_NAGA,
    TILE_CORPSE_NAGA,
    TILE_CORPSE_OGRE,
    TILE_CORPSE_TWO_HEADED_OGRE,
    TILE_CORPSE_QUEEN_ANT,
    TILE_CORPSE_QUEEN_BEE,
    TILE_CORPSE_BLACK_SNAKE,
    TILE_CORPSE_BROWN_SNAKE,
    TILE_CORPSE_GREY_SNAKE,
    TILE_CORPSE_SMALL_SNAKE,
    TILE_CORPSE_SNAKE,
    TILE_CORPSE_YELLOW_SNAKE,
    TILE_CORPSE_DEEP_TROLL,
    TILE_CORPSE_IRON_TROLL,
    TILE_CORPSE_ROCK_TROLL,
    TILE_CORPSE_TROLL,
    TILE_CORPSE_BEAR,
    TILE_CORPSE_BLACK_BEAR,
    TILE_CORPSE_GRIZZLY_BEAR,
    TILE_CORPSE_POLAR_BEAR,
    TILE_CORPSE_DEATH_YAK,
    TILE_CORPSE_SHEEP,
    TILE_CORPSE_YAK,
    TILE_CORPSE_GIANT_ANT,
    TILE_CORPSE_GIANT_COCKROACH,
    TILE_CORPSE_SOLDIER_ANT,
    TILE_CORPSE_BUTTERFLY,
    TILE_CORPSE_GIANT_BAT,
    TILE_CORPSE_CENTAUR,
    TILE_CORPSE_YAKTAUR,
    TILE_CORPSE_FIREDRAKE,
    TILE_CORPSE_LINDWURM,
    TILE_CORPSE_MOTTLED_DRAGON,
    TILE_CORPSE_STEAM_DRAGON,
    TILE_CORPSE_SWAMP_DRAKE,
    TILE_CORPSE_DEATH_DRAKE,
    TILE_CORPSE_ELF,
    TILE_CORPSE_GNOLL,
    TILE_CORPSE_GOBLIN,
    TILE_CORPSE_HOBGOBLIN,
    TILE_CORPSE_JACKAL,
    TILE_CORPSE_HOG,
    TILE_CORPSE_HOUND,
    TILE_CORPSE_WARG,
    TILE_CORPSE_WAR_DOG,
    TILE_CORPSE_WOLF,
    TILE_CORPSE_BUMBLEBEE,
    TILE_CORPSE_KILLER_BEE,
    TILE_CORPSE_GIANT_GECKO,
    TILE_CORPSE_GIANT_IGUANA,
    TILE_CORPSE_GIANT_LIZARD,
    TILE_CORPSE_GIANT_NEWT,
    TILE_CORPSE_GILA_MONSTER,
    TILE_CORPSE_KOMODO_DRAGON,
    TILE_CORPSE_ELEPHANT_SLUG,
    TILE_CORPSE_GIANT_SLUG,
    TILE_CORPSE_GIANT_SNAIL,
    TILE_CORPSE_MANTICORE,
    TILE_CORPSE_MINOTAUR,
    TILE_CORPSE_GHOUL,
    TILE_CORPSE_NECROPHAGE,
    TILE_CORPSE_ORC,
    TILE_CORPSE_GREEN_RAT,
    TILE_CORPSE_GREY_RAT,
    TILE_CORPSE_ORANGE_RAT,
    TILE_CORPSE_QUOKKA,
    TILE_CORPSE_RAT,
    TILE_CORPSE_GIANT_CENTIPEDE,
    TILE_CORPSE_GIANT_MITE,
    TILE_CORPSE_REDBACK,
    TILE_CORPSE_SCORPION,
    TILE_CORPSE_WOLF_SPIDER,
    TILE_CORPSE_TRAPDOOR_SPIDER,
    TILE_CORPSE_UGLY_THING,
    TILE_CORPSE_VERY_UGLY_THING,
    TILE_CORPSE_ANT_LARVA,
    TILE_CORPSE_BRAIN_WORM,
    TILE_CORPSE_KILLER_BEE_LARVA,
    TILE_CORPSE_SPINY_WORM,
    TILE_CORPSE_SWAMP_WORM,
    TILE_CORPSE_WORM,
    TILE_CORPSE_GIANT_BLOWFLY,
    TILE_CORPSE_GIANT_MOSQUITO,
    TILE_CORPSE_RED_WASP,
    TILE_CORPSE_YELLOW_WASP,
    TILE_CORPSE_DRACONIAN_BLACK,
    TILE_CORPSE_DRACONIAN_BROWN,
    TILE_CORPSE_DRACONIAN_GREEN,
    TILE_CORPSE_DRACONIAN_GREY,
    TILE_CORPSE_DRACONIAN_MOTTLED,
    TILE_CORPSE_DRACONIAN_PALE,
    TILE_CORPSE_DRACONIAN_PURPLE,
    TILE_CORPSE_DRACONIAN_RED,
    TILE_CORPSE_DRACONIAN_WHITE,
    TILE_CORPSE_DRACONIAN_YELLOW,
    TILE_CORPSE_MERMAID,
    TILE_CORPSE_MERFOLK_FIGHTER,
    TILE_SYM_BOLT_OFS,
    TILE_MAIN_FILLER_814,
    TILE_MAIN_FILLER_815,
    TILE_MAIN_FILLER_816,
    TILE_MAIN_FILLER_817,
    TILE_MAIN_FILLER_818,
    TILE_MAIN_FILLER_819,
    TILE_MAIN_FILLER_820,
    TILE_CLOUD_FIRE_0,
    TILE_CLOUD_FIRE_1,
    TILE_CLOUD_FIRE_2,
    TILE_CLOUD_COLD_0,
    TILE_CLOUD_COLD_1,
    TILE_CLOUD_COLD_2,
    TILE_CLOUD_POISON_0,
    TILE_CLOUD_POISON_1,
    TILE_CLOUD_POISON_2,
    TILE_CLOUD_BLACK_SMOKE,
    TILE_CLOUD_BLUE_SMOKE,
    TILE_CLOUD_GREY_SMOKE,
    TILE_CLOUD_MIASMA,
    TILE_CLOUD_PURP_SMOKE,
    TILE_UNSEEN_WEAPON,
    TILE_UNSEEN_MONSTER,
    TILE_UNSEEN_ARMOUR,
    TILE_UNSEEN_ITEM,
    TILE_UNSEEN_CORPSE,
    TILE_UNSEEN_ALTAR,
    TILE_UNSEEN_ENTRANCE,
    TILE_MASK_DEEP_WATER,
    TILE_MASK_SHALLOW_WATER,
    TILE_MASK_DEEP_WATER_MURKY,
    TILE_MASK_SHALLOW_WATER_MURKY,
    TILE_MASK_LAVA,
    TILE_CURSOR,
    TILE_CURSOR2,
    TILE_CURSOR3,
    TILE_TUTORIAL_CURSOR,
    TILE_HEART,
    TILE_NEUTRAL,
    TILE_ANIMATED_WEAPON,
    TILE_POISON,
    TILE_FLAME,
    TILE_MAY_STAB_BRAND,
    TILE_STAB_BRAND,
    TILE_MESH,
    TILE_OOR_MESH,
    TILE_MAGIC_MAP_MESH,
    TILE_SOMETHING_UNDER,
    TILE_ERROR,
    TILE_TRAVEL_EXCLUSION_FG,
    TILE_TRAVEL_EXCLUSION_CENTRE_FG,
    TILE_TODO,
    TILE_NEW_STAIR,
    TILE_NUM0,
    TILE_NUM1,
    TILE_NUM2,
    TILE_NUM3,
    TILE_NUM4,
    TILE_NUM5,
    TILE_NUM6,
    TILE_NUM7,
    TILE_NUM8,
    TILE_NUM9,
    TILE_TRIED,
    TILE_ITEM_SLOT_EQUIP,
    TILE_ITEM_SLOT_CURSED,
    TILE_ITEM_SLOT_EQUIP_CURSED,
    TILE_ITEM_SLOT_SELECTED,
    TILE_MDAM_LIGHTLY_DAMAGED,
    TILE_MDAM_MODERATELY_DAMAGED,
    TILE_MDAM_HEAVILY_DAMAGED,
    TILE_MDAM_SEVERELY_DAMAGED,
    TILE_MDAM_ALMOST_DEAD,
    TILE_MAIN_MAX
};

int tile_main_count(unsigned int idx);
const char *tile_main_name(unsigned int idx);
tile_info &tile_main_info(unsigned int idx);
bool tile_main_index(const char *str, unsigned int &idx);
bool tile_main_equal(unsigned int tile, unsigned int idx);

#endif

