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

◆ b_age

int b_age

Base age.

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

◆ base_hgt

int base_hgt

Base height.

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

◆ base_wgt

int base_wgt

Base weight.

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

◆ body

int body

Race body.

Referenced by parse_p_race_name(), and player_embody().

◆ el_info

struct element_info el_info[ELEM_MAX]

◆ flags

bitflag flags[OF_SIZE]

◆ history

struct history_chart* history

◆ infra

int infra

◆ m_age

int m_age

Mod age.

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

◆ mod_hgt

int mod_hgt

Mod height.

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

◆ mod_wgt

int mod_wgt

Mod weight.

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

◆ name

const char* name

◆ next

struct player_race* next

◆ pflags

bitflag pflags[PF_SIZE]

Racial (player) flags.

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

◆ r_adj

int r_adj[STAT_MAX]

◆ r_exp

int r_exp

Experience factor.

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

◆ r_mhp

int r_mhp

Hit-dice modifier.

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

◆ r_skills

int r_skills[SKILL_MAX]

◆ ridx

unsigned int ridx

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