Role-specific initializations
Included Files
Preprocessor definitions
#define UNDEF_TYP 0
#define UNDEF_SPE '\177'
#define UNDEF_BLESS 2
#define B_MAJOR 0
#define B_MINOR 1
#define C_AMMO 2
#define M_BOOK 2
#define RAN_BOW 1
#define RAN_TWO_ARROWS 2
#define RAN_ZERO_ARROWS 3
#define R_DAGGERS 1
#define S_ARROWS 3
#define T_DARTS 0
#define W_MULTSTART 2
#define W_MULTEND 6
struct trobj
| struct trobj |
|
| { |
|
| short trotyp; |
|
| schar trspe; |
|
| char trclass; |
|
| unsigned trquan:6; |
|
| unsigned trbless:2; |
|
| } |
|
struct inv_sub
| struct inv_sub |
|
| { |
|
| short race_pm; |
|
| short item_otyp; |
|
| short subs_otyp; |
|
| } |
|
Local Variables
Archeologist
static struct trobj Archeologist[]
Barbarian
static struct trobj Barbarian[]
Cave_man
static struct trobj Cave_man[]
Healer
static struct trobj Healer[]
Knight
static struct trobj Knight[]
Monk
static struct trobj Monk[]
Priest
static struct trobj Priest[]
Ranger
static struct trobj Ranger[]
Rogue
static struct trobj Rogue[]
Samurai
static struct trobj Samurai[]
Tourist
static struct trobj Tourist[]
Valkyrie
static struct trobj Valkyrie[]
Wizard
static struct trobj Wizard[]
Tinopener
static struct trobj Tinopener[]
Magicmarker
static struct trobj Magicmarker[]
Lamp
static struct trobj Lamp[]
Blindfold
static struct trobj Blindfold[]
Instrument
static struct trobj Instrument[]
Xtra_food
static struct trobj Xtra_food[]
Leash
static struct trobj Leash[]
Towel
static struct trobj Towel[]
Wishing
static struct trobj Wishing[]
inv_subs
static struct inv_sub inv_subs[]
Skill_A
static struct def_skill Skill_A[]
Skill_B
static struct def_skill Skill_B[]
Skill_C
static struct def_skill Skill_C[]
Skill_H
static struct def_skill Skill_H[]
Skill_K
static struct def_skill Skill_K[]
Skill_Mon
static struct def_skill Skill_Mon[]
Skill_P
static struct def_skill Skill_P[]
Skill_R
static struct def_skill Skill_R[]
Skill_Ran
static struct def_skill Skill_Ran[]
Skill_S
static struct def_skill Skill_S[]
Skill_T
static struct def_skill Skill_T[]
Skill_V
static struct def_skill Skill_V[]
Skill_W
static struct def_skill Skill_W[]
void u_init ( void )
static void ini_inv ( struct trobj* trop )
static void knows_class ( char sym )
static void knows_object ( int obj )
static boolean restricted_spell_discipline ( int otyp )