Crossfire Server, Trunk
|
#include <player.h>
living player::applied_stats |
int16_t player::bed_x |
Definition at line 111 of file player.h.
Referenced by player_changer_type_process().
int16_t player::bed_y |
x,y - coordinates of respawn (savebed).
Definition at line 111 of file player.h.
Referenced by player_changer_type_process().
int8_t player::blocked_los[MAP_CLIENT_X][MAP_CLIENT_Y] |
Array showing what spaces the player can see. For maps smaller than MAP_CLIENT_.., the upper left is used.
Definition at line 178 of file player.h.
Referenced by draw_client_map2().
bowtype_t player::bowtype |
uint32_t player::braced |
float player::character_load |
SockList** player::delayed_buffers |
uint8_t player::delayed_buffers_allocated |
uint8_t player::delayed_buffers_used |
int16_t player::digestion |
uint32_t player::do_los |
If true, need to call update_los() in draw(), and clear.
Definition at line 141 of file player.h.
Referenced by get_player().
int16_t player::encumbrance |
uint32_t player::fire_on |
sstring player::followed_player |
int16_t player::gen_grace |
int16_t player::gen_hp |
int16_t player::gen_sp |
int16_t player::gen_sp_armour |
Penalty to sp regen from armour.
Definition at line 128 of file player.h.
Referenced by get_player().
uint32_t player::golem_count |
To track the golem.
Definition at line 119 of file player.h.
Referenced by do_mood_floor(), kill_object(), and pets_move_golem().
uint32_t player::has_directory |
uint32_t player::has_hit |
If set, weapon_sp instead of speed will count.
Definition at line 144 of file player.h.
Referenced by move_player_attack().
uint32_t player::hidden |
If True, player (DM) is hidden from view.
Definition at line 147 of file player.h.
Referenced by monster_can_detect_enemy().
int16_t player::item_power |
char player::killer[BIG_NAME] |
Who killed this player.
Definition at line 190 of file player.h.
Referenced by deep_swamp_type_process(), and poison_type_apply().
language_t player::language |
The language the player wishes to use.
Definition at line 220 of file player.h.
Referenced by get_player().
living player::last_applied_stats |
Last applied stats sent to the client.
Definition at line 172 of file player.h.
Referenced by get_player().
uint32_t player::last_character_flags |
Last character flags (CS_STAT_CHARACTER_FLAGS) sent to client.
Definition at line 163 of file player.h.
Referenced by get_player().
float player::last_character_load |
tag_t player::last_examined |
object* player::last_exit |
Last exit used by player or NULL
Definition at line 208 of file player.h.
Referenced by do_follow().
uint16_t player::last_flags |
int16_t player::last_golem_hp |
int16_t player::last_golem_maxhp |
uint16_t player::last_item_power |
living player::last_orig_stats |
uint32_t player::last_path_attuned |
uint32_t player::last_path_denied |
uint32_t player::last_path_repelled |
living player::last_race_stats |
int16_t player::last_resist[NROFATTACKS] |
last resist values sent to client.
Definition at line 174 of file player.h.
Referenced by get_player().
int64_t player::last_skill_exp[MAX_SKILLS] |
Last exp sent to client. If != exp. obj update client.
Definition at line 154 of file player.h.
Referenced by get_player().
object* player::last_skill_ob[MAX_SKILLS] |
float player::last_speed |
living player::last_stats |
char player::last_tell[MAX_NAME] |
float player::last_weapon_sp |
if diff than weapon_sp, update client.
Definition at line 156 of file player.h.
Referenced by get_player().
int32_t player::last_weight |
Last weight as sent to client; -1 means do not send weight.
Definition at line 158 of file player.h.
Referenced by get_player().
int32_t player::last_weight_limit |
int8_t player::levgrace[11] |
What grace bonus the player gained on that level.
Definition at line 188 of file player.h.
Referenced by potion_type_apply().
int8_t player::levhp[11] |
What hp bonus the player gained on that level.
Definition at line 186 of file player.h.
Referenced by potion_type_apply().
int8_t player::levsp[11] |
What sp bonus the player gained on that level.
Definition at line 187 of file player.h.
Referenced by potion_type_apply().
uint8_t player::listening |
Which priority will be used in info_all.
Definition at line 133 of file player.h.
Referenced by get_player().
char player::maplevel[MAX_BUF] |
object* player::mark |
uint32_t player::mark_count |
Count of marked object.
Definition at line 212 of file player.h.
Referenced by lightable_type_apply().
uint32_t player::name_changed |
char player::new_password[16] |
player* player::next |
Pointer to next player, NULL if this is last.
Definition at line 106 of file player.h.
Referenced by cfapi_party_get_property(), check_login(), draw_ext_info(), free_player(), is_legal_2ways_exit(), and verify_player().
uint32_t player::no_shout |
if True, player is *not *able to use shout command.
Definition at line 148 of file player.h.
Referenced by get_player().
object* player::ob |
The object representing the player.
Definition at line 177 of file player.h.
Referenced by add_player(), can_follow(), cfapi_object_get_property(), command_follow(), command_quest(), do_follow(), draw_ext_info(), findPlayer(), get_player(), is_legal_2ways_exit(), quest_set_state(), ring_bell(), START_TEST(), and verify_player().
char player::own_title[MAX_NAME] |
uint32_t player::partial_commands |
partylist* player::party |
Party this player is part of.
Definition at line 203 of file player.h.
Referenced by annotate_ob(), can_follow(), get_player(), is_legal_2ways_exit(), kill_object(), move_player_attack(), pets_should_arena_attack(), push_ob(), and START_TEST().
partylist* player::party_to_join |
char player::password[16] |
uint32_t player::peaceful |
If set, won't attack friendly creatures.
Definition at line 146 of file player.h.
Referenced by friendly_fire(), get_player(), is_enemy(), and kill_object().
petmode_t player::petmode |
Which petmode?
Definition at line 115 of file player.h.
Referenced by get_player(), pets_get_enemy(), pets_move(), and pets_should_arena_attack().
object* player::ranges[range_size] |
Object for each range. Set up in fix_object(). Note That not all are used, it is just nice to map this 1:1 With the range names.
Definition at line 116 of file player.h.
Referenced by do_mood_floor(), kill_object(), and pets_move_golem().
party_rejoin_mode player::rejoin_party |
Whether to rejoin or not party at login.
Definition at line 210 of file player.h.
Referenced by get_player().
uint32_t player::run_on |
char player::savebed_map[MAX_BUF] |
Map where player will respawn after death.
Definition at line 110 of file player.h.
Referenced by get_player(), and player_changer_type_process().
rangetype player::shoottype |
Which range-attack is being used by player.
Definition at line 112 of file player.h.
Referenced by get_player().
socket_struct* player::socket |
Socket information for this player. See the page on the login process for a description of its use.
Definition at line 107 of file player.h.
Referenced by annotate_ob(), book_type_apply(), draw_client_map2(), kill_object(), push_ob(), set_player_socket(), spellbook_type_apply(), teleport(), and transport_type_apply().
client_spell* player::spell_state |
char player::spellparam[MAX_BUF] |
tag_t* player::stack_items |
int player::stack_position |
uint8_t player::state |
Input state of the player (name, password, etc). See the page on the login process for a description of its use.
int player::swap_first |
First stat player has selected to swap.
Definition at line 166 of file player.h.
Referenced by get_player().
uint32_t player::ticks_played |
How many ticks this player has played
Definition at line 222 of file player.h.
Referenced by get_player().
char player::title[BIG_NAME] |
Default title, like fighter, wizard, etc.
Definition at line 184 of file player.h.
Referenced by get_player(), and kill_object().
uint32_t player::tmp_invis |
Will invis go away when we attack?
Definition at line 140 of file player.h.
Referenced by monster_can_detect_enemy().
object* player::transport |
Transport the player is in.
Definition at line 214 of file player.h.
Referenced by object_insert_in_map(), and transport_type_apply().
unapplymode player::unapply |
const char* player::unarmed_skill |
Prefered skill to use in unarmed combat
Definition at line 221 of file player.h.
Referenced by get_player().
usekeytype player::usekeys |