Angband
Data Fields
player_upkeep Struct Reference

Temporary, derived, player-related variables used during play but not saved. More...

#include <player.h>

Data Fields

bool playing
 
bool autosave
 
bool generate_level
 
bool only_partial
 
bool dropping
 
int energy_use
 
int new_spells
 
struct monsterhealth_who
 
struct monster_racemonster_race
 
struct objectobject
 
struct object_kindobject_kind
 
u32b notice
 
u32b update
 
u32b redraw
 
int command_wrk
 
bool create_up_stair
 
bool create_down_stair
 
bool light_level
 
bool arena_level
 
int resting
 
int running
 
bool running_withpathfind
 
bool running_firststep
 
struct object ** quiver
 
struct object ** inven
 
int total_weight
 
int inven_cnt
 
int equip_cnt
 
int quiver_cnt
 
int recharge_pow
 

Detailed Description

Temporary, derived, player-related variables used during play but not saved.

XXX Some of these probably should go to the UI

Field Documentation

◆ arena_level

bool arena_level

◆ autosave

bool autosave

◆ command_wrk

int command_wrk

◆ create_down_stair

bool create_down_stair

◆ create_up_stair

bool create_up_stair

◆ dropping

bool dropping

◆ energy_use

int energy_use

◆ equip_cnt

int equip_cnt

◆ generate_level

bool generate_level

◆ health_who

struct monster* health_who

◆ inven

struct object** inven

◆ inven_cnt

int inven_cnt

Referenced by calc_inventory(), and death_info().

◆ light_level

bool light_level

Referenced by cave_generate(), and labyrinth_gen().

◆ monster_race

◆ new_spells

int new_spells

◆ notice

u32b notice

◆ object

struct object* object

◆ object_kind

◆ only_partial

bool only_partial

◆ playing

bool playing

◆ quiver

struct object** quiver

◆ quiver_cnt

int quiver_cnt

◆ recharge_pow

int recharge_pow

◆ redraw

u32b redraw

Referenced by adjust_level(), become_aware(), bell_message(), brand_object(), calc_hitpoints(), calc_mana(), calc_spells(), cave_illuminate(), cmd_cancel_repeat(), cmd_set_repeat(), detect_monsters(), display_bolt(), display_explosion(), display_missile(), disturb(), do_animation(), do_cmd_autoinscribe(), do_cmd_autopickup(), do_cmd_inscribe(), do_cmd_pickup(), do_cmd_redraw(), do_cmd_rerate(), do_cmd_sell(), do_cmd_uninscribe(), do_cmd_wiz_advance(), do_cmd_wiz_play(), do_cmd_wiz_zap(), do_cmd_wizard(), effect_handler_BANISH(), effect_handler_CURSE_ARMOR(), effect_handler_CURSE_WEAPON(), effect_handler_DEEP_DESCENT(), effect_handler_DESTRUCTION(), effect_handler_DETECT_OBJECTS(), effect_handler_DISENCHANT(), effect_handler_DRAIN_LIGHT(), effect_handler_DRAIN_MANA(), effect_handler_EARTHQUAKE(), effect_handler_HEAL_HP(), effect_handler_MAP_AREA(), effect_handler_MASS_BANISH(), effect_handler_MON_HEAL_HP(), effect_handler_MON_HEAL_KIN(), effect_handler_RECALL(), effect_handler_RECHARGE(), effect_handler_RESTORE_MANA(), effect_handler_RUBBLE(), effect_handler_SENSE_OBJECTS(), effect_handler_SHAPECHANGE(), effect_handler_TAP_DEVICE(), enchant(), floor_object_for_use(), gear_excise_object(), gear_object_for_use(), get_debug_command(), handle_stuff(), health_track(), inven_carry(), inven_damage(), inven_wield(), leave_store(), lore_do_probe(), lore_treasure(), melee_effect_handler_DRAIN_CHARGES(), melee_effect_handler_EAT_GOLD(), minus_ac(), modify_panel(), mon_set_timed(), mon_take_hit(), monster_death(), monster_melee_monster(), monster_race_track(), monster_swap(), move_player(), new_level_display_update(), o_xtra_act(), pack_overflow(), player_pickup_gold(), player_regen_hp(), player_regen_mana(), player_resting_step_turn(), player_restore_mana(), player_resume_normal_shape(), player_set_food(), player_set_timed(), player_stat_dec(), player_update_light(), pre_turn_refresh(), process_player(), process_player_cleanup(), project_m(), project_m_monster_attack(), project_monster_handler_MON_HEAL(), quest_check(), recharge_objects(), redraw_stuff(), refill_lamp(), regen_monster(), rune_xtra_act(), screen_save(), spell_cast(), spell_learn(), square_light_spot(), take_hit(), target_set_interactive(), textui_get_item(), track_object(), track_object_cancel(), track_object_kind(), ui_enter_world(), uncurse_object(), update_bonuses(), update_mon(), update_one(), use_aux(), wiz_create_item(), wiz_dark(), wiz_light(), and wiz_reroll_item().

◆ resting

int resting

◆ running

int running

◆ running_firststep

bool running_firststep

Referenced by move_player(), and run_init().

◆ running_withpathfind

bool running_withpathfind

Referenced by do_cmd_pathfind(), and run_step().

◆ total_weight

int total_weight

◆ update

u32b update

Referenced by adjust_level(), become_aware(), brand_object(), build_quest_stairs(), calc_torch(), cave_illuminate(), death_knowledge(), disturb(), do_cmd_buy(), do_cmd_close_aux(), do_cmd_mon_command(), do_cmd_open_aux(), do_cmd_pathfind(), do_cmd_redraw(), do_cmd_rerate(), do_cmd_rest(), do_cmd_sell(), do_cmd_wiz_advance(), do_cmd_wiz_play(), do_cmd_wizard(), effect_handler_CURSE_ARMOR(), effect_handler_CURSE_WEAPON(), effect_handler_DESTRUCTION(), effect_handler_DISENCHANT(), effect_handler_EARTHQUAKE(), effect_handler_MAP_AREA(), effect_handler_RESTORE_STAT(), effect_handler_RUBBLE(), effect_handler_SHAPECHANGE(), enchant(), floor_object_for_use(), gear_excise_object(), gear_object_for_use(), get_bonuses(), handle_stuff(), ignore_drop(), inven_carry(), inven_damage(), inven_takeoff(), inven_wield(), leave_store(), light_room(), minus_ac(), monster_death(), monster_swap(), monster_turn_can_move(), new_level_display_update(), on_new_level(), pack_overflow(), place_new_monster_one(), player_resume_normal_shape(), player_set_food(), player_set_timed(), player_stat_dec(), player_stat_inc(), player_update_light(), process_monsters(), process_world(), project(), project_feature_handler_DARK_WEAK(), project_feature_handler_KILL_DOOR(), project_feature_handler_KILL_WALL(), project_feature_handler_LIGHT_WEAK(), project_feature_handler_MAKE_DOOR(), refill_lamp(), run_step(), twall(), uncurse_object(), update_bonuses(), update_maps(), update_stuff(), wiz_dark(), wiz_light(), and wiz_reroll_item().


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