some utility macros
Included Files
Preprocessor definitions
#define HACK_H
#define TELL 1
#define NOTELL 0
#define ON 1
#define OFF 0
#define BOLT_LIM 8
#define MAX_CARR_CAP 1000
#define DUMMY 0
#define UNENCUMBERED 0
#define SLT_ENCUMBER 1
#define MOD_ENCUMBER 2
#define HVY_ENCUMBER 3
#define EXT_ENCUMBER 4
#define OVERLOADED 5
#define BY_ORACLE 0
#define BY_COOKIE 1
#define BY_PAPER 2
#define BY_OTHER 9
#define DISMOUNT_GENERIC 0
#define DISMOUNT_FELL 1
#define DISMOUNT_THROWN 2
#define DISMOUNT_POLY 3
#define DISMOUNT_ENGULFED 4
#define DISMOUNT_BYCHOICE 5
#define DIED 0
#define CHOKING 1
#define POISONING 2
#define STARVING 3
#define DROWNING 4
#define BURNING 5
#define DISSOLVED 6
#define CRUSHING 7
#define STONING 8
#define TURNED_SLIME 9
#define GENOCIDED 10
#define PANICKED 11
#define TRICKED 12
#define QUIT 13
#define ESCAPED 14
#define ASCENDED 15
#define ZAPPED_WAND 0
#define THROWN_WEAPON 1
#define KICKED_WEAPON 2
#define FLASHED_LIGHT 3
#define INVIS_BEAM 4
#define MATCH_WARN_OF_MON( mon )
#define NO_SPELL 0
#define NO_MM_FLAGS 0x00
#define NO_MINVENT 0x01
#define MM_NOWAIT 0x02
#define MM_EDOG 0x04
#define MM_EMIN 0x08
#define MM_ANGRY 0x10
#define MM_NONAME 0x20
#define BY_NEXTHERE 0x1
#define AUTOSELECT_SINGLE 0x2
#define USE_INVLET 0x4
#define INVORDER_SORT 0x8
#define SIGNAL_NOMENU 0x10
#define UNPAID_TYPES 0x02
#define GOLD_TYPES 0x04
#define WORN_TYPES 0x08
#define ALL_TYPES 0x10
#define BILLED_TYPES 0x20
#define CHOOSE_ALL 0x40
#define ALL_TYPES_SELECTED 2
#define FM_FMON 0x01
#define FM_MIGRATE 0x02
#define FM_MYDOGS 0x04
#define FM_EVERYWHERE
#define yn( query )
#define ynq( query )
#define ynaq( query )
#define nyaq( query )
#define nyNaq( query )
#define ynNaq( query )
#define VIS_EFFECTS 0x01
#define MAY_HITMON 0x02
#define MAY_HITYOU 0x04
#define MAY_HIT
#define MAY_DESTROY 0x08
#define MAY_FRACTURE 0x10
#define ROLL 1
#define FLING 2
#define ARM 0
#define EYE 1
#define FACE 2
#define FINGER 3
#define FINGERTIP 4
#define FOOT 5
#define HAND 6
#define HANDED 7
#define HEAD 8
#define LEG 9
#define LIGHT_HEADED 10
#define NECK 11
#define SPINE 12
#define TOE 13
#define HAIR 14
#define BLOOD 15
#define LUNG 16
#define MENUTYPELEN
#define MENU_TRADITIONAL 0
#define MENU_COMBINATION 1
#define MENU_PARTIAL 2
#define MENU_FULL 3
#define MENU_SELECTED TRUE
#define MENU_UNSELECTED FALSE
#define FEATURE_NOTICE_VER( major, minor, patch )
#define FEATURE_NOTICE_VER_MAJ
#define FEATURE_NOTICE_VER_MIN
#define FEATURE_NOTICE_VER_PATCH
#define max( a, b )
#define min( x, y )
#define plur( x )
#define ARM_BONUS( obj )
#define makeknown( x )
#define distu( xx, yy )
#define onlineu( xx, yy )
#define rn1( x, y )
#define AC_VALUE( AC )
#define STATIC_DCL static
#define STATIC_OVL static
#define STATIC_VAR static
#define OVL0
#define OVL1
#define OVL2
#define OVL3
#define OVLB
#define STATIC_PTR static
External Variables
bhitpos
extern coord bhitpos