Structure for storing character info. More...
#include <player.h>
Data Fields | |
int | race |
int | profession |
int | zm |
int | endurance |
int | perception |
int | strength |
int | intellegence |
int | speed |
int | luck |
int | accuracy |
struct item * | inventory |
struct item * | weaponwielded |
struct item * | armoronbody |
struct item * | quiver |
int | number_of_items |
struct cell | tempinv |
int | spellpoints |
int | hp |
int | mspellpoints |
int | mhp |
int | ac |
int | attack |
int | xp |
int | level |
int | nutrition |
struct skillbox * | sb |
int | skillpoints |
Structure for storing character info.
struct item* player::armoronbody |
Armor on body (active)
struct item* player::inventory |
Our adventurer's backpack
Number of items in inventory
Profession of character (e.g., DIVINE_ASSASSIN or ARCHER
struct item* player::quiver |
Points to supplies in quiver
int player::race |
Race of character (HUMAN is the only available now)
struct skillbox* player::sb |
Container of skills
Number of skillpoints
struct cell player::tempinv |
Temporary inventory. Contains cell the player stands on
struct item* player::weaponwielded |
Weapon in hand
int player::zm |
Amount of gold