Crossfire Client, Branches
R11627
|
#include <client.h>
Data Fields | |
uint32 | alt_on:1 |
item * | below |
item * | container |
uint32 | count |
uint16 | count_left |
uint32 | fire_on:1 |
Input_State | input_state |
char | input_text [MAX_BUF] |
char | last_command [MAX_BUF] |
uint8 * | magicmap |
uint16 | mapxres |
uint16 | mapyres |
uint32 | meta_on:1 |
uint16 | mmapx |
uint16 | mmapy |
char | name [40] |
uint32 | no_echo:1 |
item * | ob |
uint16 | pmapx |
uint16 | pmapy |
char | range [MAX_BUF] |
item * | ranges [range_size] |
uint8 | ready_spell |
uint32 | run_on:1 |
uint8 | showmagic |
Spell * | spelldata |
char | spells [255][40] |
uint32 | spells_updated |
Stats | stats |
char | title [MAX_BUF] |
uint32 Player_Struct::alt_on |
True if fire key is pressed
Definition at line 293 of file client.h.
Referenced by configure_keys(), and parse_key().
item* Player_Struct::below |
Items below the player (pl.below->inv)
Definition at line 273 of file client.h.
Referenced by animate_objects(), close_container(), close_container_callback(), draw_lists(), draw_look_list(), get_inv_widget(), get_item_env(), get_look_display(), get_look_widget(), init_client_vars(), load_theme(), main(), reset_image_data(), and script_process_cmd().
item* Player_Struct::container |
open container
Definition at line 275 of file client.h.
Referenced by animate_objects(), command_take(), draw_inv_list(), draw_lists(), draw_look_list(), init_client_vars(), item_actions(), list_item_action(), locate_item(), remove_item(), reset_client_vars(), and script_process_cmd().
uint32 Player_Struct::count |
Repeat count on command
Definition at line 295 of file client.h.
Referenced by buttonpress_in_list(), command_take(), count_callback(), extended_command(), fire_dir(), list_button_event(), list_item_action(), parse_key(), and send_command().
uint16 Player_Struct::count_left |
count for commands
Definition at line 276 of file client.h.
Referenced by init_client_vars(), and reset_client_vars().
uint32 Player_Struct::fire_on |
True if fire key is pressed
Definition at line 290 of file client.h.
Referenced by configure_keys(), draw_message_window(), keyfunc(), parse_key(), parse_key_release(), and script_process_cmd().
Input_State Player_Struct::input_state |
What the input state is
Definition at line 277 of file client.h.
Referenced by bind_key(), cancelConnection(), check_x_events(), configure_keys(), confirmUserPass(), dialog_callback(), do_key_press(), draw_info(), draw_map(), enter_callback(), fire_dir(), get_metaserver(), gtk_command_history(), handle_query(), keyfunc(), metaserver_connect_to(), on_entry_commands_activate(), on_metaserver_select_clicked(), parse_key(), send_command(), sendPassword(), sendstr(), setUserPass(), stop_fire(), and write_ch().
char Player_Struct::input_text[MAX_BUF] |
keys typed (for long commands)
Definition at line 279 of file client.h.
Referenced by delete_ch(), do_key_press(), draw_info(), enter_callback(), get_metaserver(), init_client_vars(), on_entry_commands_activate(), parse_key(), reset_client_vars(), and write_ch().
char Player_Struct::last_command[MAX_BUF] |
Last command entered
Definition at line 278 of file client.h.
Referenced by init_client_vars(), and reset_client_vars().
uint8* Player_Struct::magicmap |
Magic map data
Definition at line 299 of file client.h.
Referenced by draw_magic_map(), init_client_vars(), MagicMapCmd(), and reset_client_vars().
uint16 Player_Struct::mapxres |
Definition at line 302 of file client.h.
Referenced by draw_magic_map(), and magic_map_flash_pos().
uint16 Player_Struct::mapyres |
Resolution to draw on the magic map. Only used in client-specific code, so it should move there.
Definition at line 302 of file client.h.
Referenced by draw_magic_map(), and magic_map_flash_pos().
uint32 Player_Struct::meta_on |
True if fire key is pressed
Definition at line 292 of file client.h.
Referenced by configure_keys(), and parse_key().
uint16 Player_Struct::mmapx |
Definition at line 296 of file client.h.
Referenced by draw_magic_map(), and MagicMapCmd().
uint16 Player_Struct::mmapy |
size of magic map
Definition at line 296 of file client.h.
Referenced by draw_magic_map(), and MagicMapCmd().
char Player_Struct::name[40] |
Player's name, for player-specific key files
Definition at line 306 of file client.h.
Referenced by init_keys(), keys_init(), save_keys(), and setUserPass().
uint32 Player_Struct::no_echo |
If TRUE, don't echo keystrokes
Definition at line 294 of file client.h.
Referenced by do_key_press(), draw_prompt(), handle_query(), parse_key(), script_process_cmd(), send_reply(), write_ch(), and x_set_echo().
item* Player_Struct::ob |
Player object
Definition at line 272 of file client.h.
Referenced by command_take(), do_inv(), draw_inv(), draw_inv_list(), draw_inv_table(), draw_lists(), get_inv_display(), get_inv_widget(), get_item_env(), get_look_widget(), init_client_vars(), list_item_action(), load_theme(), main(), new_player(), on_notebook_switch_page(), script_process_cmd(), and spellinventory_redraw().
uint16 Player_Struct::pmapx |
Definition at line 297 of file client.h.
Referenced by magic_map_flash_pos(), and MagicMapCmd().
uint16 Player_Struct::pmapy |
Where the player is on the magic map
Definition at line 297 of file client.h.
Referenced by magic_map_flash_pos(), and MagicMapCmd().
char Player_Struct::range[MAX_BUF] |
Range attack chosen
Definition at line 288 of file client.h.
Referenced by draw_stats(), init_client_vars(), reset_client_vars(), script_process_cmd(), and StatsCmd().
item* Player_Struct::ranges[range_size] |
Object that is used for that range type
Definition at line 280 of file client.h.
Referenced by init_client_vars(), and reset_client_vars().
uint8 Player_Struct::ready_spell |
uint32 Player_Struct::run_on |
True if run key is on
Definition at line 291 of file client.h.
Referenced by configure_keys(), draw_message_window(), keyfunc(), parse_key(), parse_key_release(), and script_process_cmd().
uint8 Player_Struct::showmagic |
If 0, show the normal map, otherwise show the magic map.
Definition at line 300 of file client.h.
Referenced by check_x_events(), display_map_doneupdate(), do_key_press(), do_magicmap(), do_timeout(), init_client_vars(), magic_map_flash_pos(), MagicMapCmd(), and reset_client_vars().
Spell* Player_Struct::spelldata |
List of spells known
Definition at line 286 of file client.h.
Referenced by AddspellCmd(), DeleteSpell(), new_player(), script_process_cmd(), update_spell_information(), update_spell_list(), and UpdspellCmd().
char Player_Struct::spells[255][40] |
uint32 Player_Struct::spells_updated |
Whether or not spells updated
Definition at line 289 of file client.h.
Referenced by AddspellCmd(), DeleteSpell(), do_timeout(), StatsCmd(), update_spell_information(), update_spell_list(), and UpdspellCmd().
Stats Player_Struct::stats |
Player stats
Definition at line 285 of file client.h.
Referenced by draw_message_window(), draw_stats(), init_client_vars(), reset_client_vars(), reset_player_data(), script_process_cmd(), StatsCmd(), update_spell_information(), and update_spell_list().
char Player_Struct::title[MAX_BUF] |
Title of character
Definition at line 287 of file client.h.
Referenced by draw_stats(), init_client_vars(), reset_client_vars(), script_process_cmd(), and StatsCmd().