Angband
Data Fields
player_race Struct Reference

Player race info. More...

#include <player.h>

Data Fields

struct player_racenext
 
const char * name
 
unsigned int ridx
 
int r_mhp
 Hit-dice modifier. More...
 
int r_exp
 Experience factor. More...
 
int b_age
 Base age. More...
 
int m_age
 Mod age. More...
 
int base_hgt
 Base height. More...
 
int mod_hgt
 Mod height. More...
 
int base_wgt
 Base weight. More...
 
int mod_wgt
 Mod weight. More...
 
int infra
 Infra-vision range. More...
 
int body
 Race body. More...
 
int r_adj [STAT_MAX]
 Stat bonuses. More...
 
int r_skills [SKILL_MAX]
 Skills. More...
 
bitflag flags [OF_SIZE]
 Racial (object) flags. More...
 
bitflag pflags [PF_SIZE]
 Racial (player) flags. More...
 
struct history_charthistory
 
struct element_info el_info [ELEM_MAX]
 Resists. More...
 

Detailed Description

Player race info.

Field Documentation

int b_age

Base age.

Referenced by get_ahw(), parse_p_race_history(), and test_history0().

int base_hgt

Base height.

Referenced by get_ahw(), parse_p_race_height(), and test_height0().

int base_wgt

Base weight.

Referenced by get_ahw(), parse_p_race_weight(), and test_weight0().

int body

Race body.

Referenced by parse_p_race_name(), and player_embody().

struct element_info el_info[ELEM_MAX]
bitflag flags[OF_SIZE]

Racial (object) flags.

Referenced by parse_p_race_obj_flags(), player_flags(), race_help(), and test_obj_flags0().

struct history_chart* history
int infra
int m_age

Mod age.

Referenced by get_ahw(), parse_p_race_history(), and test_history0().

int mod_hgt

Mod height.

Referenced by get_ahw(), parse_p_race_height(), and test_height0().

int mod_wgt

Mod weight.

Referenced by get_ahw(), parse_p_race_weight(), and test_weight0().

const char* name
struct player_race* next
bitflag pflags[PF_SIZE]

Racial (player) flags.

Referenced by calc_bonuses(), parse_p_race_play_flags(), race_help(), and test_play_flags0().

int r_adj[STAT_MAX]
int r_exp

Experience factor.

Referenced by class_help(), parse_p_race_info(), player_generate(), race_help(), and test_info0().

int r_mhp

Hit-dice modifier.

Referenced by class_help(), parse_p_race_info(), player_generate(), race_help(), and test_info0().

int r_skills[SKILL_MAX]
unsigned int ridx

The documentation for this struct was generated from the following file: