Skip to content

Instantly share code, notes, and snippets.

@rwbarton
Created November 21, 2012 01:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rwbarton/4122556 to your computer and use it in GitHub Desktop.
Save rwbarton/4122556 to your computer and use it in GitHub Desktop.
crawl enums (C)
enum CHAR_ATTRIBUTES {
CHATTR_NORMAL = 0,
CHATTR_STANDOUT = 1,
CHATTR_BOLD = 2,
CHATTR_BLINK = 3,
CHATTR_UNDERLINE = 4,
CHATTR_REVERSE = 5,
CHATTR_DIM = 6,
CHATTR_HILITE = 7,
CHATTR_ATTRMASK = 15,
CHATTR_COLMASK = 3840,
};
enum COLORS {
BLACK = 0,
BLUE = 1,
GREEN = 2,
CYAN = 3,
RED = 4,
MAGENTA = 5,
BROWN = 6,
LIGHTGRAY = 7,
LIGHTGREY = 7,
DARKGRAY = 8,
DARKGREY = 8,
LIGHTBLUE = 9,
LIGHTGREEN = 10,
LIGHTCYAN = 11,
LIGHTRED = 12,
LIGHTMAGENTA = 13,
YELLOW = 14,
WHITE = 15,
MAX_TERM_COLOUR = 16,
};
enum Direction {
UP = 0,
DOWN = 1,
LEFT = 2,
RIGHT = 3,
};
enum GotoRegion {
GOTO_CRT = 0,
GOTO_MSG = 1,
GOTO_STAT = 2,
GOTO_DNGN = 3,
GOTO_MLIST = 4,
};
enum InputReturnValue {
INPUT_NO_ACTION = 0,
INPUT_SELECTED = 1,
INPUT_DESELECTED = 2,
INPUT_END_MENU_SUCCESS = 3,
INPUT_END_MENU_ABORT = 4,
INPUT_ACTIVE_CHANGED = 5,
INPUT_FOCUS_RELEASE_UP = 6,
INPUT_FOCUS_RELEASE_DOWN = 7,
INPUT_FOCUS_RELEASE_LEFT = 8,
INPUT_FOCUS_RELEASE_RIGHT = 9,
INPUT_FOCUS_LOST = 10,
};
enum IntertravelDestination {
ID_DOWN = -100,
ID_UP = -99,
ID_REPEAT = -101,
ID_CANCEL = -104,
};
enum KEYS {
CK_ENTER = 13,
CK_BKSP = 8,
CK_ESCAPE = 27,
CK_DELETE = -127,
CK_UP = -126,
CK_DOWN = -125,
CK_LEFT = -124,
CK_RIGHT = -123,
CK_INSERT = -122,
CK_HOME = -121,
CK_END = -120,
CK_CLEAR = -119,
CK_PGUP = -118,
CK_PGDN = -117,
CK_TAB_TILE = -116,
CK_SHIFT_UP = -115,
CK_SHIFT_DOWN = -114,
CK_SHIFT_LEFT = -113,
CK_SHIFT_RIGHT = -112,
CK_SHIFT_INSERT = -111,
CK_SHIFT_HOME = -110,
CK_SHIFT_END = -109,
CK_SHIFT_CLEAR = -108,
CK_SHIFT_PGUP = -107,
CK_SHIFT_PGDN = -106,
CK_SHIFT_TAB = -105,
CK_CTRL_UP = -104,
CK_CTRL_DOWN = -103,
CK_CTRL_LEFT = -102,
CK_CTRL_RIGHT = -101,
CK_CTRL_INSERT = -100,
CK_CTRL_HOME = -99,
CK_CTRL_END = -98,
CK_CTRL_CLEAR = -97,
CK_CTRL_PGUP = -96,
CK_CTRL_PGDN = -95,
CK_CTRL_TAB = -94,
CK_MOUSE_MOVE = -10009,
CK_MOUSE_CMD = -10008,
CK_MOUSE_B1 = -10007,
CK_MOUSE_B2 = -10006,
CK_MOUSE_B3 = -10005,
CK_MOUSE_B4 = -10004,
CK_MOUSE_B5 = -10003,
CK_MOUSE_CLICK = -10002,
CK_TOUCH_DUMMY = -10001,
CK_NO_KEY = -10000,
};
enum KILL_DUMP_OPTIONS {
KDO_NO_PLACES = 0,
KDO_ONE_PLACE = 1,
KDO_ALL_PLACES = 2,
};
enum KeymapContext {
KMC_DEFAULT = 0,
KMC_LEVELMAP = 1,
KMC_TARGETTING = 2,
KMC_CONFIRM = 3,
KMC_MENU = 4,
KMC_DOLL = 5,
KMC_CONTEXT_COUNT = 6,
KMC_NONE = 7,
};
enum LOSSelect {
LS_ANY = 0,
LS_VISIBLE = 1,
LS_HIDDEN = 2,
LS_VISMASK = 3,
LS_FLIPVH = 32,
LS_FLIPHV = 64,
LS_NONE = 65535,
};
enum MenuEntryLevel {
MEL_NONE = -1,
MEL_TITLE = 0,
MEL_SUBTITLE = 1,
MEL_ITEM = 2,
};
enum MenuFlag {
MF_NOSELECT = 0,
MF_SINGLESELECT = 1,
MF_MULTISELECT = 2,
MF_NO_SELECT_QTY = 4,
MF_ANYPRINTABLE = 8,
MF_SELECT_BY_PAGE = 16,
MF_ALWAYS_SHOW_MORE = 32,
MF_NOWRAP = 64,
MF_ALLOW_FILTER = 128,
MF_ALLOW_FORMATTING = 256,
MF_SHOW_PAGENUMBERS = 512,
MF_TOGGLE_ACTION = 1024,
MF_EASY_EXIT = 4096,
MF_START_AT_END = 8192,
MF_PRESELECTED = 16384,
MF_QUIET_SELECT = 32768,
};
enum MenuOptions {
M_QUIT = -1,
M_ABORT = -1,
M_APTITUDES = -1,
M_HELP = -1,
M_VIABLE = -1,
M_RANDOM = -1,
M_VIABLE_CHAR = -1,
M_RANDOM_CHAR = -1,
M_DEFAULT_CHOICE = -1,
};
enum NOTE_TYPES {
NOTE_HP_CHANGE = 0,
NOTE_MAXHP_CHANGE = 1,
NOTE_MP_CHANGE = 2,
NOTE_MAXMP_CHANGE = 3,
NOTE_XP_LEVEL_CHANGE = 4,
NOTE_DUNGEON_LEVEL_CHANGE = 5,
NOTE_LEARN_SPELL = 6,
NOTE_GET_GOD = 7,
NOTE_GOD_GIFT = 8,
NOTE_GOD_POWER = 9,
NOTE_GET_MUTATION = 10,
NOTE_LOSE_MUTATION = 11,
NOTE_ID_ITEM = 12,
NOTE_GET_ITEM = 13,
NOTE_GAIN_SKILL = 14,
NOTE_LOSE_SKILL = 15,
NOTE_SEEN_MONSTER = 16,
NOTE_DEFEAT_MONSTER = 17,
NOTE_POLY_MONSTER = 18,
NOTE_USER_NOTE = 19,
NOTE_MESSAGE = 20,
NOTE_LOSE_GOD = 21,
NOTE_PENANCE = 22,
NOTE_MOLLIFY_GOD = 23,
NOTE_DEATH = 24,
NOTE_BUY_ITEM = 25,
NOTE_DONATE_MONEY = 26,
NOTE_SEEN_FEAT = 27,
NOTE_XOM_EFFECT = 28,
NOTE_XOM_REVIVAL = 29,
NOTE_PARALYSIS = 30,
NOTE_NAMED_ALLY = 31,
NOTE_ALLY_DEATH = 32,
NOTE_FEAT_MIMIC = 33,
NOTE_NUM_TYPES = 34,
};
enum SelectType {
PRECISION_SINGLESELECT = 0,
PRECISION_MULTISELECT = 1,
};
enum SpecialIdx {
SPECIAL_N = 0,
SPECIAL_NE = 1,
SPECIAL_E = 2,
SPECIAL_SE = 3,
SPECIAL_S = 4,
SPECIAL_SW = 5,
SPECIAL_W = 6,
SPECIAL_NW = 7,
SPECIAL_FULL = 8,
};
enum TextureID {
TEX_FLOOR = 0,
TEX_WALL = 1,
TEX_FEAT = 2,
TEX_PLAYER = 3,
TEX_DEFAULT = 4,
TEX_GUI = 5,
TEX_ICONS = 6,
TEX_MAX = 7,
};
enum WebtilesCRTMode {
CRT_DISABLED = 0,
CRT_NORMAL = 1,
CRT_MENU = 2,
};
enum WebtilesUIState {
UI_NORMAL = 0,
UI_CRT = 1,
UI_VIEW_MAP = 2,
};
enum _Ios_Fmtflags {
_S_boolalpha = 1,
_S_dec = 2,
_S_fixed = 4,
_S_hex = 8,
_S_internal = 16,
_S_left = 32,
_S_oct = 64,
_S_right = 128,
_S_scientific = 256,
_S_showbase = 512,
_S_showpoint = 1024,
_S_showpos = 2048,
_S_skipws = 4096,
_S_unitbuf = 8192,
_S_uppercase = 16384,
_S_adjustfield = 176,
_S_basefield = 74,
_S_floatfield = 260,
_S_ios_fmtflags_end = 65536,
};
enum _Ios_Iostate {
_S_goodbit = 0,
_S_badbit = 1,
_S_eofbit = 2,
_S_failbit = 4,
_S_ios_iostate_end = 65536,
};
enum _Ios_Openmode {
_S_app = 1,
_S_ate = 2,
_S_bin = 4,
_S_in = 8,
_S_out = 16,
_S_trunc = 32,
_S_ios_openmode_end = 65536,
};
enum _Ios_Seekdir {
_S_beg = 0,
_S_cur = 1,
_S_end = 2,
_S_ios_seekdir_end = 65536,
};
enum _Rb_tree_color {
_S_red = 0,
_S_black = 1,
};
enum __socket_type {
SOCK_STREAM = 1,
SOCK_DGRAM = 2,
SOCK_RAW = 3,
SOCK_RDM = 4,
SOCK_SEQPACKET = 5,
SOCK_DCCP = 6,
SOCK_PACKET = 10,
SOCK_CLOEXEC = 524288,
SOCK_NONBLOCK = 2048,
};
enum ability_flag_type {
ABFLAG_NONE = 0,
ABFLAG_BREATH = 1,
ABFLAG_DELAY = 2,
ABFLAG_PAIN = 4,
ABFLAG_PIETY = 8,
ABFLAG_EXHAUSTION = 16,
ABFLAG_INSTANT = 32,
ABFLAG_PERMANENT_HP = 64,
ABFLAG_PERMANENT_MP = 128,
ABFLAG_CONF_OK = 256,
ABFLAG_FRUIT = 512,
ABFLAG_VARIABLE_FRUIT = 1024,
ABFLAG_HEX_MISCAST = 2048,
ABFLAG_TLOC_MISCAST = 4096,
ABFLAG_NECRO_MISCAST_MINOR = 8192,
ABFLAG_NECRO_MISCAST = 16384,
ABFLAG_TMIG_MISCAST = 32768,
ABFLAG_LEVEL_DRAIN = 65536,
ABFLAG_STAT_DRAIN = 131072,
ABFLAG_ZOTDEF = 262144,
};
enum ability_type {
ABIL_NON_ABILITY = -1,
ABIL_SPIT_POISON = 1,
ABIL_BREATHE_FIRE = 2,
ABIL_BREATHE_FROST = 3,
ABIL_BREATHE_POISON = 4,
ABIL_BREATHE_LIGHTNING = 5,
ABIL_BREATHE_POWER = 6,
ABIL_BREATHE_STICKY_FLAME = 7,
ABIL_BREATHE_STEAM = 8,
ABIL_BREATHE_MEPHITIC = 9,
ABIL_SPIT_ACID = 10,
ABIL_BLINK = 11,
ABIL_DELAYED_FIREBALL = 12,
ABIL_END_TRANSFORMATION = 13,
ABIL_HELLFIRE = 14,
ABIL_FLY = 15,
ABIL_FLY_II = 16,
ABIL_STOP_FLYING = 17,
ABIL_MUMMY_RESTORATION = 18,
ABIL_TRAN_BAT = 19,
ABIL_BOTTLE_BLOOD = 20,
ABIL_RECHARGING = 21,
ABIL_MAX_INTRINSIC = 21,
ABIL_EVOKE_BERSERK = 40,
ABIL_MIN_EVOKE = 40,
ABIL_EVOKE_TELEPORTATION = 41,
ABIL_EVOKE_BLINK = 42,
ABIL_EVOKE_TURN_INVISIBLE = 43,
ABIL_EVOKE_TURN_VISIBLE = 44,
ABIL_EVOKE_FLIGHT = 45,
ABIL_EVOKE_STOP_LEVITATING = 46,
ABIL_EVOKE_FOG = 47,
ABIL_MAX_EVOKE = 47,
ABIL_ZIN_SUSTENANCE = 50,
ABIL_ZIN_RECITE = 51,
ABIL_ZIN_VITALISATION = 52,
ABIL_ZIN_IMPRISON = 53,
ABIL_ZIN_SANCTUARY = 54,
ABIL_ZIN_CURE_ALL_MUTATIONS = 55,
ABIL_TSO_DIVINE_SHIELD = 60,
ABIL_TSO_CLEANSING_FLAME = 61,
ABIL_TSO_SUMMON_DIVINE_WARRIOR = 62,
ABIL_KIKU_RECEIVE_CORPSES = 70,
ABIL_KIKU_TORMENT = 71,
ABIL_YRED_INJURY_MIRROR = 80,
ABIL_YRED_ANIMATE_REMAINS = 81,
ABIL_YRED_RECALL_UNDEAD_SLAVES = 82,
ABIL_YRED_ANIMATE_DEAD = 83,
ABIL_YRED_DRAIN_LIFE = 84,
ABIL_YRED_ENSLAVE_SOUL = 85,
ABIL_YRED_ANIMATE_REMAINS_OR_DEAD = 86,
ABIL_OKAWARU_HEROISM = 100,
ABIL_OKAWARU_FINESSE = 101,
ABIL_MAKHLEB_MINOR_DESTRUCTION = 110,
ABIL_MAKHLEB_LESSER_SERVANT_OF_MAKHLEB = 111,
ABIL_MAKHLEB_MAJOR_DESTRUCTION = 112,
ABIL_MAKHLEB_GREATER_SERVANT_OF_MAKHLEB = 113,
ABIL_SIF_MUNA_CHANNEL_ENERGY = 120,
ABIL_SIF_MUNA_FORGET_SPELL = 121,
ABIL_TROG_BURN_SPELLBOOKS = 130,
ABIL_TROG_BERSERK = 131,
ABIL_TROG_REGEN_MR = 132,
ABIL_TROG_BROTHERS_IN_ARMS = 133,
ABIL_ELYVILON_LIFESAVING = 140,
ABIL_ELYVILON_LESSER_HEALING_SELF = 141,
ABIL_ELYVILON_LESSER_HEALING_OTHERS = 142,
ABIL_ELYVILON_PURIFICATION = 143,
ABIL_ELYVILON_GREATER_HEALING_SELF = 144,
ABIL_ELYVILON_GREATER_HEALING_OTHERS = 145,
ABIL_ELYVILON_DIVINE_VIGOUR = 146,
ABIL_LUGONU_ABYSS_EXIT = 150,
ABIL_LUGONU_BEND_SPACE = 151,
ABIL_LUGONU_BANISH = 152,
ABIL_LUGONU_CORRUPT = 153,
ABIL_LUGONU_ABYSS_ENTER = 154,
ABIL_NEMELEX_DRAW_ONE = 160,
ABIL_NEMELEX_PEEK_TWO = 161,
ABIL_NEMELEX_TRIPLE_DRAW = 162,
ABIL_NEMELEX_DEAL_FOUR = 163,
ABIL_NEMELEX_STACK_FIVE = 164,
ABIL_BEOGH_SMITING = 170,
ABIL_BEOGH_RECALL_ORCISH_FOLLOWERS = 171,
ABIL_JIYVA_CALL_JELLY = 180,
ABIL_JIYVA_JELLY_PARALYSE = 181,
ABIL_JIYVA_SLIMIFY = 182,
ABIL_JIYVA_CURE_BAD_MUTATION = 183,
ABIL_FEDHAS_SUNLIGHT = 190,
ABIL_FEDHAS_RAIN = 191,
ABIL_FEDHAS_PLANT_RING = 192,
ABIL_FEDHAS_SPAWN_SPORES = 193,
ABIL_FEDHAS_EVOLUTION = 194,
ABIL_CHEIBRIADOS_TIME_STEP = 201,
ABIL_CHEIBRIADOS_TIME_BEND = 202,
ABIL_CHEIBRIADOS_SLOUCH = 203,
ABIL_CHEIBRIADOS_DISTORTION = 204,
ABIL_ASHENZARI_SCRYING = 210,
ABIL_ASHENZARI_TRANSFER_KNOWLEDGE = 211,
ABIL_ASHENZARI_END_TRANSFER = 212,
ABIL_RENOUNCE_RELIGION = 213,
ABIL_MAKE_FUNGUS = 230,
ABIL_MIN_ZOTDEF = 230,
ABIL_MAKE_PLANT = 231,
ABIL_MAKE_OKLOB_SAPLING = 232,
ABIL_MAKE_DART_TRAP = 233,
ABIL_MAKE_ICE_STATUE = 234,
ABIL_MAKE_OCS = 235,
ABIL_MAKE_SILVER_STATUE = 236,
ABIL_MAKE_CURSE_SKULL = 237,
ABIL_MAKE_TELEPORT = 238,
ABIL_MAKE_ARROW_TRAP = 239,
ABIL_MAKE_BOLT_TRAP = 240,
ABIL_MAKE_SPEAR_TRAP = 241,
ABIL_MAKE_NEEDLE_TRAP = 242,
ABIL_MAKE_NET_TRAP = 243,
ABIL_MAKE_TELEPORT_TRAP = 244,
ABIL_MAKE_ALARM_TRAP = 245,
ABIL_MAKE_BLADE_TRAP = 246,
ABIL_MAKE_OKLOB_CIRCLE = 247,
ABIL_MAKE_ACQUIRE_GOLD = 248,
ABIL_MAKE_ACQUIREMENT = 249,
ABIL_MAKE_WATER = 250,
ABIL_MAKE_LIGHTNING_SPIRE = 251,
ABIL_MAKE_BAZAAR = 252,
ABIL_MAKE_ALTAR = 253,
ABIL_MAKE_GRENADES = 254,
ABIL_MAKE_SAGE = 255,
ABIL_MAKE_OKLOB_PLANT = 256,
ABIL_MAKE_BURNING_BUSH = 257,
ABIL_REMOVE_CURSE = 258,
ABIL_MAX_ZOTDEF = 258,
NUM_ABILITIES = 259,
};
enum ac_type {
AC_NONE = 0,
AC_NORMAL = 1,
AC_HALF = 2,
AC_TRIPLE = 3,
AC_PROPORTIONAL = 4,
};
enum action {
ACT_EXECUTE = 0,
ACT_EXAMINE = 1,
ACT_MISC = 2,
ACT_NUM = 3,
};
enum activity_interrupt_payload_type {
AIP_NONE = 0,
AIP_INT = 1,
AIP_STRING = 2,
AIP_MONSTER = 3,
AIP_HP_LOSS = 4,
};
enum activity_interrupt_type {
AI_FORCE_INTERRUPT = 0,
AI_KEYPRESS = 1,
AI_FULL_HP = 2,
AI_FULL_MP = 3,
AI_STATUE = 4,
AI_HUNGRY = 5,
AI_MESSAGE = 6,
AI_HP_LOSS = 7,
AI_BURDEN_CHANGE = 8,
AI_STAT_CHANGE = 9,
AI_SEE_MONSTER = 10,
AI_MONSTER_ATTACKS = 11,
AI_TELEPORT = 12,
AI_HIT_MONSTER = 13,
AI_SENSE_MONSTER = 14,
NUM_AINTERRUPTS = 15,
};
enum actor_type {
ACT_NONE = -1,
ACT_PLAYER = 0,
ACT_MONSTER = 1,
};
enum aff_type {
AFF_TRACER = -1,
AFF_NO = 0,
AFF_MAYBE = 1,
AFF_YES = 2,
};
enum ammo_t {
AMMO_THROW = 0,
AMMO_BOW = 1,
AMMO_SLING = 2,
AMMO_CROSSBOW = 3,
AMMO_BLOWGUN = 4,
NUM_AMMO = 5,
};
enum area_centre_type {
AREA_NONE = 0,
AREA_SANCTUARY = 1,
AREA_SILENCE = 2,
AREA_HALO = 3,
AREA_LIQUID = 4,
AREA_ORB = 5,
AREA_UMBRA = 6,
AREA_SUPPRESSION = 7,
AREA_QUAD = 8,
AREA_DISJUNCTION = 9,
};
enum areaprop_flag {
APROP_SANCTUARY_1 = 1,
APROP_SANCTUARY_2 = 2,
APROP_SILENCE = 4,
APROP_HALO = 8,
APROP_LIQUID = 16,
APROP_ACTUAL_LIQUID = 32,
APROP_ORB = 64,
APROP_UMBRA = 128,
APROP_SUPPRESSION = 256,
APROP_QUAD = 512,
APROP_DISJUNCTION = 1024,
};
enum armour_property_type {
PARM_AC = 0,
PARM_EVASION = 1,
};
enum armour_type {
ARM_ROBE = 0,
ARM_LEATHER_ARMOUR = 1,
ARM_RING_MAIL = 2,
ARM_SCALE_MAIL = 3,
ARM_CHAIN_MAIL = 4,
ARM_SPLINT_MAIL = 5,
ARM_PLATE_ARMOUR = 6,
ARM_CLOAK = 7,
ARM_CAP = 8,
ARM_WIZARD_HAT = 9,
ARM_HELMET = 10,
ARM_GLOVES = 11,
ARM_BOOTS = 12,
ARM_BUCKLER = 13,
ARM_SHIELD = 14,
ARM_LARGE_SHIELD = 15,
ARM_MAX_RACIAL = 15,
ARM_CRYSTAL_PLATE_ARMOUR = 16,
ARM_MIN_UNBRANDED = 16,
ARM_ANIMAL_SKIN = 17,
ARM_TROLL_HIDE = 18,
ARM_TROLL_LEATHER_ARMOUR = 19,
ARM_FIRE_DRAGON_HIDE = 20,
ARM_FIRE_DRAGON_ARMOUR = 21,
ARM_ICE_DRAGON_HIDE = 22,
ARM_ICE_DRAGON_ARMOUR = 23,
ARM_STEAM_DRAGON_HIDE = 24,
ARM_STEAM_DRAGON_ARMOUR = 25,
ARM_MOTTLED_DRAGON_HIDE = 26,
ARM_MOTTLED_DRAGON_ARMOUR = 27,
ARM_STORM_DRAGON_HIDE = 28,
ARM_STORM_DRAGON_ARMOUR = 29,
ARM_GOLD_DRAGON_HIDE = 30,
ARM_GOLD_DRAGON_ARMOUR = 31,
ARM_SWAMP_DRAGON_HIDE = 32,
ARM_SWAMP_DRAGON_ARMOUR = 33,
ARM_PEARL_DRAGON_HIDE = 34,
ARM_PEARL_DRAGON_ARMOUR = 35,
ARM_MAX_UNBRANDED = 35,
ARM_CENTAUR_BARDING = 36,
ARM_NAGA_BARDING = 37,
NUM_ARMOURS = 38,
};
enum artefact_prop_type {
ARTP_BRAND = 0,
ARTP_AC = 1,
ARTP_EVASION = 2,
ARTP_STRENGTH = 3,
ARTP_INTELLIGENCE = 4,
ARTP_DEXTERITY = 5,
ARTP_FIRE = 6,
ARTP_COLD = 7,
ARTP_ELECTRICITY = 8,
ARTP_POISON = 9,
ARTP_NEGATIVE_ENERGY = 10,
ARTP_MAGIC = 11,
ARTP_EYESIGHT = 12,
ARTP_INVISIBLE = 13,
ARTP_FLY = 14,
ARTP_BLINK = 15,
ARTP_BERSERK = 16,
ARTP_NOISES = 17,
ARTP_PREVENT_SPELLCASTING = 18,
ARTP_CAUSE_TELEPORTATION = 19,
ARTP_PREVENT_TELEPORTATION = 20,
ARTP_ANGRY = 21,
ARTP_METABOLISM = 22,
ARTP_MUTAGENIC = 23,
ARTP_ACCURACY = 24,
ARTP_DAMAGE = 25,
ARTP_CURSED = 26,
ARTP_STEALTH = 27,
ARTP_MAGICAL_POWER = 28,
ARTP_BASE_DELAY = 29,
ARTP_HP = 30,
ARTP_CLARITY = 31,
ARTP_BASE_ACC = 32,
ARTP_BASE_DAM = 33,
ARTP_RMSL = 34,
ARTP_FOG = 35,
ARTP_NUM_PROPERTIES = 36,
};
enum attack_flavour {
AF_PLAIN = 0,
AF_ACID = 1,
AF_BLINK = 2,
AF_COLD = 3,
AF_CONFUSE = 4,
AF_DISEASE = 5,
AF_DRAIN_STR = 6,
AF_DRAIN_INT = 7,
AF_DRAIN_DEX = 8,
AF_DRAIN_STAT = 9,
AF_DRAIN_XP = 10,
AF_ELEC = 11,
AF_FIRE = 12,
AF_HUNGER = 13,
AF_MUTATE = 14,
AF_PARALYSE = 15,
AF_POISON = 16,
AF_POISON_NASTY = 17,
AF_POISON_MEDIUM = 18,
AF_POISON_STRONG = 19,
AF_POISON_STR = 20,
AF_POISON_INT = 21,
AF_POISON_DEX = 22,
AF_POISON_STAT = 23,
AF_ROT = 24,
AF_VAMPIRIC = 25,
AF_KLOWN = 26,
AF_DISTORT = 27,
AF_RAGE = 28,
AF_NAPALM = 29,
AF_CHAOS = 30,
AF_STEAL = 31,
AF_STEAL_FOOD = 32,
AF_CRUSH = 33,
AF_REACH = 34,
AF_HOLY = 35,
AF_ANTIMAGIC = 36,
AF_PAIN = 37,
AF_ENSNARE = 38,
};
enum attack_type {
AT_NONE = 0,
AT_HIT = 1,
AT_BITE = 2,
AT_STING = 3,
AT_SPORE = 4,
AT_TOUCH = 5,
AT_ENGULF = 6,
AT_CLAW = 7,
AT_PECK = 8,
AT_HEADBUTT = 9,
AT_PUNCH = 10,
AT_KICK = 11,
AT_TENTACLE_SLAP = 12,
AT_TAIL_SLAP = 13,
AT_GORE = 14,
AT_CONSTRICT = 15,
AT_TRAMPLE = 16,
AT_TRUNK_SLAP = 17,
AT_SNAP = 18,
AT_SPLASH = 19,
AT_POUNCE = 20,
AT_CHERUB = 21,
AT_SHOOT = 22,
AT_WEAP_ONLY = 23,
AT_RANDOM = 24,
};
enum attribute_type {
ATTR_DIVINE_LIGHTNING_PROTECTION = 0,
ATTR_DIVINE_REGENERATION = 1,
ATTR_DIVINE_DEATH_CHANNEL = 2,
ATTR_CARD_COUNTDOWN = 3,
ATTR_BANISHMENT_IMMUNITY = 4,
ATTR_DELAYED_FIREBALL = 5,
ATTR_HELD = 6,
ATTR_ABYSS_ENTOURAGE = 7,
ATTR_DIVINE_VIGOUR = 8,
ATTR_DIVINE_STAMINA = 9,
ATTR_DIVINE_SHIELD = 10,
ATTR_WEAPON_SWAP_INTERRUPTED = 11,
ATTR_GOLD_FOUND = 12,
ATTR_PURCHASES = 13,
ATTR_DONATIONS = 14,
ATTR_MISC_SPENDING = 15,
ATTR_UNUSED1 = 16,
ATTR_NOISES = 17,
ATTR_SHADOWS = 18,
ATTR_UNUSED2 = 19,
ATTR_FLIGHT_UNCANCELLABLE = 20,
ATTR_INVIS_UNCANCELLABLE = 21,
ATTR_PERM_FLIGHT = 22,
ATTR_SEEN_INVIS_TURN = 23,
ATTR_SEEN_INVIS_SEED = 24,
ATTR_APPENDAGE = 25,
ATTR_TITHE_BASE = 26,
ATTR_EVOL_XP = 27,
ATTR_LIFE_GAINED = 28,
ATTR_TEMP_MUTATIONS = 29,
NUM_ATTRIBUTES = 30,
};
enum band_type {
BAND_NO_BAND = 0,
BAND_KOBOLDS = 1,
BAND_ORCS = 2,
BAND_ORC_WARRIOR = 3,
BAND_ORC_KNIGHT = 4,
BAND_KILLER_BEES = 5,
BAND_FLYING_SKULLS = 6,
BAND_SLIME_CREATURES = 7,
BAND_YAKS = 8,
BAND_UGLY_THINGS = 9,
BAND_HELL_HOUNDS = 10,
BAND_JACKALS = 11,
BAND_HELL_KNIGHTS = 12,
BAND_ORC_HIGH_PRIEST = 13,
BAND_GNOLLS = 14,
BAND_WIGHTS = 15,
BAND_BUMBLEBEES = 16,
BAND_CENTAURS = 17,
BAND_YAKTAURS = 18,
BAND_INSUBSTANTIAL_WISPS = 19,
BAND_OGRE_MAGE = 20,
BAND_DEATH_YAKS = 21,
BAND_NECROMANCER = 22,
BAND_BALRUG = 23,
BAND_CACODEMON = 24,
BAND_EXECUTIONER = 25,
BAND_HELLWING = 26,
BAND_DEEP_ELF_FIGHTER = 27,
BAND_DEEP_ELF_KNIGHT = 28,
BAND_DEEP_ELF_HIGH_PRIEST = 29,
BAND_KOBOLD_DEMONOLOGIST = 30,
BAND_NAGAS = 31,
BAND_WAR_DOGS = 32,
BAND_GREEN_RATS = 33,
BAND_ORANGE_RATS = 34,
BAND_SHEEP = 35,
BAND_GHOULS = 36,
BAND_DEEP_TROLLS = 37,
BAND_HOGS = 38,
BAND_HELL_HOGS = 39,
BAND_VAMPIRE_MOSQUITOES = 40,
BAND_FIRE_BATS = 41,
BAND_BOGGARTS = 42,
BAND_BLINK_FROGS = 43,
BAND_SKELETAL_WARRIORS = 44,
BAND_DRACONIAN = 45,
BAND_PANDEMONIUM_LORD = 46,
BAND_HARPIES = 47,
BAND_ILSUIW = 48,
BAND_AZRAEL = 49,
BAND_DUVESSA = 50,
BAND_KHUFU = 51,
BAND_GOLDEN_EYE = 52,
BAND_PIKEL = 53,
BAND_MERFOLK_AQUAMANCER = 54,
BAND_MERFOLK_IMPALER = 55,
BAND_MERFOLK_JAVELINEER = 56,
BAND_ALLIGATOR = 57,
BAND_ELEPHANT = 58,
BAND_DEEP_DWARF = 59,
BAND_SHEDU = 60,
BAND_REDBACK = 61,
BAND_SPIDER = 62,
BAND_JUMPING_SPIDER = 63,
BAND_TARANTELLA = 64,
NUM_BANDS = 65,
};
enum beam_type {
BEAM_NONE = 0,
BEAM_MISSILE = 1,
BEAM_MMISSILE = 2,
BEAM_FIRE = 3,
BEAM_COLD = 4,
BEAM_MAGIC = 5,
BEAM_ELECTRICITY = 6,
BEAM_POISON = 7,
BEAM_NEG = 8,
BEAM_ACID = 9,
BEAM_MIASMA = 10,
BEAM_WATER = 11,
BEAM_SPORE = 12,
BEAM_POISON_ARROW = 13,
BEAM_HELLFIRE = 14,
BEAM_NAPALM = 15,
BEAM_STEAM = 16,
BEAM_ENERGY = 17,
BEAM_HOLY = 18,
BEAM_FRAG = 19,
BEAM_LAVA = 20,
BEAM_ICE = 21,
BEAM_NUKE = 22,
BEAM_LIGHT = 23,
BEAM_RANDOM = 24,
BEAM_CHAOS = 25,
BEAM_SLOW = 26,
BEAM_FIRST_ENCHANTMENT = 26,
BEAM_HASTE = 27,
BEAM_MIGHT = 28,
BEAM_HEALING = 29,
BEAM_PARALYSIS = 30,
BEAM_CONFUSION = 31,
BEAM_INVISIBILITY = 32,
BEAM_DIGGING = 33,
BEAM_TELEPORT = 34,
BEAM_POLYMORPH = 35,
BEAM_ENSLAVE = 36,
BEAM_BANISH = 37,
BEAM_DEGENERATE = 38,
BEAM_ENSLAVE_SOUL = 39,
BEAM_PAIN = 40,
BEAM_DISPEL_UNDEAD = 41,
BEAM_DISINTEGRATION = 42,
BEAM_BLINK = 43,
BEAM_BLINK_CLOSE = 44,
BEAM_PETRIFY = 45,
BEAM_CORONA = 46,
BEAM_PORKALATOR = 47,
BEAM_HIBERNATION = 48,
BEAM_BERSERK = 49,
BEAM_SLEEP = 50,
BEAM_INNER_FLAME = 51,
BEAM_LAST_ENCHANTMENT = 51,
BEAM_POTION_MEPHITIC = 52,
BEAM_POTION_POISON = 53,
BEAM_POTION_MIASMA = 54,
BEAM_POTION_STEAM = 55,
BEAM_POTION_FIRE = 56,
BEAM_POTION_COLD = 57,
BEAM_POTION_BLACK_SMOKE = 58,
BEAM_POTION_GREY_SMOKE = 59,
BEAM_POTION_MUTAGENIC = 60,
BEAM_POTION_BLUE_SMOKE = 61,
BEAM_POTION_PURPLE_SMOKE = 62,
BEAM_POTION_RAIN = 63,
BEAM_GLOOM = 64,
BEAM_INK = 65,
BEAM_HOLY_FLAME = 66,
BEAM_HOLY_LIGHT = 67,
BEAM_POTION_RANDOM = 68,
BEAM_AIR = 69,
BEAM_PETRIFYING_CLOUD = 70,
BEAM_BOLT_OF_ZIN = 71,
BEAM_ENSNARE = 72,
BEAM_LAST_REAL = 72,
BEAM_VISUAL = 73,
BEAM_TORMENT_DAMAGE = 74,
BEAM_FIRST_PSEUDO = 74,
BEAM_DEVOUR_FOOD = 75,
NUM_BEAMS = 76,
};
enum beh_type {
BEH_SLEEP = 0,
BEH_WANDER = 1,
BEH_SEEK = 2,
BEH_FLEE = 3,
BEH_CORNERED = 4,
BEH_PANIC = 5,
BEH_LURK = 6,
BEH_RETREAT = 7,
NUM_BEHAVIOURS = 8,
BEH_CHARMED = 9,
BEH_FRIENDLY = 10,
BEH_GOOD_NEUTRAL = 11,
BEH_STRICT_NEUTRAL = 12,
BEH_NEUTRAL = 13,
BEH_HOSTILE = 14,
BEH_GUARD = 15,
BEH_COPY = 16,
};
enum bom_type {
BOM_NORMAL = 0,
BOM_UTF8 = 1,
BOM_UTF16LE = 2,
BOM_UTF16BE = 3,
BOM_UTF32LE = 4,
BOM_UTF32BE = 5,
};
enum book_mem_or_forget {
BOOK_MEM = 0,
BOOK_FORGET = 1,
BOOK_NEITHER = 2,
};
enum book_type {
BOOK_MINOR_MAGIC = 0,
BOOK_CONJURATIONS = 1,
BOOK_FLAMES = 2,
BOOK_FROST = 3,
BOOK_SUMMONINGS = 4,
BOOK_FIRE = 5,
BOOK_ICE = 6,
BOOK_SPATIAL_TRANSLOCATIONS = 7,
BOOK_ENCHANTMENTS = 8,
BOOK_YOUNG_POISONERS = 9,
BOOK_TEMPESTS = 10,
BOOK_DEATH = 11,
BOOK_HINDERANCE = 12,
BOOK_CHANGES = 13,
BOOK_TRANSFIGURATIONS = 14,
BOOK_WAR_CHANTS = 15,
BOOK_CLOUDS = 16,
BOOK_NECROMANCY = 17,
BOOK_CALLINGS = 18,
BOOK_MALEDICT = 19,
BOOK_AIR = 20,
BOOK_SKY = 21,
BOOK_WARP = 22,
BOOK_ENVENOMATIONS = 23,
BOOK_UNLIFE = 24,
BOOK_CONTROL = 25,
BOOK_MUTATIONS = 26,
BOOK_GEOMANCY = 27,
BOOK_EARTH = 28,
BOOK_WIZARDRY = 29,
BOOK_POWER = 30,
BOOK_CANTRIPS = 31,
BOOK_PARTY_TRICKS = 32,
BOOK_STALKING = 33,
BOOK_DEBILITATION = 34,
BOOK_DRAGON = 35,
BOOK_BURGLARY = 36,
BOOK_DREAMS = 37,
BOOK_ALCHEMY = 38,
BOOK_BEASTS = 39,
MAX_NORMAL_BOOK = 39,
MIN_GOD_ONLY_BOOK = 40,
BOOK_ANNIHILATIONS = 40,
BOOK_GRAND_GRIMOIRE = 41,
BOOK_NECRONOMICON = 42,
MAX_GOD_ONLY_BOOK = 42,
MAX_FIXED_BOOK = 42,
BOOK_RANDART_LEVEL = 43,
BOOK_RANDART_THEME = 44,
BOOK_MANUAL = 45,
BOOK_DESTRUCTION = 46,
NUM_BOOKS = 47,
};
enum branch_flag_type {
BFLAG_NONE = 0,
BFLAG_ISLANDED = 2,
BFLAG_NO_XLEV_TRAVEL = 4,
BFLAG_NO_ITEMS = 8,
};
enum branch_type {
BRANCH_MAIN_DUNGEON = 0,
BRANCH_ECUMENICAL_TEMPLE = 1,
BRANCH_FIRST_NON_DUNGEON = 1,
BRANCH_ORCISH_MINES = 2,
BRANCH_ELVEN_HALLS = 3,
BRANCH_DWARVEN_HALL = 4,
BRANCH_LAIR = 5,
BRANCH_SWAMP = 6,
BRANCH_SHOALS = 7,
BRANCH_SNAKE_PIT = 8,
BRANCH_SPIDER_NEST = 9,
BRANCH_SLIME_PITS = 10,
BRANCH_VAULTS = 11,
BRANCH_HALL_OF_BLADES = 12,
BRANCH_CRYPT = 13,
BRANCH_TOMB = 14,
BRANCH_VESTIBULE_OF_HELL = 15,
BRANCH_DIS = 16,
BRANCH_GEHENNA = 17,
BRANCH_COCYTUS = 18,
BRANCH_TARTARUS = 19,
BRANCH_FIRST_HELL = 16,
BRANCH_LAST_HELL = 19,
BRANCH_HALL_OF_ZOT = 20,
BRANCH_FOREST = 21,
BRANCH_ABYSS = 22,
BRANCH_PANDEMONIUM = 23,
BRANCH_ZIGGURAT = 24,
BRANCH_LABYRINTH = 25,
BRANCH_BAZAAR = 26,
BRANCH_TROVE = 27,
BRANCH_SEWER = 28,
BRANCH_OSSUARY = 29,
BRANCH_BAILEY = 30,
BRANCH_ICE_CAVE = 31,
BRANCH_VOLCANO = 32,
BRANCH_WIZLAB = 33,
NUM_BRANCHES = 34,
};
enum brand_type {
SPWPN_FORBID_BRAND = -1,
SPWPN_NORMAL = 0,
SPWPN_FLAMING = 1,
SPWPN_FREEZING = 2,
SPWPN_HOLY_WRATH = 3,
SPWPN_ELECTROCUTION = 4,
SPWPN_ORC_SLAYING = 5,
SPWPN_DRAGON_SLAYING = 6,
SPWPN_VENOM = 7,
SPWPN_PROTECTION = 8,
SPWPN_DRAINING = 9,
SPWPN_SPEED = 10,
SPWPN_VORPAL = 11,
SPWPN_FLAME = 12,
SPWPN_FROST = 13,
SPWPN_VAMPIRICISM = 14,
SPWPN_PAIN = 15,
SPWPN_ANTIMAGIC = 16,
SPWPN_DISTORTION = 17,
SPWPN_REACHING = 18,
SPWPN_RETURNING = 19,
SPWPN_CHAOS = 20,
SPWPN_EVASION = 21,
MAX_PAN_LORD_BRANDS = 21,
SPWPN_CONFUSE = 22,
SPWPN_PENETRATION = 23,
SPWPN_REAPING = 24,
NUM_REAL_SPECIAL_WEAPONS = 25,
SPWPN_ACID = 26,
SPWPN_DEBUG_RANDART = 27,
NUM_SPECIAL_WEAPONS = 28,
};
enum burden_state_type {
BS_UNENCUMBERED = 0,
BS_ENCUMBERED = 2,
BS_OVERLOADED = 5,
};
enum button_state_type {
BUTTON1 = 1,
BUTTON1_DBL = 2,
BUTTON2 = 4,
BUTTON2_DBL = 8,
BUTTON3 = 16,
BUTTON3_DBL = 32,
BUTTON4 = 64,
BUTTON4_DBL = 128,
BUTTON_SCRL_UP = 256,
BUTTON_SCRL_DN = 512,
};
enum caction_type {
CACT_MELEE = 0,
CACT_FIRE = 1,
CACT_THROW = 2,
CACT_CAST = 3,
CACT_INVOKE = 4,
CACT_ABIL = 5,
CACT_EVOKE = 6,
CACT_USE = 7,
NUM_CACTIONS = 8,
};
enum canned_message_type {
MSG_SOMETHING_APPEARS = 0,
MSG_NOTHING_HAPPENS = 1,
MSG_YOU_UNAFFECTED = 2,
MSG_YOU_RESIST = 3,
MSG_YOU_PARTIALLY_RESIST = 4,
MSG_TOO_BERSERK = 5,
MSG_PRESENT_FORM = 6,
MSG_NOTHING_CARRIED = 7,
MSG_CANNOT_DO_YET = 8,
MSG_OK = 9,
MSG_UNTHINKING_ACT = 10,
MSG_NOTHING_THERE = 11,
MSG_NOTHING_CLOSE_ENOUGH = 12,
MSG_NO_ENERGY = 13,
MSG_SPELL_FIZZLES = 14,
MSG_HUH = 15,
MSG_EMPTY_HANDED_ALREADY = 16,
MSG_EMPTY_HANDED_NOW = 17,
MSG_YOU_BLINK = 18,
MSG_STRANGE_STASIS = 19,
MSG_NO_SPELLS = 20,
MSG_MANA_INCREASE = 21,
MSG_MANA_DECREASE = 22,
MSG_DISORIENTED = 23,
MSG_TOO_HUNGRY = 24,
MSG_DETECT_NOTHING = 25,
MSG_CALL_DEAD = 26,
MSG_ANIMATE_REMAINS = 27,
MSG_DECK_EXHAUSTED = 28,
MSG_EVOCATION_SUPPRESSED = 29,
};
enum card_flags_type {
CFLAG_ODDITY = 1,
CFLAG_SEEN = 2,
CFLAG_MARKED = 4,
CFLAG_DEALT = 16,
};
enum card_type {
CARD_PORTAL = 0,
CARD_WARP = 1,
CARD_SWAP = 2,
CARD_VELOCITY = 3,
CARD_TOMB = 4,
CARD_BANSHEE = 5,
CARD_DAMNATION = 6,
CARD_SOLITUDE = 7,
CARD_WARPWRIGHT = 8,
CARD_FLIGHT = 9,
CARD_VITRIOL = 10,
CARD_FLAME = 11,
CARD_FROST = 12,
CARD_VENOM = 13,
CARD_HAMMER = 14,
CARD_SPARK = 15,
CARD_PAIN = 16,
CARD_TORMENT = 17,
CARD_ORB = 18,
CARD_ELIXIR = 19,
CARD_BATTLELUST = 20,
CARD_METAMORPHOSIS = 21,
CARD_HELM = 22,
CARD_BLADE = 23,
CARD_SHADOW = 24,
CARD_MERCENARY = 25,
CARD_CRUSADE = 26,
CARD_SUMMON_ANIMAL = 27,
CARD_SUMMON_DEMON = 28,
CARD_SUMMON_WEAPON = 29,
CARD_SUMMON_FLYING = 30,
CARD_SUMMON_SKELETON = 31,
CARD_SUMMON_UGLY = 32,
CARD_POTION = 33,
CARD_FOCUS = 34,
CARD_SHUFFLE = 35,
CARD_EXPERIENCE = 36,
CARD_WILD_MAGIC = 37,
CARD_SAGE = 38,
CARD_HELIX = 39,
CARD_ALCHEMIST = 40,
CARD_WATER = 41,
CARD_GLASS = 42,
CARD_DOWSING = 43,
CARD_TROWEL = 44,
CARD_MINEFIELD = 45,
CARD_STAIRS = 46,
CARD_GENIE = 47,
CARD_BARGAIN = 48,
CARD_WRATH = 49,
CARD_WRAITH = 50,
CARD_XOM = 51,
CARD_FEAST = 52,
CARD_FAMINE = 53,
CARD_CURSE = 54,
CARD_SWINE = 55,
NUM_CARDS = 56,
};
enum chaos_type {
CHAOS_CLONE = 0,
CHAOS_POLY = 1,
CHAOS_POLY_UP = 2,
CHAOS_MAKE_SHIFTER = 3,
CHAOS_MISCAST = 4,
CHAOS_RAGE = 5,
CHAOS_HEAL = 6,
CHAOS_HASTE = 7,
CHAOS_INVIS = 8,
CHAOS_SLOW = 9,
CHAOS_PARALYSIS = 10,
CHAOS_PETRIFY = 11,
NUM_CHAOS_TYPES = 12,
};
enum char_choice_restriction {
CC_BANNED = 0,
CC_RESTRICTED = 1,
CC_UNRESTRICTED = 2,
};
enum char_set_type {
CSET_DEFAULT = 0,
CSET_ASCII = 1,
CSET_IBM = 2,
CSET_DEC = 3,
CSET_OLD_UNICODE = 4,
NUM_CSET = 5,
};
enum chunk_drop_type {
ADC_NEVER = 0,
ADC_ROTTEN = 1,
ADC_YES = 2,
};
enum chunk_t {
CT_EMPTY = 0,
CT_SOURCE = 1,
CT_COMPILED = 2,
};
enum circle_type {
C_SQUARE = 0,
C_CIRCLE = 1,
C_POINTY = 2,
C_ROUND = 3,
};
enum cleansing_flame_source_type {
CLEANSING_FLAME_GENERIC = -1,
CLEANSING_FLAME_SPELL = -1,
CLEANSING_FLAME_INVOCATION = -1,
CLEANSING_FLAME_TSO = -1,
};
enum cloud_type {
CLOUD_NONE = 0,
CLOUD_FIRE = 1,
CLOUD_MEPHITIC = 2,
CLOUD_COLD = 3,
CLOUD_POISON = 4,
CLOUD_BLACK_SMOKE = 5,
CLOUD_GREY_SMOKE = 6,
CLOUD_BLUE_SMOKE = 7,
CLOUD_PURPLE_SMOKE = 8,
CLOUD_TLOC_ENERGY = 9,
CLOUD_FOREST_FIRE = 10,
CLOUD_STEAM = 11,
CLOUD_GLOOM = 12,
CLOUD_INK = 13,
CLOUD_PETRIFY = 14,
CLOUD_HOLY_FLAMES = 15,
CLOUD_MIASMA = 16,
CLOUD_MIST = 17,
CLOUD_CHAOS = 18,
CLOUD_RAIN = 19,
CLOUD_MUTAGENIC = 20,
CLOUD_MAGIC_TRAIL = 21,
CLOUD_TORNADO = 22,
CLOUD_DUST_TRAIL = 23,
NUM_CLOUD_TYPES = 24,
CLOUD_OPAQUE_FIRST = 5,
CLOUD_OPAQUE_LAST = 15,
CLOUD_RANDOM = 98,
CLOUD_DEBUGGING = 99,
};
enum command_type {
CMD_NO_CMD = 2000,
CMD_NO_CMD_DEFAULT = 2001,
CMD_MOVE_NOWHERE = 2002,
CMD_MOVE_LEFT = 2003,
CMD_MOVE_DOWN = 2004,
CMD_MOVE_UP = 2005,
CMD_MOVE_RIGHT = 2006,
CMD_MOVE_UP_LEFT = 2007,
CMD_MOVE_DOWN_LEFT = 2008,
CMD_MOVE_UP_RIGHT = 2009,
CMD_MOVE_DOWN_RIGHT = 2010,
CMD_RUN_LEFT = 2011,
CMD_RUN_DOWN = 2012,
CMD_RUN_UP = 2013,
CMD_RUN_RIGHT = 2014,
CMD_RUN_UP_LEFT = 2015,
CMD_RUN_DOWN_LEFT = 2016,
CMD_RUN_UP_RIGHT = 2017,
CMD_RUN_DOWN_RIGHT = 2018,
CMD_OPEN_DOOR_LEFT = 2019,
CMD_OPEN_DOOR_DOWN = 2020,
CMD_OPEN_DOOR_UP = 2021,
CMD_OPEN_DOOR_RIGHT = 2022,
CMD_OPEN_DOOR_UP_LEFT = 2023,
CMD_OPEN_DOOR_DOWN_LEFT = 2024,
CMD_OPEN_DOOR_UP_RIGHT = 2025,
CMD_OPEN_DOOR_DOWN_RIGHT = 2026,
CMD_OPEN_DOOR = 2027,
CMD_CLOSE_DOOR = 2028,
CMD_REST = 2029,
CMD_GO_UPSTAIRS = 2030,
CMD_GO_DOWNSTAIRS = 2031,
CMD_TOGGLE_AUTOPICKUP = 2032,
CMD_TOGGLE_FRIENDLY_PICKUP = 2033,
CMD_TOGGLE_VIEWPORT_MONSTER_HP = 2034,
CMD_PICKUP = 2035,
CMD_PICKUP_QUANTITY = 2036,
CMD_DROP = 2037,
CMD_DROP_LAST = 2038,
CMD_BUTCHER = 2039,
CMD_INSPECT_FLOOR = 2040,
CMD_SHOW_TERRAIN = 2041,
CMD_FULL_VIEW = 2042,
CMD_EXAMINE_OBJECT = 2043,
CMD_EVOKE = 2044,
CMD_EVOKE_WIELDED = 2045,
CMD_WIELD_WEAPON = 2046,
CMD_WEAPON_SWAP = 2047,
CMD_FIRE = 2048,
CMD_QUIVER_ITEM = 2049,
CMD_THROW_ITEM_NO_QUIVER = 2050,
CMD_WEAR_ARMOUR = 2051,
CMD_REMOVE_ARMOUR = 2052,
CMD_WEAR_JEWELLERY = 2053,
CMD_REMOVE_JEWELLERY = 2054,
CMD_CYCLE_QUIVER_FORWARD = 2055,
CMD_CYCLE_QUIVER_BACKWARD = 2056,
CMD_LIST_WEAPONS = 2057,
CMD_LIST_ARMOUR = 2058,
CMD_LIST_JEWELLERY = 2059,
CMD_LIST_EQUIPMENT = 2060,
CMD_LIST_GOLD = 2061,
CMD_ZAP_WAND = 2062,
CMD_CAST_SPELL = 2063,
CMD_FORCE_CAST_SPELL = 2064,
CMD_MEMORISE_SPELL = 2065,
CMD_USE_ABILITY = 2066,
CMD_PRAY = 2067,
CMD_EAT = 2068,
CMD_QUAFF = 2069,
CMD_READ = 2070,
CMD_LOOK_AROUND = 2071,
CMD_WAIT = 2072,
CMD_SHOUT = 2073,
CMD_DISARM_TRAP = 2074,
CMD_CHARACTER_DUMP = 2075,
CMD_DISPLAY_COMMANDS = 2076,
CMD_DISPLAY_INVENTORY = 2077,
CMD_DISPLAY_KNOWN_OBJECTS = 2078,
CMD_DISPLAY_MUTATIONS = 2079,
CMD_DISPLAY_SKILLS = 2080,
CMD_DISPLAY_MAP = 2081,
CMD_DISPLAY_OVERMAP = 2082,
CMD_DISPLAY_RELIGION = 2083,
CMD_DISPLAY_RUNES = 2084,
CMD_DISPLAY_CHARACTER_STATUS = 2085,
CMD_DISPLAY_SPELLS = 2086,
CMD_EXPERIENCE_CHECK = 2087,
CMD_ADJUST_INVENTORY = 2088,
CMD_REPLAY_MESSAGES = 2089,
CMD_REDRAW_SCREEN = 2090,
CMD_MACRO_ADD = 2091,
CMD_SAVE_GAME = 2092,
CMD_SAVE_GAME_NOW = 2093,
CMD_SUSPEND_GAME = 2094,
CMD_QUIT = 2095,
CMD_WIZARD = 2096,
CMD_DESTROY_ITEM = 2097,
CMD_SEARCH_STASHES = 2098,
CMD_EXPLORE = 2099,
CMD_INTERLEVEL_TRAVEL = 2100,
CMD_FIX_WAYPOINT = 2101,
CMD_CLEAR_MAP = 2102,
CMD_INSCRIBE_ITEM = 2103,
CMD_MAKE_NOTE = 2104,
CMD_RESISTS_SCREEN = 2105,
CMD_READ_MESSAGES = 2106,
CMD_MOUSE_MOVE = 2107,
CMD_MOUSE_CLICK = 2108,
CMD_ANNOTATE_LEVEL = 2109,
CMD_AUTOFIGHT = 2110,
CMD_AUTOFIGHT_NOMOVE = 2111,
CMD_EDIT_PLAYER_TILE = 2112,
CMD_MIN_TILE = 2112,
CMD_MAX_TILE = 2112,
CMD_PREV_CMD_AGAIN = 2113,
CMD_REPEAT_CMD = 2114,
CMD_MAX_NORMAL = 2114,
CMD_MAP_CLEAR_MAP = 2115,
CMD_MIN_OVERMAP = 2115,
CMD_MAP_ADD_WAYPOINT = 2116,
CMD_MAP_EXCLUDE_AREA = 2117,
CMD_MAP_CLEAR_EXCLUDES = 2118,
CMD_MAP_EXCLUDE_RADIUS = 2119,
CMD_MAP_MOVE_LEFT = 2120,
CMD_MAP_MOVE_DOWN = 2121,
CMD_MAP_MOVE_UP = 2122,
CMD_MAP_MOVE_RIGHT = 2123,
CMD_MAP_MOVE_UP_LEFT = 2124,
CMD_MAP_MOVE_DOWN_LEFT = 2125,
CMD_MAP_MOVE_UP_RIGHT = 2126,
CMD_MAP_MOVE_DOWN_RIGHT = 2127,
CMD_MAP_JUMP_LEFT = 2128,
CMD_MAP_JUMP_DOWN = 2129,
CMD_MAP_JUMP_UP = 2130,
CMD_MAP_JUMP_RIGHT = 2131,
CMD_MAP_JUMP_UP_LEFT = 2132,
CMD_MAP_JUMP_DOWN_LEFT = 2133,
CMD_MAP_JUMP_UP_RIGHT = 2134,
CMD_MAP_JUMP_DOWN_RIGHT = 2135,
CMD_MAP_NEXT_LEVEL = 2136,
CMD_MAP_PREV_LEVEL = 2137,
CMD_MAP_GOTO_LEVEL = 2138,
CMD_MAP_SCROLL_DOWN = 2139,
CMD_MAP_SCROLL_UP = 2140,
CMD_MAP_FIND_UPSTAIR = 2141,
CMD_MAP_FIND_DOWNSTAIR = 2142,
CMD_MAP_FIND_YOU = 2143,
CMD_MAP_FIND_PORTAL = 2144,
CMD_MAP_FIND_TRAP = 2145,
CMD_MAP_FIND_ALTAR = 2146,
CMD_MAP_FIND_EXCLUDED = 2147,
CMD_MAP_FIND_WAYPOINT = 2148,
CMD_MAP_FIND_STASH = 2149,
CMD_MAP_FIND_STASH_REVERSE = 2150,
CMD_MAP_GOTO_TARGET = 2151,
CMD_MAP_ANNOTATE_LEVEL = 2152,
CMD_MAP_WIZARD_TELEPORT = 2153,
CMD_MAP_HELP = 2154,
CMD_MAP_FORGET = 2155,
CMD_MAP_EXIT_MAP = 2156,
CMD_MAX_OVERMAP = 2156,
CMD_TARGET_DOWN_LEFT = 2157,
CMD_MIN_TARGET = 2157,
CMD_TARGET_DOWN = 2158,
CMD_TARGET_DOWN_RIGHT = 2159,
CMD_TARGET_LEFT = 2160,
CMD_TARGET_RIGHT = 2161,
CMD_TARGET_UP_LEFT = 2162,
CMD_TARGET_UP = 2163,
CMD_TARGET_UP_RIGHT = 2164,
CMD_TARGET_DIR_DOWN_LEFT = 2165,
CMD_TARGET_DIR_DOWN = 2166,
CMD_TARGET_DIR_DOWN_RIGHT = 2167,
CMD_TARGET_DIR_LEFT = 2168,
CMD_TARGET_DIR_RIGHT = 2169,
CMD_TARGET_DIR_UP_LEFT = 2170,
CMD_TARGET_DIR_UP = 2171,
CMD_TARGET_DIR_UP_RIGHT = 2172,
CMD_TARGET_DESCRIBE = 2173,
CMD_TARGET_PREV_TARGET = 2174,
CMD_TARGET_MAYBE_PREV_TARGET = 2175,
CMD_TARGET_SELECT = 2176,
CMD_TARGET_SELECT_ENDPOINT = 2177,
CMD_TARGET_SELECT_FORCE = 2178,
CMD_TARGET_SELECT_FORCE_ENDPOINT = 2179,
CMD_TARGET_GET = 2180,
CMD_TARGET_OBJ_CYCLE_BACK = 2181,
CMD_TARGET_OBJ_CYCLE_FORWARD = 2182,
CMD_TARGET_CYCLE_FORWARD = 2183,
CMD_TARGET_CYCLE_BACK = 2184,
CMD_TARGET_CYCLE_BEAM = 2185,
CMD_TARGET_CYCLE_MLIST = 3000,
CMD_TARGET_CYCLE_MLIST_END = 3025,
CMD_TARGET_TOGGLE_MLIST = 3026,
CMD_TARGET_TOGGLE_BEAM = 3027,
CMD_TARGET_CANCEL = 3028,
CMD_TARGET_SHOW_PROMPT = 3029,
CMD_TARGET_OLD_SPACE = 3030,
CMD_TARGET_EXCLUDE = 3031,
CMD_TARGET_FIND_TRAP = 3032,
CMD_TARGET_FIND_PORTAL = 3033,
CMD_TARGET_FIND_ALTAR = 3034,
CMD_TARGET_FIND_UPSTAIR = 3035,
CMD_TARGET_FIND_DOWNSTAIR = 3036,
CMD_TARGET_FIND_YOU = 3037,
CMD_TARGET_WIZARD_MAKE_FRIENDLY = 3038,
CMD_TARGET_WIZARD_BLESS_MONSTER = 3039,
CMD_TARGET_WIZARD_MAKE_SHOUT = 3040,
CMD_TARGET_WIZARD_GIVE_ITEM = 3041,
CMD_TARGET_WIZARD_MOVE = 3042,
CMD_TARGET_WIZARD_PATHFIND = 3043,
CMD_TARGET_WIZARD_GAIN_LEVEL = 3044,
CMD_TARGET_WIZARD_MISCAST = 3045,
CMD_TARGET_WIZARD_MAKE_SUMMONED = 3046,
CMD_TARGET_WIZARD_POLYMORPH = 3047,
CMD_TARGET_WIZARD_DEBUG_MONSTER = 3048,
CMD_TARGET_WIZARD_HEAL_MONSTER = 3049,
CMD_TARGET_WIZARD_HURT_MONSTER = 3050,
CMD_TARGET_WIZARD_DEBUG_PORTAL = 3051,
CMD_TARGET_WIZARD_KILL_MONSTER = 3052,
CMD_TARGET_WIZARD_BANISH_MONSTER = 3053,
CMD_TARGET_MOUSE_MOVE = 3054,
CMD_TARGET_MOUSE_SELECT = 3055,
CMD_TARGET_HELP = 3056,
CMD_MAX_TARGET = 3056,
CMD_DOLL_RANDOMIZE = 3057,
CMD_MIN_DOLL = 3057,
CMD_DOLL_SELECT_NEXT_DOLL = 3058,
CMD_DOLL_SELECT_PREV_DOLL = 3059,
CMD_DOLL_SELECT_NEXT_PART = 3060,
CMD_DOLL_SELECT_PREV_PART = 3061,
CMD_DOLL_CHANGE_PART_NEXT = 3062,
CMD_DOLL_CHANGE_PART_PREV = 3063,
CMD_DOLL_CONFIRM_CHOICE = 3064,
CMD_DOLL_COPY = 3065,
CMD_DOLL_PASTE = 3066,
CMD_DOLL_TAKE_OFF = 3067,
CMD_DOLL_TAKE_OFF_ALL = 3068,
CMD_DOLL_TOGGLE_EQUIP = 3069,
CMD_DOLL_TOGGLE_EQUIP_ALL = 3070,
CMD_DOLL_JOB_DEFAULT = 3071,
CMD_DOLL_CHANGE_MODE = 3072,
CMD_DOLL_SAVE = 3073,
CMD_DOLL_QUIT = 3074,
CMD_MAX_DOLL = 3074,
CMD_DISABLE_MORE = 3075,
CMD_MIN_SYNTHETIC = 3075,
CMD_ENABLE_MORE = 3076,
CMD_UNWIELD_WEAPON = 3077,
CMD_NEXT_CMD = 3078,
CMD_MAX_CMD = 3079,
};
enum commandline_option_type {
CLO_SCORES = 0,
CLO_NAME = 1,
CLO_RACE = 2,
CLO_CLASS = 3,
CLO_PLAIN = 4,
CLO_DIR = 5,
CLO_RC = 6,
CLO_RCDIR = 7,
CLO_TSCORES = 8,
CLO_VSCORES = 9,
CLO_SCOREFILE = 10,
CLO_MORGUE = 11,
CLO_MACRO = 12,
CLO_MAPSTAT = 13,
CLO_ARENA = 14,
CLO_DUMP_MAPS = 15,
CLO_TEST = 16,
CLO_SCRIPT = 17,
CLO_BUILDDB = 18,
CLO_HELP = 19,
CLO_VERSION = 20,
CLO_SEED = 21,
CLO_SAVE_VERSION = 22,
CLO_SPRINT = 23,
CLO_EXTRA_OPT_FIRST = 24,
CLO_EXTRA_OPT_LAST = 25,
CLO_SPRINT_MAP = 26,
CLO_EDIT_SAVE = 27,
CLO_PRINT_CHARSET = 28,
CLO_ZOTDEF = 29,
CLO_TUTORIAL = 30,
CLO_WIZARD = 31,
CLO_NO_SAVE = 32,
CLO_WEBTILES_SOCKET = 33,
CLO_AWAIT_CONNECTION = 34,
CLO_NOPS = 35,
};
enum compare_type {
C_SUBRAY = 0,
C_SUPERRAY = 1,
C_NEITHER = 2,
};
enum conduct_type {
DID_NOTHING = 0,
DID_NECROMANCY = 1,
DID_HOLY = 2,
DID_UNHOLY = 3,
DID_ATTACK_HOLY = 4,
DID_ATTACK_NEUTRAL = 5,
DID_ATTACK_FRIEND = 6,
DID_FRIEND_DIED = 7,
DID_UNCHIVALRIC_ATTACK = 8,
DID_POISON = 9,
DID_KILL_LIVING = 10,
DID_KILL_UNDEAD = 11,
DID_KILL_DEMON = 12,
DID_KILL_NATURAL_UNHOLY = 13,
DID_KILL_NATURAL_EVIL = 14,
DID_KILL_UNCLEAN = 15,
DID_KILL_CHAOTIC = 16,
DID_KILL_WIZARD = 17,
DID_KILL_PRIEST = 18,
DID_KILL_HOLY = 19,
DID_KILL_FAST = 20,
DID_LIVING_KILLED_BY_UNDEAD_SLAVE = 21,
DID_LIVING_KILLED_BY_SERVANT = 22,
DID_UNDEAD_KILLED_BY_UNDEAD_SLAVE = 23,
DID_UNDEAD_KILLED_BY_SERVANT = 24,
DID_DEMON_KILLED_BY_UNDEAD_SLAVE = 25,
DID_DEMON_KILLED_BY_SERVANT = 26,
DID_NATURAL_UNHOLY_KILLED_BY_SERVANT = 27,
DID_NATURAL_EVIL_KILLED_BY_SERVANT = 28,
DID_HOLY_KILLED_BY_UNDEAD_SLAVE = 29,
DID_HOLY_KILLED_BY_SERVANT = 30,
DID_BANISH = 31,
DID_SPELL_MEMORISE = 32,
DID_SPELL_CASTING = 33,
DID_SPELL_PRACTISE = 34,
DID_CARDS = 35,
DID_DRINK_BLOOD = 36,
DID_CANNIBALISM = 37,
DID_EAT_SOULED_BEING = 38,
DID_DELIBERATE_MUTATING = 39,
DID_CAUSE_GLOWING = 40,
DID_UNCLEAN = 41,
DID_CHAOS = 42,
DID_DESECRATE_ORCISH_REMAINS = 43,
DID_DESTROY_ORCISH_IDOL = 44,
DID_KILL_SLIME = 45,
DID_KILL_PLANT = 46,
DID_PLANT_KILLED_BY_SERVANT = 47,
DID_HASTY = 48,
DID_CORPSE_VIOLATION = 49,
DID_SOULED_FRIEND_DIED = 50,
DID_UNCLEAN_KILLED_BY_SERVANT = 51,
DID_CHAOTIC_KILLED_BY_SERVANT = 52,
DID_ATTACK_IN_SANCTUARY = 53,
DID_KILL_ARTIFICIAL = 54,
DID_ARTIFICIAL_KILLED_BY_UNDEAD_SLAVE = 55,
DID_ARTIFICIAL_KILLED_BY_SERVANT = 56,
DID_DESTROY_SPELLBOOK = 57,
DID_EXPLORATION = 58,
DID_DESECRATE_HOLY_REMAINS = 59,
DID_SEE_MONSTER = 60,
NUM_CONDUCTS = 61,
};
enum confirm_butcher_type {
CONFIRM_NEVER = 0,
CONFIRM_ALWAYS = 1,
CONFIRM_AUTO = 2,
};
enum confirm_level_type {
CONFIRM_NONE_EASY = 0,
CONFIRM_SAFE_EASY = 1,
CONFIRM_ALL_EASY = 2,
};
enum confirm_prompt_type {
CONFIRM_CANCEL = 0,
CONFIRM_PROMPT = 1,
CONFIRM_NONE = 2,
};
enum corpse_effect_type {
CE_NOCORPSE = 0,
CE_CLEAN = 1,
CE_CONTAMINATED = 2,
CE_POISONOUS = 3,
CE_POISON_CONTAM = 4,
CE_ROT = 5,
CE_MUTAGEN = 6,
CE_ROTTEN = 7,
};
enum corpse_type {
CORPSE_BODY = 0,
CORPSE_SKELETON = 1,
};
enum cursor_type {
CURSOR_MOUSE = 0,
CURSOR_TUTORIAL = 1,
CURSOR_MAP = 2,
CURSOR_MAX = 3,
};
enum cycle {
CYCLE_NONE = 0,
CYCLE_TOGGLE = 1,
CYCLE_CYCLE = 2,
};
enum daction_type {
DACT_ALLY_HOLY = 0,
DACT_ALLY_UNHOLY_EVIL = 1,
DACT_ALLY_UNCLEAN_CHAOTIC = 2,
DACT_ALLY_SPELLCASTER = 3,
DACT_ALLY_YRED_SLAVE = 4,
DACT_ALLY_BEOGH = 5,
DACT_ALLY_SLIME = 6,
DACT_ALLY_PLANT = 7,
NUM_DA_COUNTERS = 8,
DACT_OLD_ENSLAVED_SOULS_POOF = 16,
DACT_HOLY_NEW_ATTEMPT = 17,
DACT_HOLY_PETS_GO_NEUTRAL = 18,
DACT_ALLY_TROG = 19,
DACT_SHUFFLE_DECKS = 20,
DACT_REAUTOMAP = 21,
DACT_REMOVE_JIYVA_ALTARS = 22,
DACT_PIKEL_SLAVES = 23,
DACT_ROT_CORPSES = 24,
DACT_TOMB_CTELE = 25,
NUM_DACTIONS = 26,
};
enum death_desc_verbosity {
DDV_TERSE = 0,
DDV_ONELINE = 1,
DDV_NORMAL = 2,
DDV_VERBOSE = 3,
DDV_LOGVERBOSE = 4,
};
enum deck_rarity_type {
DECK_RARITY_RANDOM = 0,
DECK_RARITY_COMMON = 1,
DECK_RARITY_RARE = 2,
DECK_RARITY_LEGENDARY = 3,
};
enum delay_type {
DELAY_NOT_DELAYED = 0,
DELAY_EAT = 1,
DELAY_FEED_VAMPIRE = 2,
DELAY_ARMOUR_ON = 3,
DELAY_ARMOUR_OFF = 4,
DELAY_JEWELLERY_ON = 5,
DELAY_MEMORISE = 6,
DELAY_BUTCHER = 7,
DELAY_BOTTLE_BLOOD = 8,
DELAY_WEAPON_SWAP = 9,
DELAY_PASSWALL = 10,
DELAY_DROP_ITEM = 11,
DELAY_MULTIDROP = 12,
DELAY_ASCENDING_STAIRS = 13,
DELAY_DESCENDING_STAIRS = 14,
DELAY_RECITE = 15,
DELAY_RUN = 16,
DELAY_REST = 17,
DELAY_TRAVEL = 18,
DELAY_MACRO = 19,
DELAY_MACRO_PROCESS_KEY = 20,
DELAY_INTERRUPTIBLE = 21,
DELAY_UNINTERRUPTIBLE = 22,
NUM_DELAYS = 23,
};
enum demon_class_type {
DEMON_LESSER = 0,
DEMON_COMMON = 1,
DEMON_GREATER = 2,
DEMON_RANDOM = 3,
};
enum description_level_type {
DESC_THE = 0,
DESC_A = 1,
DESC_YOUR = 2,
DESC_PLAIN = 3,
DESC_ITS = 4,
DESC_INVENTORY_EQUIP = 5,
DESC_INVENTORY = 6,
DESC_BASENAME = 7,
DESC_QUALNAME = 8,
DESC_DBNAME = 9,
DESC_NONE = 10,
};
enum dgn_event_type {
DET_NONE = 0,
DET_TURN_ELAPSED = 1,
DET_MONSTER_MOVED = 2,
DET_PLAYER_MOVED = 4,
DET_LEAVING_LEVEL = 8,
DET_ENTERING_LEVEL = 16,
DET_ENTERED_LEVEL = 32,
DET_PLAYER_IN_LOS = 64,
DET_PLAYER_CLIMBS = 128,
DET_MONSTER_DIED = 256,
DET_ITEM_PICKUP = 512,
DET_ITEM_MOVED = 1024,
DET_FEAT_CHANGE = 2048,
DET_WALL_HIT = 4096,
DET_DOOR_OPENED = 8192,
DET_DOOR_CLOSED = 16384,
DET_HP_WARNING = 32768,
DET_PRESSURE_PLATE = 65536,
DET_GLOBAL_MASK = 33081,
DET_POSITION_MASK = 97862,
};
enum disable_type {
DIS_SPAWNS = 0,
DIS_MON_ACT = 1,
DIS_MON_REGEN = 2,
DIS_PLAYER_REGEN = 3,
DIS_HUNGER = 4,
DIS_DEATH = 5,
DIS_DELAY = 6,
DIS_CONFIRMATIONS = 7,
NUM_DISABLEMENTS = 8,
};
enum dragon_class_type {
DRAGON_LIZARD = 0,
DRAGON_DRACONIAN = 1,
DRAGON_DRAGON = 2,
};
enum drop_mode_type {
DM_SINGLE = 0,
DM_MULTI = 1,
};
enum dungeon_char_type {
DCHAR_WALL = 0,
DCHAR_WALL_MAGIC = 1,
DCHAR_FLOOR = 2,
DCHAR_FLOOR_MAGIC = 3,
DCHAR_DOOR_OPEN = 4,
DCHAR_DOOR_CLOSED = 5,
DCHAR_TRAP = 6,
DCHAR_STAIRS_DOWN = 7,
DCHAR_STAIRS_UP = 8,
DCHAR_GRATE = 9,
DCHAR_ALTAR = 10,
DCHAR_ARCH = 11,
DCHAR_FOUNTAIN = 12,
DCHAR_WAVY = 13,
DCHAR_STATUE = 14,
DCHAR_INVIS_EXPOSED = 15,
DCHAR_ITEM_DETECTED = 16,
DCHAR_ITEM_ORB = 17,
DCHAR_ITEM_WEAPON = 18,
DCHAR_ITEM_ARMOUR = 19,
DCHAR_ITEM_WAND = 20,
DCHAR_ITEM_FOOD = 21,
DCHAR_ITEM_SCROLL = 22,
DCHAR_ITEM_RING = 23,
DCHAR_ITEM_POTION = 24,
DCHAR_ITEM_MISSILE = 25,
DCHAR_ITEM_BOOK = 26,
DCHAR_ITEM_STAVE = 27,
DCHAR_ITEM_MISCELLANY = 28,
DCHAR_ITEM_CORPSE = 29,
DCHAR_ITEM_GOLD = 30,
DCHAR_ITEM_AMULET = 31,
DCHAR_CLOUD = 32,
DCHAR_TREE = 33,
DCHAR_TELEPORTER = 34,
DCHAR_SPACE = 35,
DCHAR_FIRED_FLASK = 36,
DCHAR_FIRED_BOLT = 37,
DCHAR_FIRED_CHUNK = 38,
DCHAR_FIRED_BOOK = 39,
DCHAR_FIRED_WEAPON = 40,
DCHAR_FIRED_ZAP = 41,
DCHAR_FIRED_BURST = 42,
DCHAR_FIRED_STICK = 43,
DCHAR_FIRED_TRINKET = 44,
DCHAR_FIRED_SCROLL = 45,
DCHAR_FIRED_DEBUG = 46,
DCHAR_FIRED_ARMOUR = 47,
DCHAR_FIRED_MISSILE = 48,
DCHAR_EXPLOSION = 49,
NUM_DCHAR_TYPES = 50,
};
enum dungeon_feature_type {
DNGN_UNSEEN = 0,
DNGN_CLOSED_DOOR = 1,
DNGN_RUNED_DOOR = 2,
DNGN_OLD_SECRET_DOOR = 3,
DNGN_MANGROVE = 4,
DNGN_METAL_WALL = 5,
DNGN_MINWALL = 5,
DNGN_GREEN_CRYSTAL_WALL = 6,
DNGN_ROCK_WALL = 7,
DNGN_SLIMY_WALL = 8,
DNGN_STONE_WALL = 9,
DNGN_PERMAROCK_WALL = 10,
DNGN_MAXOPAQUE = 10,
DNGN_CLEAR_ROCK_WALL = 11,
DNGN_MINSEE = 11,
DNGN_CLEAR_STONE_WALL = 12,
DNGN_CLEAR_PERMAROCK_WALL = 13,
DNGN_MAXWALL = 13,
DNGN_GRATE = 14,
DNGN_TREE = 15,
DNGN_MAX_NONREACH = 15,
DNGN_OPEN_SEA = 16,
DNGN_LAVA_SEA = 17,
DNGN_ORCISH_IDOL = 18,
DNGN_GRANITE_STATUE = 19,
DNGN_MALIGN_GATEWAY = 20,
DNGN_MAXSOLID = 20,
DNGN_LAVA = 30,
DNGN_MINMOVE = 30,
DNGN_DEEP_WATER = 31,
DNGN_SHALLOW_WATER = 32,
DNGN_MINWALK = 32,
DNGN_MINITEM = 32,
DNGN_FLOOR = 33,
DNGN_OPEN_DOOR = 34,
DNGN_TRAP_MECHANICAL = 35,
DNGN_TRAP_MAGICAL = 36,
DNGN_TRAP_NATURAL = 37,
DNGN_TRAP_WEB = 38,
DNGN_UNDISCOVERED_TRAP = 39,
DNGN_ENTER_SHOP = 40,
DNGN_ABANDONED_SHOP = 41,
DNGN_STONE_STAIRS_DOWN_I = 42,
DNGN_STONE_STAIRS_DOWN_II = 43,
DNGN_STONE_STAIRS_DOWN_III = 44,
DNGN_ESCAPE_HATCH_DOWN = 45,
DNGN_STONE_STAIRS_UP_I = 46,
DNGN_STONE_STAIRS_UP_II = 47,
DNGN_STONE_STAIRS_UP_III = 48,
DNGN_ESCAPE_HATCH_UP = 49,
DNGN_ENTER_DIS = 50,
DNGN_ENTER_GEHENNA = 51,
DNGN_ENTER_COCYTUS = 52,
DNGN_ENTER_TARTARUS = 53,
DNGN_ENTER_ABYSS = 54,
DNGN_EXIT_ABYSS = 55,
DNGN_STONE_ARCH = 56,
DNGN_ENTER_PANDEMONIUM = 57,
DNGN_EXIT_PANDEMONIUM = 58,
DNGN_TRANSIT_PANDEMONIUM = 59,
DNGN_EXIT_DUNGEON = 60,
DNGN_EXIT_THROUGH_ABYSS = 61,
DNGN_EXIT_HELL = 62,
DNGN_ENTER_HELL = 63,
DNGN_ENTER_LABYRINTH = 64,
DNGN_TELEPORTER = 65,
DNGN_ENTER_PORTAL_VAULT = 66,
DNGN_EXIT_PORTAL_VAULT = 67,
DNGN_EXPIRED_PORTAL = 68,
DNGN_ENTER_DWARVEN_HALL = 69,
DNGN_ENTER_FIRST_BRANCH = 69,
DNGN_ENTER_ORCISH_MINES = 70,
DNGN_ENTER_LAIR = 71,
DNGN_ENTER_SLIME_PITS = 72,
DNGN_ENTER_VAULTS = 73,
DNGN_ENTER_CRYPT = 74,
DNGN_ENTER_HALL_OF_BLADES = 75,
DNGN_ENTER_ZOT = 76,
DNGN_ENTER_TEMPLE = 77,
DNGN_ENTER_SNAKE_PIT = 78,
DNGN_ENTER_ELVEN_HALLS = 79,
DNGN_ENTER_TOMB = 80,
DNGN_ENTER_SWAMP = 81,
DNGN_ENTER_SHOALS = 82,
DNGN_ENTER_SPIDER_NEST = 83,
DNGN_ENTER_FOREST = 84,
DNGN_ENTER_LAST_BRANCH = 84,
DNGN_UNUSED_ENTER_BRANCH_1 = 85,
DNGN_RETURN_FROM_DWARVEN_HALL = 86,
DNGN_RETURN_FROM_FIRST_BRANCH = 86,
DNGN_RETURN_FROM_ORCISH_MINES = 87,
DNGN_RETURN_FROM_LAIR = 88,
DNGN_RETURN_FROM_SLIME_PITS = 89,
DNGN_RETURN_FROM_VAULTS = 90,
DNGN_RETURN_FROM_CRYPT = 91,
DNGN_RETURN_FROM_HALL_OF_BLADES = 92,
DNGN_RETURN_FROM_ZOT = 93,
DNGN_RETURN_FROM_TEMPLE = 94,
DNGN_RETURN_FROM_SNAKE_PIT = 95,
DNGN_RETURN_FROM_ELVEN_HALLS = 96,
DNGN_RETURN_FROM_TOMB = 97,
DNGN_RETURN_FROM_SWAMP = 98,
DNGN_RETURN_FROM_SHOALS = 99,
DNGN_RETURN_FROM_SPIDER_NEST = 100,
DNGN_RETURN_FROM_FOREST = 101,
DNGN_RETURN_FROM_LAST_BRANCH = 101,
DNGN_UNUSED_RETURN_BRANCH_1 = 102,
DNGN_ALTAR_ZIN = 103,
DNGN_ALTAR_FIRST_GOD = 103,
DNGN_ALTAR_SHINING_ONE = 104,
DNGN_ALTAR_KIKUBAAQUDGHA = 105,
DNGN_ALTAR_YREDELEMNUL = 106,
DNGN_ALTAR_XOM = 107,
DNGN_ALTAR_VEHUMET = 108,
DNGN_ALTAR_OKAWARU = 109,
DNGN_ALTAR_MAKHLEB = 110,
DNGN_ALTAR_SIF_MUNA = 111,
DNGN_ALTAR_TROG = 112,
DNGN_ALTAR_NEMELEX_XOBEH = 113,
DNGN_ALTAR_ELYVILON = 114,
DNGN_ALTAR_LUGONU = 115,
DNGN_ALTAR_BEOGH = 116,
DNGN_ALTAR_JIYVA = 117,
DNGN_ALTAR_FEDHAS = 118,
DNGN_ALTAR_CHEIBRIADOS = 119,
DNGN_ALTAR_ASHENZARI = 120,
DNGN_ALTAR_LAST_GOD = 120,
DNGN_UNUSED_ALTAR_1 = 121,
DNGN_FOUNTAIN_BLUE = 122,
DNGN_FOUNTAIN_SPARKLING = 123,
DNGN_FOUNTAIN_BLOOD = 124,
DNGN_DRY_FOUNTAIN_BLUE = 125,
DNGN_DRY_FOUNTAIN_SPARKLING = 126,
DNGN_DRY_FOUNTAIN_BLOOD = 127,
DNGN_PERMADRY_FOUNTAIN = 128,
DNGN_EXPLORE_HORIZON = 129,
DNGN_UNKNOWN_ALTAR = 130,
DNGN_UNKNOWN_PORTAL = 131,
NUM_FEATURES = 132,
};
enum duration_type {
DUR_INVIS = 0,
DUR_CONF = 1,
DUR_PARALYSIS = 2,
DUR_SLOW = 3,
DUR_MESMERISED = 4,
DUR_HASTE = 5,
DUR_MIGHT = 6,
DUR_BRILLIANCE = 7,
DUR_AGILITY = 8,
DUR_FLIGHT = 9,
DUR_BERSERK = 10,
DUR_POISONING = 11,
DUR_CONFUSING_TOUCH = 12,
DUR_SURE_BLADE = 13,
DUR_CORONA = 14,
DUR_DEATHS_DOOR = 15,
DUR_FIRE_SHIELD = 16,
DUR_BUILDING_RAGE = 17,
DUR_EXHAUSTED = 18,
DUR_LIQUID_FLAMES = 19,
DUR_ICY_ARMOUR = 20,
DUR_REPEL_MISSILES = 21,
DUR_JELLY_PRAYER = 22,
DUR_PIETY_POOL = 23,
DUR_DIVINE_VIGOUR = 24,
DUR_DIVINE_STAMINA = 25,
DUR_DIVINE_SHIELD = 26,
DUR_REGENERATION = 27,
DUR_SWIFTNESS = 28,
DUR_CONTROLLED_FLIGHT = 29,
DUR_TELEPORT = 30,
DUR_CONTROL_TELEPORT = 31,
DUR_BREATH_WEAPON = 32,
DUR_TRANSFORMATION = 33,
DUR_DEATH_CHANNEL = 34,
DUR_DEFLECT_MISSILES = 35,
DUR_PHASE_SHIFT = 36,
DUR_SEE_INVISIBLE = 37,
DUR_WEAPON_BRAND = 38,
DUR_DEMONIC_GUARDIAN = 39,
DUR_POWERED_BY_DEATH = 40,
DUR_SILENCE = 41,
DUR_CONDENSATION_SHIELD = 42,
DUR_STONESKIN = 43,
DUR_GOURMAND = 44,
DUR_BARGAIN = 45,
DUR_INSULATION = 46,
DUR_RESISTANCE = 47,
DUR_SLAYING = 48,
DUR_STEALTH = 49,
DUR_MAGIC_SHIELD = 50,
DUR_SLEEP = 51,
DUR_TELEPATHY = 52,
DUR_PETRIFIED = 53,
DUR_LOWERED_MR = 54,
DUR_REPEL_STAIRS_MOVE = 55,
DUR_REPEL_STAIRS_CLIMB = 56,
DUR_COLOUR_SMOKE_TRAIL = 57,
DUR_SLIMIFY = 58,
DUR_TIME_STEP = 59,
DUR_ICEMAIL_DEPLETED = 60,
DUR_MISLED = 61,
DUR_QUAD_DAMAGE = 62,
DUR_AFRAID = 63,
DUR_MIRROR_DAMAGE = 64,
DUR_SCRYING = 65,
DUR_TORNADO = 66,
DUR_LIQUEFYING = 67,
DUR_HEROISM = 68,
DUR_FINESSE = 69,
DUR_LIFESAVING = 70,
DUR_PARALYSIS_IMMUNITY = 71,
DUR_DARKNESS = 72,
DUR_PETRIFYING = 73,
DUR_SHROUD_OF_GOLUBRIA = 74,
DUR_TORNADO_COOLDOWN = 75,
DUR_NAUSEA = 76,
DUR_AMBROSIA = 77,
DUR_TEMP_MUTATIONS = 78,
DUR_DISJUNCTION = 79,
NUM_DURATIONS = 80,
};
enum element_type {
ETC_FIRE = 32,
ETC_ICE = 33,
ETC_EARTH = 34,
ETC_ELECTRICITY = 35,
ETC_AIR = 36,
ETC_POISON = 37,
ETC_WATER = 38,
ETC_MAGIC = 39,
ETC_MUTAGENIC = 40,
ETC_WARP = 41,
ETC_ENCHANT = 42,
ETC_HEAL = 43,
ETC_HOLY = 44,
ETC_DARK = 45,
ETC_DEATH = 46,
ETC_UNHOLY = 47,
ETC_VEHUMET = 48,
ETC_BEOGH = 49,
ETC_CRYSTAL = 50,
ETC_BLOOD = 51,
ETC_SMOKE = 52,
ETC_SLIME = 53,
ETC_JEWEL = 54,
ETC_ELVEN = 55,
ETC_DWARVEN = 56,
ETC_ORCISH = 57,
ETC_FLASH = 58,
ETC_KRAKEN = 59,
ETC_FLOOR = 60,
ETC_ROCK = 61,
ETC_MIST = 62,
ETC_SHIMMER_BLUE = 63,
ETC_DECAY = 64,
ETC_SILVER = 65,
ETC_GOLD = 66,
ETC_IRON = 67,
ETC_BONE = 68,
ETC_ELVEN_BRICK = 69,
ETC_WAVES = 70,
ETC_TREE = 71,
ETC_RANDOM = 72,
ETC_TORNADO = 73,
ETC_LIQUEFIED = 74,
ETC_MANGROVE = 75,
ETC_ORB_GLOW = 76,
ETC_DISJUNCTION = 77,
ETC_DISCO = 96,
ETC_FIRST_LUA = 96,
NUM_COLOURS = 97,
};
enum enchant_type {
ENCH_NONE = 0,
ENCH_BERSERK = 1,
ENCH_HASTE = 2,
ENCH_MIGHT = 3,
ENCH_FATIGUE = 4,
ENCH_SLOW = 5,
ENCH_FEAR = 6,
ENCH_CONFUSION = 7,
ENCH_INVIS = 8,
ENCH_POISON = 9,
ENCH_ROT = 10,
ENCH_SUMMON = 11,
ENCH_ABJ = 12,
ENCH_CORONA = 13,
ENCH_CHARM = 14,
ENCH_STICKY_FLAME = 15,
ENCH_GLOWING_SHAPESHIFTER = 16,
ENCH_SHAPESHIFTER = 17,
ENCH_TP = 18,
ENCH_SLEEP_WARY = 19,
ENCH_SUBMERGED = 20,
ENCH_SHORT_LIVED = 21,
ENCH_PARALYSIS = 22,
ENCH_SICK = 23,
ENCH_SLEEPY = 24,
ENCH_HELD = 25,
ENCH_BATTLE_FRENZY = 26,
ENCH_TEMP_PACIF = 27,
ENCH_PETRIFYING = 28,
ENCH_PETRIFIED = 29,
ENCH_LOWERED_MR = 30,
ENCH_SOUL_RIPE = 31,
ENCH_SLOWLY_DYING = 32,
ENCH_EAT_ITEMS = 33,
ENCH_AQUATIC_LAND = 34,
ENCH_SPORE_PRODUCTION = 35,
ENCH_SLOUCH = 36,
ENCH_SWIFT = 37,
ENCH_TIDE = 38,
ENCH_INSANE = 39,
ENCH_SILENCE = 40,
ENCH_AWAKEN_FOREST = 41,
ENCH_EXPLODING = 42,
ENCH_BLEED = 43,
ENCH_PORTAL_TIMER = 44,
ENCH_SEVERED = 45,
ENCH_ANTIMAGIC = 46,
ENCH_FADING_AWAY = 47,
ENCH_PREPARING_RESURRECT = 48,
ENCH_REGENERATION = 49,
ENCH_RAISED_MR = 50,
ENCH_MIRROR_DAMAGE = 51,
ENCH_STONESKIN = 52,
ENCH_FEAR_INSPIRING = 53,
ENCH_PORTAL_PACIFIED = 54,
ENCH_WITHDRAWN = 55,
ENCH_ATTACHED = 56,
ENCH_LIFE_TIMER = 57,
ENCH_FLIGHT = 58,
ENCH_LIQUEFYING = 59,
ENCH_TORNADO = 60,
ENCH_FAKE_ABJURATION = 61,
ENCH_DAZED = 62,
ENCH_MUTE = 63,
ENCH_BLIND = 64,
ENCH_DUMB = 65,
ENCH_MAD = 66,
ENCH_SILVER_CORONA = 67,
ENCH_RECITE_TIMER = 68,
ENCH_INNER_FLAME = 69,
ENCH_ROUSED = 70,
ENCH_BREATH_WEAPON = 71,
ENCH_DEATHS_DOOR = 72,
ENCH_ROLLING = 73,
ENCH_OZOCUBUS_ARMOUR = 74,
ENCH_WRETCHED = 75,
NUM_ENCHANTMENTS = 76,
};
enum energy_use_type {
EUT_MOVE = 0,
EUT_SWIM = 1,
EUT_ATTACK = 2,
EUT_MISSILE = 3,
EUT_SPELL = 4,
EUT_SPECIAL = 5,
EUT_ITEM = 6,
EUT_PICKUP = 7,
};
enum eq_type {
ET_WEAPON = 0,
ET_SHIELD = 1,
ET_ARMOUR = 2,
ET_JEWELS = 3,
NUM_ET = 4,
};
enum eq_type_flags {
ETF_WEAPON = 1,
ETF_SHIELD = 2,
ETF_ARMOUR = 4,
ETF_JEWELS = 8,
ETF_ALL = 15,
};
enum equipment_type {
EQ_NONE = -1,
EQ_WEAPON = 0,
EQ_CLOAK = 1,
EQ_HELMET = 2,
EQ_GLOVES = 3,
EQ_BOOTS = 4,
EQ_SHIELD = 5,
EQ_BODY_ARMOUR = 6,
EQ_LEFT_RING = 7,
EQ_RIGHT_RING = 8,
EQ_AMULET = 9,
EQ_RING_ONE = 10,
EQ_RING_TWO = 11,
EQ_RING_THREE = 12,
EQ_RING_FOUR = 13,
EQ_RING_FIVE = 14,
EQ_RING_SIX = 15,
EQ_RING_SEVEN = 16,
EQ_RING_EIGHT = 17,
NUM_EQUIP = 18,
EQ_MIN_ARMOUR = 1,
EQ_MAX_ARMOUR = 6,
EQ_MAX_WORN = 17,
EQ_STAFF = 100,
EQ_RINGS = 101,
EQ_RINGS_PLUS = 102,
EQ_RINGS_PLUS2 = 103,
EQ_ALL_ARMOUR = 104,
};
enum es_command_type {
ES_LS = 0,
ES_RM = 1,
ES_GET = 2,
ES_PUT = 3,
ES_REPACK = 4,
ES_INFO = 5,
NUM_ES = 6,
};
enum ev_ignore_type {
EV_IGNORE_NONE = 0,
EV_IGNORE_HELPLESS = 1,
EV_IGNORE_PHASESHIFT = 2,
};
enum evoc_type {
EVOC_WAND = 0,
EVOC_ROD = 1,
EVOC_DECK = 2,
EVOC_MISC = 3,
};
enum exer_type {
EX_BEAM_MAY_HIT = 0,
EX_BEAM_WILL_HIT = 1,
EX_WILL_STAB = 2,
EX_WILL_HIT = 3,
EX_MONSTER_MAY_HIT = 4,
EX_MONSTER_WILL_HIT = 5,
EX_WILL_LAUNCH = 6,
EX_WILL_THROW_MSL = 7,
EX_WILL_THROW_WEAPON = 8,
EX_WILL_THROW_OTHER = 9,
EX_USED_ABIL = 10,
EX_DID_CAST = 11,
EX_DID_MISCAST = 12,
EX_SHIELD_BLOCK = 13,
EX_DODGE_TRAP = 14,
EX_SHIELD_BEAM_FAIL = 15,
EX_TRAP_DISARM = 16,
EX_TRAP_DISARM_FAIL = 17,
EX_TRAP_DISARM_TRIGGER = 18,
EX_TRAP_FOUND = 19,
EX_TRAP_PASSIVE = 20,
EX_TRAP_TRIGGER = 21,
EX_REMOVE_NET = 22,
EX_SNEAK = 23,
EX_SNEAK_INVIS = 24,
EX_DID_EVOKE_ITEM = 25,
EX_DID_ZAP_WAND = 26,
EX_WILL_READ_TOME = 27,
EX_WAIT = 28,
};
enum explore_status_type {
EST_FULLY_EXPLORED = 0,
EST_PARTLY_EXPLORED = 1,
EST_GREED_UNFULFILLED = 2,
};
enum explore_stop_type {
ES_NONE = 0,
ES_ITEM = 1,
ES_GREEDY_PICKUP = 2,
ES_GREEDY_PICKUP_GOLD = 4,
ES_GREEDY_PICKUP_SMART = 8,
ES_GREEDY_PICKUP_THROWN = 16,
ES_GREEDY_PICKUP_MASK = 30,
ES_GREEDY_ITEM = 32,
ES_GREEDY_VISITED_ITEM_STACK = 64,
ES_STAIR = 128,
ES_SHOP = 256,
ES_ALTAR = 512,
ES_PORTAL = 1024,
ES_GLOWING_ITEM = 2048,
ES_ARTEFACT = 4096,
ES_RUNE = 8192,
ES_BRANCH = 16384,
ES_RUNED_DOOR = 32768,
ES_GREEDY_SACRIFICEABLE = 65536,
};
enum extra_monster_index_type {
MAX_MONSTERS = 700,
ANON_FRIENDLY_MONSTER = 700,
NON_MONSTER = 27000,
MHITNOT = 27000,
MHITYOU = 27001,
ZOT_TRAP_MISCAST = 27002,
HELL_EFFECT_MISCAST = 27003,
WIELD_MISCAST = 27004,
MELEE_MISCAST = 27005,
MISC_MISCAST = 27006,
};
enum feature_flag_type {
FFT_NONE = 0,
FFT_NOTABLE = 1,
FFT_EXAMINE_HINT = 2,
};
enum feature_property_type {
FPROP_NONE = 0,
FPROP_SANCTUARY_1 = 1,
FPROP_SANCTUARY_2 = 4,
FPROP_BLOODY = 8,
FPROP_UNUSED_2 = 16,
FPROP_HIGHLIGHT = 32,
FPROP_UNUSED = 64,
FPROP_NO_CLOUD_GEN = 128,
FPROP_NO_RTELE_INTO = 256,
FPROP_NO_CTELE_INTO = 512,
FPROP_NO_TELE_INTO = 768,
FPROP_NO_TIDE = 1024,
FPROP_NO_SUBMERGE = 2048,
FPROP_MOLD = 4096,
FPROP_GLOW_MOLD = 8192,
FPROP_NO_JIYVA = 16384,
FPROP_SEEN_OR_NOEXP = 32768,
FPROP_BLOOD_WEST = 65536,
FPROP_BLOOD_NORTH = 131072,
FPROP_BLOOD_EAST = 196608,
FPROP_OLD_BLOOD = 262144,
};
enum fire_type {
FIRE_NONE = 0,
FIRE_LAUNCHER = 1,
FIRE_DART = 2,
FIRE_STONE = 4,
FIRE_DAGGER = 8,
FIRE_JAVELIN = 16,
FIRE_SPEAR = 32,
FIRE_HAND_AXE = 64,
FIRE_CLUB = 128,
FIRE_ROCK = 256,
FIRE_NET = 512,
FIRE_RETURNING = 1024,
FIRE_INSCRIBED = 2048,
};
enum flight_type {
FL_NONE = 0,
FL_WINGED = 1,
FL_LEVITATE = 2,
};
enum flush_reason_type {
FLUSH_ON_FAILURE = 0,
FLUSH_BEFORE_COMMAND = 1,
FLUSH_ON_MESSAGE = 2,
FLUSH_ON_WARNING_MESSAGE = 3,
FLUSH_ON_DANGER_MESSAGE = 4,
FLUSH_ON_PROMPT = 5,
FLUSH_ON_UNSAFE_YES_OR_NO_PROMPT = 6,
FLUSH_LUA = 7,
FLUSH_KEY_REPLAY_CANCEL = 8,
FLUSH_ABORT_MACRO = 9,
FLUSH_REPLAY_SETUP_FAILURE = 10,
FLUSH_REPEAT_SETUP_DONE = 11,
NUM_FLUSH_REASONS = 12,
};
enum food_flag_type {
FFL_NONE = 0,
FFL_FRUIT = 1,
};
enum food_type {
FOOD_MEAT_RATION = 0,
FOOD_BREAD_RATION = 1,
FOOD_PEAR = 2,
FOOD_APPLE = 3,
FOOD_CHOKO = 4,
FOOD_HONEYCOMB = 5,
FOOD_ROYAL_JELLY = 6,
FOOD_SNOZZCUMBER = 7,
FOOD_PIZZA = 8,
FOOD_APRICOT = 9,
FOOD_ORANGE = 10,
FOOD_BANANA = 11,
FOOD_STRAWBERRY = 12,
FOOD_RAMBUTAN = 13,
FOOD_LEMON = 14,
FOOD_GRAPE = 15,
FOOD_SULTANA = 16,
FOOD_LYCHEE = 17,
FOOD_BEEF_JERKY = 18,
FOOD_CHEESE = 19,
FOOD_SAUSAGE = 20,
FOOD_CHUNK = 21,
FOOD_AMBROSIA = 22,
NUM_FOODS = 23,
};
enum friendly_pickup_type {
FRIENDLY_PICKUP_NONE = 0,
FRIENDLY_PICKUP_FRIEND = 1,
FRIENDLY_PICKUP_PLAYER = 2,
FRIENDLY_PICKUP_ALL = 3,
};
enum fs_op_type {
FSOP_COLOUR = 0,
FSOP_TEXT = 1,
};
enum game_direction_type {
GDT_GAME_START = 0,
GDT_DESCENDING = 1,
GDT_ASCENDING = 2,
};
enum game_type {
GAME_TYPE_UNSPECIFIED = 0,
GAME_TYPE_NORMAL = 1,
GAME_TYPE_TUTORIAL = 2,
GAME_TYPE_ARENA = 3,
GAME_TYPE_SPRINT = 4,
GAME_TYPE_HINTS = 5,
GAME_TYPE_ZOTDEF = 6,
GAME_TYPE_INSTRUCTIONS = 7,
GAME_TYPE_HIGH_SCORES = 8,
NUM_GAME_TYPE = 9,
};
enum gender_type {
GENDER_NEUTER = 0,
GENDER_MALE = 1,
GENDER_FEMALE = 2,
};
enum genus_type {
GENPC_DRACONIAN = 0,
GENPC_ELVEN = 1,
GENPC_NONE = 2,
};
enum gloves_desc_type {
TGLOV_DESC_GLOVES = 0,
TGLOV_DESC_GAUNTLETS = 1,
TGLOV_DESC_BRACERS = 2,
};
enum god_type {
GOD_NO_GOD = 0,
GOD_ZIN = 1,
GOD_SHINING_ONE = 2,
GOD_KIKUBAAQUDGHA = 3,
GOD_YREDELEMNUL = 4,
GOD_XOM = 5,
GOD_VEHUMET = 6,
GOD_OKAWARU = 7,
GOD_MAKHLEB = 8,
GOD_SIF_MUNA = 9,
GOD_TROG = 10,
GOD_NEMELEX_XOBEH = 11,
GOD_ELYVILON = 12,
GOD_LUGONU = 13,
GOD_BEOGH = 14,
GOD_JIYVA = 15,
GOD_FEDHAS = 16,
GOD_CHEIBRIADOS = 17,
GOD_ASHENZARI = 18,
NUM_GODS = 19,
GOD_RANDOM = 100,
GOD_NAMELESS = 101,
GOD_VIABLE = 102,
};
enum group {
G_UP = 0,
G_DOWN = 1,
G_PORTAL = 2,
G_OTHER = 3,
G_NONE = 4,
NUM_GROUPS = 4,
};
enum habitat_type {
HT_LAND = 0,
HT_AMPHIBIOUS = 1,
HT_WATER = 2,
HT_LAVA = 3,
HT_ROCK = 4,
NUM_HABITATS = 5,
};
enum halo_type {
HALO_NONE = 0,
HALO_RANGE = 1,
HALO_MONSTER = 2,
HALO_UMBRA = 3,
};
enum hands_reqd_type {
HANDS_ONE = 0,
HANDS_HALF = 1,
HANDS_TWO = 2,
};
enum held_type {
HELD_NONE = 0,
HELD_NET = 1,
HELD_WEB = 2,
HELD_MONSTER = 3,
HELD_CONSTRICTED = 4,
};
enum helmet_desc_type {
THELM_DESC_PLAIN = 0,
THELM_DESC_WINGED = 1,
THELM_DESC_HORNED = 2,
THELM_DESC_CRESTED = 3,
THELM_DESC_PLUMED = 4,
THELM_DESC_MAX_SOFT = 4,
THELM_DESC_SPIKED = 5,
THELM_DESC_VISORED = 6,
THELM_DESC_GOLDEN = 7,
THELM_NUM_DESCS = 8,
};
enum hints_event_type {
HINT_SEEN_FIRST_OBJECT = 0,
HINT_SEEN_POTION = 1,
HINT_SEEN_SCROLL = 2,
HINT_SEEN_WAND = 3,
HINT_SEEN_SPBOOK = 4,
HINT_SEEN_JEWELLERY = 5,
HINT_SEEN_MISC = 6,
HINT_SEEN_STAFF = 7,
HINT_SEEN_WEAPON = 8,
HINT_SEEN_MISSILES = 9,
HINT_SEEN_ARMOUR = 10,
HINT_SEEN_RANDART = 11,
HINT_SEEN_FOOD = 12,
HINT_SEEN_CARRION = 13,
HINT_SEEN_GOLD = 14,
HINT_SEEN_STAIRS = 15,
HINT_SEEN_ESCAPE_HATCH = 16,
HINT_SEEN_BRANCH = 17,
HINT_SEEN_PORTAL = 18,
HINT_SEEN_TRAP = 19,
HINT_SEEN_ALTAR = 20,
HINT_SEEN_SHOP = 21,
HINT_SEEN_DOOR = 22,
HINT_FOUND_RUNED_DOOR = 23,
HINT_SEEN_MONSTER = 24,
HINT_SEEN_ZERO_EXP_MON = 25,
HINT_SEEN_TOADSTOOL = 26,
HINT_MONSTER_BRAND = 27,
HINT_MONSTER_FRIENDLY = 28,
HINT_MONSTER_SHOUT = 29,
HINT_MONSTER_LEFT_LOS = 30,
HINT_KILLED_MONSTER = 31,
HINT_NEW_LEVEL = 32,
HINT_SKILL_RAISE = 33,
HINT_GAINED_MAGICAL_SKILL = 34,
HINT_GAINED_MELEE_SKILL = 35,
HINT_GAINED_RANGED_SKILL = 36,
HINT_CHOOSE_STAT = 37,
HINT_MAKE_CHUNKS = 38,
HINT_OFFER_CORPSE = 39,
HINT_NEW_ABILITY_GOD = 40,
HINT_NEW_ABILITY_MUT = 41,
HINT_NEW_ABILITY_ITEM = 42,
HINT_FLEEING_MONSTER = 43,
HINT_ROTTEN_FOOD = 44,
HINT_CONVERT = 45,
HINT_GOD_DISPLEASED = 46,
HINT_EXCOMMUNICATE = 47,
HINT_SPELL_MISCAST = 48,
HINT_SPELL_HUNGER = 49,
HINT_GLOWING = 50,
HINT_YOU_RESIST = 51,
HINT_YOU_ENCHANTED = 52,
HINT_CONTAMINATED_CHUNK = 53,
HINT_YOU_SICK = 54,
HINT_YOU_POISON = 55,
HINT_YOU_ROTTING = 56,
HINT_YOU_CURSED = 57,
HINT_YOU_HUNGRY = 58,
HINT_YOU_STARVING = 59,
HINT_YOU_MUTATED = 60,
HINT_CAN_BERSERK = 61,
HINT_POSTBERSERK = 62,
HINT_CAUGHT_IN_NET = 63,
HINT_YOU_SILENCE = 64,
HINT_RUN_AWAY = 65,
HINT_RETREAT_CASTER = 66,
HINT_WIELD_WEAPON = 67,
HINT_NEED_HEALING = 68,
HINT_NEED_POISON_HEALING = 69,
HINT_INVISIBLE_DANGER = 70,
HINT_NEED_HEALING_INVIS = 71,
HINT_ABYSS = 72,
HINT_MULTI_PICKUP = 73,
HINT_HEAVY_LOAD = 74,
HINT_SHIFT_RUN = 75,
HINT_MAP_VIEW = 76,
HINT_AUTO_EXPLORE = 77,
HINT_DONE_EXPLORE = 78,
HINT_AUTO_EXCLUSION = 79,
HINT_STAIR_BRAND = 80,
HINT_HEAP_BRAND = 81,
HINT_TRAP_BRAND = 82,
HINT_LOAD_SAVED_GAME = 83,
HINT_AUTOPICKUP_THROWN = 84,
HINT_TARGET_NO_FOE = 85,
HINT_REMOVED_CURSE = 86,
HINT_ITEM_RESISTANCES = 87,
HINT_FLYING = 88,
HINT_INACCURACY = 89,
HINT_HEALING_POTIONS = 90,
HINT_GAINED_SPELLCASTING = 91,
HINT_FUMBLING_SHALLOW_WATER = 92,
HINT_EATING_ROTTEN_FOOD = 93,
HINT_CLOUD_WARNING = 94,
HINT_MEMORISE_FAILURE = 95,
HINT_ANIMATE_CORPSE_SKELETON = 96,
HINT_SEEN_WEB = 97,
HINT_SEEN_ROD = 98,
HINT_EVENTS_NUM = 99,
};
enum hints_types {
HINT_BERSERK_CHAR = 0,
HINT_MAGIC_CHAR = 1,
HINT_RANGER_CHAR = 2,
HINT_TYPES_NUM = 3,
};
enum holy_being_class_type {
HOLY_BEING_WARRIOR = 0,
};
enum holy_word_source_type {
HOLY_WORD_GENERIC = -1,
HOLY_WORD_SCROLL = -1,
HOLY_WORD_SPELL = -1,
HOLY_WORD_ZIN = -1,
HOLY_WORD_TSO = -1,
};
enum hunger_state_t {
HS_STARVING = 0,
HS_NEAR_STARVING = 1,
HS_VERY_HUNGRY = 2,
HS_HUNGRY = 3,
HS_SATIATED = 4,
HS_FULL = 5,
HS_VERY_FULL = 6,
HS_ENGORGED = 7,
};
enum immolation_source_type {
IMMOLATION_GENERIC = -1,
IMMOLATION_SCROLL = -1,
IMMOLATION_AFFIX = -1,
IMMOLATION_TOME = -1,
};
enum item_description_type {
IDESC_WANDS = 0,
IDESC_POTIONS = 1,
IDESC_SCROLLS = 2,
IDESC_RINGS = 3,
IDESC_SCROLLS_II = 4,
IDESC_STAVES = 5,
NUM_IDESC = 6,
};
enum item_make_species_type {
MAKE_ITEM_ELVEN = 1,
MAKE_ITEM_DWARVEN = 2,
MAKE_ITEM_ORCISH = 3,
MAKE_ITEM_NO_RACE = 100,
MAKE_ITEM_RANDOM_RACE = 250,
};
enum item_origin_dump_selector {
IODS_PRICE = 0,
IODS_ARTEFACTS = 1,
IODS_EGO_ARMOUR = 2,
IODS_EGO_WEAPON = 4,
IODS_JEWELLERY = 8,
IODS_RUNES = 16,
IODS_RODS = 32,
IODS_STAVES = 64,
IODS_BOOKS = 128,
IODS_EVERYTHING = 255,
};
enum item_source_type {
IT_SRC_NONE = 0,
AQ_SCROLL = 100,
AQ_CARD_GENIE = 101,
IT_SRC_START = 102,
IT_SRC_SHOP = 103,
AQ_WIZMODE = 200,
};
enum item_spec_type {
ISPEC_GOOD = -1,
ISPEC_SUPERB = -1,
ISPEC_DAMAGED = -1,
ISPEC_BAD = -1,
ISPEC_RANDART = -1,
ISPEC_MUNDANE = -1,
ISPEC_ACQUIREMENT = -1,
};
enum item_status_flag_type {
ISFLAG_KNOW_CURSE = 1,
ISFLAG_KNOW_TYPE = 2,
ISFLAG_KNOW_PLUSES = 4,
ISFLAG_KNOW_PROPERTIES = 8,
ISFLAG_IDENT_MASK = 15,
ISFLAG_EQ_WEAPON_MASK = 11,
ISFLAG_EQ_ARMOUR_MASK = 15,
ISFLAG_EQ_JEWELLERY_MASK = 15,
ISFLAG_CURSED = 256,
ISFLAG_BLESSED_WEAPON = 512,
ISFLAG_SEEN_CURSED = 1024,
ISFLAG_TRIED = 2048,
ISFLAG_RANDART = 4096,
ISFLAG_UNRANDART = 8192,
ISFLAG_ARTEFACT_MASK = 12288,
ISFLAG_DROPPED = 16384,
ISFLAG_THROWN = 32768,
ISFLAG_NO_DESC = 0,
ISFLAG_GLOWING = 65536,
ISFLAG_RUNED = 131072,
ISFLAG_EMBROIDERED_SHINY = 262144,
ISFLAG_COSMETIC_MASK = 458752,
ISFLAG_UNOBTAINABLE = 524288,
ISFLAG_MIMIC = 1048576,
ISFLAG_NO_MIMIC = 2097152,
ISFLAG_NO_PICKUP = 4194304,
ISFLAG_NO_RACE = 0,
ISFLAG_ORCISH = 16777216,
ISFLAG_DWARVEN = 33554432,
ISFLAG_ELVEN = 67108864,
ISFLAG_RACIAL_MASK = 117440512,
ISFLAG_NOTED_ID = 134217728,
ISFLAG_NOTED_GET = 268435456,
ISFLAG_BEEN_IN_INV = 536870912,
ISFLAG_SUMMONED = 1073741824,
ISFLAG_DROPPED_BY_ALLY = 2147483648,
};
enum item_type_id_state_type {
ID_UNKNOWN_TYPE = 0,
ID_MON_TRIED_TYPE = 1,
ID_TRIED_TYPE = 2,
ID_TRIED_ITEM_TYPE = 3,
ID_KNOWN_TYPE = 4,
NUM_ID_STATE_TYPES = 5,
};
enum jewellery_type {
RING_REGENERATION = 0,
RING_FIRST_RING = 0,
RING_PROTECTION = 1,
RING_PROTECTION_FROM_FIRE = 2,
RING_POISON_RESISTANCE = 3,
RING_PROTECTION_FROM_COLD = 4,
RING_STRENGTH = 5,
RING_SLAYING = 6,
RING_SEE_INVISIBLE = 7,
RING_INVISIBILITY = 8,
RING_HUNGER = 9,
RING_TELEPORTATION = 10,
RING_EVASION = 11,
RING_SUSTAIN_ABILITIES = 12,
RING_SUSTENANCE = 13,
RING_DEXTERITY = 14,
RING_INTELLIGENCE = 15,
RING_WIZARDRY = 16,
RING_MAGICAL_POWER = 17,
RING_FLIGHT = 18,
RING_LIFE_PROTECTION = 19,
RING_PROTECTION_FROM_MAGIC = 20,
RING_FIRE = 21,
RING_ICE = 22,
RING_TELEPORT_CONTROL = 23,
NUM_RINGS = 24,
AMU_RAGE = 35,
AMU_FIRST_AMULET = 35,
AMU_CLARITY = 36,
AMU_WARDING = 37,
AMU_RESIST_CORROSION = 38,
AMU_THE_GOURMAND = 39,
AMU_CONSERVATION = 40,
AMU_CONTROLLED_FLIGHT = 41,
AMU_INACCURACY = 42,
AMU_RESIST_MUTATION = 43,
AMU_GUARDIAN_SPIRIT = 44,
AMU_FAITH = 45,
AMU_STASIS = 46,
NUM_JEWELLERY = 47,
};
enum jiyva_slurp_results {
JS_NONE = 0,
JS_FOOD = 1,
JS_HP = 2,
JS_MP = 4,
};
enum job_type {
JOB_FIGHTER = 0,
JOB_WIZARD = 1,
JOB_PRIEST = 2,
JOB_GLADIATOR = 3,
JOB_NECROMANCER = 4,
JOB_ASSASSIN = 5,
JOB_BERSERKER = 6,
JOB_HUNTER = 7,
JOB_CONJURER = 8,
JOB_ENCHANTER = 9,
JOB_FIRE_ELEMENTALIST = 10,
JOB_ICE_ELEMENTALIST = 11,
JOB_SUMMONER = 12,
JOB_AIR_ELEMENTALIST = 13,
JOB_EARTH_ELEMENTALIST = 14,
JOB_SKALD = 15,
JOB_VENOM_MAGE = 16,
JOB_CHAOS_KNIGHT = 17,
JOB_TRANSMUTER = 18,
JOB_HEALER = 19,
JOB_STALKER = 20,
JOB_MONK = 21,
JOB_WARPER = 22,
JOB_WANDERER = 23,
JOB_ARTIFICER = 24,
JOB_ARCANE_MARKSMAN = 25,
JOB_DEATH_KNIGHT = 26,
JOB_ABYSSAL_KNIGHT = 27,
NUM_JOBS = 28,
JOB_UNKNOWN = 100,
JOB_RANDOM = 101,
JOB_VIABLE = 102,
};
enum kill_category {
KC_YOU = 0,
KC_FRIENDLY = 1,
KC_OTHER = 2,
KC_NCATEGORIES = 3,
};
enum kill_method_type {
KILLED_BY_MONSTER = 0,
KILLED_BY_POISON = 1,
KILLED_BY_CLOUD = 2,
KILLED_BY_BEAM = 3,
KILLED_BY_LAVA = 4,
KILLED_BY_WATER = 5,
KILLED_BY_STUPIDITY = 6,
KILLED_BY_WEAKNESS = 7,
KILLED_BY_CLUMSINESS = 8,
KILLED_BY_TRAP = 9,
KILLED_BY_LEAVING = 10,
KILLED_BY_WINNING = 11,
KILLED_BY_QUITTING = 12,
KILLED_BY_DRAINING = 13,
KILLED_BY_STARVATION = 14,
KILLED_BY_FREEZING = 15,
KILLED_BY_BURNING = 16,
KILLED_BY_WILD_MAGIC = 17,
KILLED_BY_XOM = 18,
KILLED_BY_ROTTING = 19,
KILLED_BY_TARGETTING = 20,
KILLED_BY_SPORE = 21,
KILLED_BY_TSO_SMITING = 22,
KILLED_BY_PETRIFICATION = 23,
KILLED_BY_SOMETHING = 24,
KILLED_BY_FALLING_DOWN_STAIRS = 25,
KILLED_BY_ACID = 26,
KILLED_BY_CURARE = 27,
KILLED_BY_BEOGH_SMITING = 28,
KILLED_BY_DIVINE_WRATH = 29,
KILLED_BY_BOUNCE = 30,
KILLED_BY_REFLECTION = 31,
KILLED_BY_SELF_AIMED = 32,
KILLED_BY_FALLING_THROUGH_GATE = 33,
KILLED_BY_DISINT = 34,
KILLED_BY_HEADBUTT = 35,
KILLED_BY_ROLLING = 36,
NUM_KILLBY = 37,
};
enum killer_type {
KILL_NONE = 0,
KILL_YOU = 1,
KILL_MON = 2,
KILL_YOU_MISSILE = 3,
KILL_MON_MISSILE = 4,
KILL_YOU_CONF = 5,
KILL_MISCAST = 6,
KILL_MISC = 7,
KILL_RESET = 8,
KILL_DISMISSED = 9,
KILL_BANISHED = 10,
KILL_UNSUMMONED = 11,
KILL_TIMEOUT = 12,
KILL_PACIFIED = 13,
KILL_ENSLAVED = 14,
};
enum lang_t {
LANG_EN = 0,
LANG_CS = 1,
LANG_DA = 2,
LANG_DE = 3,
LANG_EL = 4,
LANG_ES = 5,
LANG_FI = 6,
LANG_FR = 7,
LANG_HU = 8,
LANG_IT = 9,
LANG_KO = 10,
LANG_LT = 11,
LANG_LV = 12,
LANG_PL = 13,
LANG_PT = 14,
LANG_RU = 15,
LANG_ZH = 16,
LANG_DWARVEN = 17,
LANG_JAGERKIN = 18,
LANG_KRAUT = 19,
LANG_CYRILLIC = 20,
LANG_FUTHARK = 21,
LANG_WIDE = 22,
};
enum launch_retval {
LRET_FUMBLED = 0,
LRET_LAUNCHED = 1,
LRET_THROWN = 2,
};
enum level_flag_type {
LFLAG_NONE = 0,
LFLAG_NO_TELE_CONTROL = 1,
LFLAG_NO_MAP = 4,
};
enum level_state_type {
LSTATE_NONE = 0,
LSTATE_GOLUBRIA = 1,
LSTATE_GLOW_MOLD = 2,
LSTATE_DELETED = 4,
};
enum load_mode_type {
LOAD_START_GAME = 0,
LOAD_RESTART_GAME = 1,
LOAD_ENTER_LEVEL = 2,
LOAD_VISITOR = 3,
};
enum los_type {
LOS_NONE = 0,
LOS_ARENA = 0,
LOS_DEFAULT = 1,
LOS_NO_TRANS = 2,
LOS_SOLID = 4,
LOS_SOLID_SEE = 8,
};
enum lua_persist_type {
LPT_NONE = 0,
LPT_NUMBER = 1,
LPT_STRING = 2,
LPT_FUNCTION = 3,
LPT_NIL = 4,
LPT_BOOLEAN = 5,
};
enum main_dir {
NORTH = 0,
EAST = 1,
SOUTH = 2,
WEST = 3,
};
enum map_feature {
MF_UNSEEN = 0,
MF_FLOOR = 1,
MF_WALL = 2,
MF_MAP_FLOOR = 3,
MF_MAP_WALL = 4,
MF_DOOR = 5,
MF_ITEM = 6,
MF_MONS_FRIENDLY = 7,
MF_MONS_PEACEFUL = 8,
MF_MONS_NEUTRAL = 9,
MF_MONS_HOSTILE = 10,
MF_MONS_NO_EXP = 11,
MF_STAIR_UP = 12,
MF_STAIR_DOWN = 13,
MF_STAIR_BRANCH = 14,
MF_FEATURE = 15,
MF_WATER = 16,
MF_LAVA = 17,
MF_TRAP = 18,
MF_EXCL_ROOT = 19,
MF_EXCL = 20,
MF_PLAYER = 21,
MF_MAX = 22,
MF_SKIP = 23,
};
enum map_marker_type {
MAT_FEATURE = 0,
MAT_LUA_MARKER = 1,
MAT_CORRUPTION_NEXUS = 2,
MAT_WIZ_PROPS = 3,
MAT_TOMB = 4,
MAT_MALIGN = 5,
MAT_PHOENIX = 6,
MAT_POSITION = 7,
NUM_MAP_MARKER_TYPES = 8,
MAT_ANY = 9,
};
enum map_mask_type {
MMT_NONE = 0,
MMT_VAULT = 1,
MMT_NO_ITEM = 2,
MMT_NO_MONS = 4,
MMT_NO_POOL = 8,
MMT_NO_WALL = 32,
MMT_OPAQUE = 64,
MMT_NO_TRAP = 128,
MMT_MIMIC = 256,
MMT_NO_MIMIC = 512,
MMT_WAS_DOOR_MIMIC = 1024,
};
enum map_section_type {
MAP_NONE = -1,
MAP_NORTH = 1,
MAP_SOUTH = 2,
MAP_EAST = 3,
MAP_WEST = 4,
MAP_NORTHWEST = 5,
MAP_NORTHEAST = 6,
MAP_SOUTHWEST = 7,
MAP_SOUTHEAST = 8,
MAP_ENCOMPASS = 9,
MAP_FLOAT = 10,
MAP_NUM_SECTION_TYPES = 11,
};
enum maybe_bool {
B_FALSE = 0,
B_MAYBE = 1,
B_TRUE = 2,
};
enum mbn_type {
MBN_TERSE = 0,
MBN_NAME = 1,
MBN_BRAND = 2,
};
enum menu_type {
MT_ANY = -1,
MT_INVLIST = 0,
MT_DROP = 1,
MT_PICKUP = 2,
MT_KNOW = 3,
MT_RUNES = 4,
MT_SELONE = 5,
};
enum mgen_flag_type {
MG_PERMIT_BANDS = 1,
MG_FORCE_PLACE = 2,
MG_FORCE_BEH = 4,
MG_PLAYER_MADE = 8,
MG_PATROLLING = 16,
MG_BAND_MINION = 32,
MG_DONT_COME = 64,
};
enum misc_item_type {
MISC_BOTTLED_EFREET = 0,
MISC_AIR_ELEMENTAL_FAN = 1,
MISC_LAMP_OF_FIRE = 2,
MISC_STONE_OF_EARTH_ELEMENTALS = 3,
MISC_LANTERN_OF_SHADOWS = 4,
MISC_HORN_OF_GERYON = 5,
MISC_BOX_OF_BEASTS = 6,
MISC_CRYSTAL_BALL_OF_ENERGY = 7,
MISC_EMPTY_EBONY_CASKET = 8,
MISC_DISC_OF_STORMS = 9,
MISC_DECK_OF_ESCAPE = 10,
MISC_DECK_OF_DESTRUCTION = 11,
MISC_DECK_OF_DUNGEONS = 12,
MISC_DECK_OF_SUMMONING = 13,
MISC_DECK_OF_WONDERS = 14,
MISC_DECK_OF_PUNISHMENT = 15,
MISC_DECK_OF_WAR = 16,
MISC_DECK_OF_CHANGES = 17,
MISC_DECK_OF_DEFENCE = 18,
MISC_RUNE_OF_ZOT = 19,
MISC_QUAD_DAMAGE = 20,
NUM_MISCELLANY = 21,
MISC_FIRST_DECK = 10,
MISC_LAST_DECK = 18,
};
enum missile_type {
MI_DART = 0,
MI_NEEDLE = 1,
MI_ARROW = 2,
MI_BOLT = 3,
MI_JAVELIN = 4,
MI_MAX_RACIAL = 4,
MI_STONE = 5,
MI_LARGE_ROCK = 6,
MI_SLING_BULLET = 7,
MI_THROWING_NET = 8,
NUM_MISSILES = 9,
MI_NONE = 10,
};
enum mon_attitude_type {
ATT_HOSTILE = 0,
ATT_NEUTRAL = 1,
ATT_STRICT_NEUTRAL = 2,
ATT_GOOD_NEUTRAL = 3,
ATT_FRIENDLY = 4,
};
enum mon_body_shape {
MON_SHAPE_HUMANOID = 0,
MON_SHAPE_HUMANOID_WINGED = 1,
MON_SHAPE_HUMANOID_TAILED = 2,
MON_SHAPE_HUMANOID_WINGED_TAILED = 3,
MON_SHAPE_CENTAUR = 4,
MON_SHAPE_NAGA = 5,
MON_SHAPE_QUADRUPED = 6,
MON_SHAPE_QUADRUPED_TAILLESS = 7,
MON_SHAPE_QUADRUPED_WINGED = 8,
MON_SHAPE_BAT = 9,
MON_SHAPE_SNAKE = 10,
MON_SHAPE_FISH = 11,
MON_SHAPE_INSECT = 12,
MON_SHAPE_INSECT_WINGED = 13,
MON_SHAPE_ARACHNID = 14,
MON_SHAPE_CENTIPEDE = 15,
MON_SHAPE_SNAIL = 16,
MON_SHAPE_PLANT = 17,
MON_SHAPE_FUNGUS = 18,
MON_SHAPE_ORB = 19,
MON_SHAPE_BLOB = 20,
MON_SHAPE_MISC = 21,
};
enum mon_dam_level_type {
MDAM_OKAY = 0,
MDAM_LIGHTLY_DAMAGED = 1,
MDAM_MODERATELY_DAMAGED = 2,
MDAM_HEAVILY_DAMAGED = 3,
MDAM_SEVERELY_DAMAGED = 4,
MDAM_ALMOST_DEAD = 5,
MDAM_DEAD = 6,
};
enum mon_desc_type {
MDSC_LEAVES_HIDE = 0,
MDSC_REGENERATES = 1,
MDSC_NOMSG_WOUNDS = 2,
};
enum mon_event_type {
ME_EVAL = 0,
ME_DISTURB = 1,
ME_ANNOY = 2,
ME_ALERT = 3,
ME_WHACK = 4,
ME_SCARE = 5,
ME_CORNERED = 6,
ME_HURT = 7,
};
enum mon_holy_type {
MH_HOLY = 0,
MH_NATURAL = 1,
MH_UNDEAD = 2,
MH_DEMONIC = 3,
MH_NONLIVING = 4,
MH_PLANT = 5,
};
enum mon_intel_type {
I_PLANT = 0,
I_INSECT = 1,
I_REPTILE = 1,
I_ANIMAL = 2,
I_NORMAL = 3,
I_HIGH = 4,
};
enum mon_inv_type {
MSLOT_WEAPON = 0,
MSLOT_ALT_WEAPON = 1,
MSLOT_MISSILE = 2,
MSLOT_ALT_MISSILE = 3,
MSLOT_ARMOUR = 4,
MSLOT_SHIELD = 5,
MSLOT_WAND = 6,
MSLOT_JEWELLERY = 7,
MSLOT_MISCELLANY = 8,
MSLOT_LAST_VISIBLE_SLOT = 8,
MSLOT_POTION = 9,
MSLOT_SCROLL = 10,
MSLOT_GOLD = 11,
NUM_MONSTER_SLOTS = 12,
};
enum mon_itemeat_type {
MONEAT_NOTHING = 0,
MONEAT_ITEMS = 1,
MONEAT_CORPSES = 2,
MONEAT_FOOD = 3,
NUM_MONEAT = 4,
};
enum mon_itemuse_type {
MONUSE_NOTHING = 0,
MONUSE_OPEN_DOORS = 1,
MONUSE_STARTING_EQUIPMENT = 2,
MONUSE_WEAPONS_ARMOUR = 3,
NUM_MONUSE = 4,
};
enum mon_resist_flags {
MR_NO_FLAGS = 0,
MR_RES_ELEC = 1,
MR_RES_POISON = 8,
MR_RES_FIRE = 64,
MR_RES_HELLFIRE = 256,
MR_RES_COLD = 512,
MR_RES_NEG = 4096,
MR_RES_ROTTING = 32768,
MR_LAST_MULTI = 32769,
MR_RES_ASPHYX = 16777216,
MR_RES_ACID = 33554432,
MR_RES_STICKY_FLAME = 67108864,
MR_RES_STEAM = 268435456,
MR_VUL_ELEC = 7,
MR_VUL_POISON = 56,
MR_VUL_FIRE = 448,
MR_VUL_COLD = 3584,
};
enum mon_resist_type {
MON_RESIST = 0,
MON_UNAFFECTED = 1,
MON_AFFECTED = 2,
MON_OTHER = 3,
};
enum mon_spellbook_type {
MST_ORC_WIZARD_I = 0,
MST_ORC_WIZARD_II = 1,
MST_ORC_WIZARD_III = 2,
MST_DEEP_DWARF_NECROMANCER = 3,
MST_UNBORN_DEEP_DWARF = 4,
MST_BK_TROG = 5,
MST_BK_YREDELEMNUL = 6,
MST_GUARDIAN_SERPENT = 7,
MST_LICH_I = 8,
MST_LICH_II = 9,
MST_LICH_III = 10,
MST_LICH_IV = 11,
MST_HELLION = 12,
MST_VAMPIRE = 13,
MST_VAMPIRE_KNIGHT = 14,
MST_VAMPIRE_MAGE = 15,
MST_EFREET = 16,
MST_BRAIN_WORM = 17,
MST_GIANT_ORANGE_BRAIN = 18,
MST_RAKSHASA = 19,
MST_GREAT_ORB_OF_EYES = 20,
MST_KRAKEN = 21,
MST_ORC_SORCERER = 22,
MST_STEAM_DRAGON = 23,
MST_HELL_KNIGHT_I = 24,
MST_HELL_KNIGHT_II = 25,
MST_NECROMANCER_I = 26,
MST_NECROMANCER_II = 27,
MST_WIZARD_I = 28,
MST_WIZARD_II = 29,
MST_WIZARD_III = 30,
MST_WIZARD_IV = 31,
MST_WIZARD_V = 32,
MST_ORC_PRIEST = 33,
MST_ORC_HIGH_PRIEST = 34,
MST_MOTTLED_DRAGON = 35,
MST_FIEND = 36,
MST_HELL_SENTINEL = 37,
MST_ICE_FIEND = 38,
MST_SHADOW_FIEND = 39,
MST_TORMENTOR = 40,
MST_STORM_DRAGON = 41,
MST_WHITE_IMP = 42,
MST_YNOXINUL = 43,
MST_NEQOXEC = 44,
MST_HELLWING = 45,
MST_SMOKE_DEMON = 46,
MST_CACODEMON = 47,
MST_GREEN_DEATH = 48,
MST_BALRUG = 49,
MST_BLIZZARD_DEMON = 50,
MST_TITAN = 51,
MST_GOLDEN_DRAGON = 52,
MST_DEEP_ELF_SUMMONER = 53,
MST_DEEP_ELF_CONJURER_I = 54,
MST_DEEP_ELF_CONJURER_II = 55,
MST_DEEP_ELF_PRIEST = 56,
MST_DEEP_ELF_HIGH_PRIEST = 57,
MST_DEEP_ELF_DEMONOLOGIST = 58,
MST_DEEP_ELF_ANNIHILATOR = 59,
MST_DEEP_ELF_SORCERER = 60,
MST_DEEP_ELF_DEATH_MAGE = 61,
MST_KOBOLD_DEMONOLOGIST = 62,
MST_NAGA = 63,
MST_NAGA_MAGE = 64,
MST_CURSE_SKULL = 65,
MST_SHINING_EYE = 66,
MST_FROST_GIANT = 67,
MST_ANGEL = 68,
MST_DAEVA = 69,
MST_SHADOW_DRAGON = 70,
MST_SPHINX = 71,
MST_MUMMY = 72,
MST_ELECTRIC_GOLEM = 73,
MST_ORB_OF_FIRE = 74,
MST_SHADOW_IMP = 75,
MST_HELL_HOG = 76,
MST_SWAMP_DRAGON = 77,
MST_SWAMP_DRAKE = 78,
MST_SERPENT_OF_HELL_GEHENNA = 79,
MST_SERPENT_OF_HELL_COCYTUS = 80,
MST_SERPENT_OF_HELL_DIS = 81,
MST_SERPENT_OF_HELL_TARTARUS = 82,
MST_BOGGART = 83,
MST_EYE_OF_DEVASTATION = 84,
MST_QUICKSILVER_DRAGON = 85,
MST_IRON_DRAGON = 86,
MST_SKELETAL_WARRIOR = 87,
MST_NORRIS = 88,
MST_DEATH_DRAKE = 89,
MST_DRAC_SCORCHER = 90,
MST_DRAC_CALLER = 91,
MST_DRAC_SHIFTER = 92,
MST_CURSE_TOE = 93,
MST_ICE_STATUE = 94,
MST_BERSERK_ESCAPE = 95,
MST_MERFOLK_AQUAMANCER = 96,
MST_ALLIGATOR = 97,
MST_JESSICA = 98,
MST_RUPERT = 99,
MST_ROXANNE = 100,
MST_SONJA = 101,
MST_MENKAURE = 102,
MST_EUSTACHIO = 103,
MST_ILSUIW = 104,
MST_PRINCE_RIBBIT = 105,
MST_NESSOS = 106,
MST_KIRKE = 107,
MST_DOWAN = 108,
MST_FANNAR = 109,
MST_GASTRONOK = 110,
MST_MAURICE = 111,
MST_GERYON = 112,