Crossfire Client, Trunk
|
#include <client.h>
Data Fields | |
guint32 | alt_on:1 |
item * | below |
item * | container |
guint32 | count |
guint16 | count_left |
guint32 | fire_on:1 |
Input_State | input_state |
char | input_text [MAX_BUF] |
char | last_command [MAX_BUF] |
guint8 * | magicmap |
guint16 | mapxres |
guint16 | mapyres |
guint32 | meta_on:1 |
guint16 | mmapx |
guint16 | mmapy |
char * | name |
guint32 | no_echo:1 |
item * | ob |
guint16 | pmapx |
guint16 | pmapy |
char | range [MAX_BUF] |
item * | ranges [range_size] |
guint8 | ready_spell |
guint32 | run_on:1 |
guint8 | showmagic |
Spell * | spelldata |
char | spells [255][40] |
guint32 | spells_updated |
Stats | stats |
char | title [MAX_BUF] |
guint32 Player_Struct::alt_on |
True if fire key is pressed
Definition at line 355 of file client.h.
Referenced by configure_keys(), focusoutfunc(), parse_key(), and parse_key_release().
item* Player_Struct::below |
Items below the player (pl.below->inv)
Definition at line 335 of file client.h.
Referenced by animate_objects(), client_init(), draw_lists(), draw_look_list(), get_item_env(), item_event_item_deleting(), load_theme(), and script_process_cmd().
item* Player_Struct::container |
open container
Definition at line 337 of file client.h.
Referenced by animate_objects(), command_take(), draw_inv_list(), draw_lists(), draw_look_list(), item_actions(), list_item_drop(), locate_item(), redraw(), remove_item(), reset_vars_common(), and script_process_cmd().
guint32 Player_Struct::count |
Repeat count on command
Definition at line 357 of file client.h.
Referenced by command_take(), extended_command(), fire_dir(), list_item_drop(), on_count_changed(), parse_key(), send_command(), and show_item_menu().
guint16 Player_Struct::count_left |
guint32 Player_Struct::fire_on |
True if fire key is pressed
Definition at line 352 of file client.h.
Referenced by configure_keys(), focusoutfunc(), keyfunc(), parse_key(), parse_key_release(), and script_process_cmd().
Input_State Player_Struct::input_state |
What the input state is
Definition at line 339 of file client.h.
Referenced by bind_key(), configure_keys(), fire_dir(), gtk_command_history(), handle_query(), keyfunc(), main(), metaserver_connect_to(), metaserver_show_prompt(), on_entry_commands_activate(), parse_key(), send_command(), and stop_fire().
char Player_Struct::input_text[MAX_BUF] |
keys typed (for long commands)
Definition at line 341 of file client.h.
Referenced by on_entry_commands_activate(), parse_key(), and reset_vars_common().
char Player_Struct::last_command[MAX_BUF] |
guint8* Player_Struct::magicmap |
Magic map data
Definition at line 361 of file client.h.
Referenced by draw_magic_map(), MagicMapCmd(), and reset_vars_common().
guint16 Player_Struct::mapxres |
Definition at line 364 of file client.h.
Referenced by draw_magic_map(), and magic_map_flash_pos().
guint16 Player_Struct::mapyres |
Resolution to draw on the magic map. Only used in client-specific code, so it should move there.
Definition at line 364 of file client.h.
Referenced by draw_magic_map(), and magic_map_flash_pos().
guint32 Player_Struct::meta_on |
True if fire key is pressed
Definition at line 354 of file client.h.
Referenced by configure_keys(), focusoutfunc(), parse_key(), and parse_key_release().
guint16 Player_Struct::mmapx |
Definition at line 358 of file client.h.
Referenced by draw_magic_map(), and MagicMapCmd().
guint16 Player_Struct::mmapy |
size of magic map
Definition at line 358 of file client.h.
Referenced by draw_magic_map(), and MagicMapCmd().
char* Player_Struct::name |
Name of PC, set and freed in account.c play_character() (using data returned from server to AccountPlayersCmd, via character_choose window, OR in send_create_player_to_server() when new character created.
Definition at line 367 of file client.h.
Referenced by keybindings_init(), save_keys(), script_init(), and toggle_keybind_scope().
guint32 Player_Struct::no_echo |
If TRUE, don't echo keystrokes
Definition at line 356 of file client.h.
Referenced by handle_query(), parse_key(), script_process_cmd(), send_reply(), and x_set_echo().
item* Player_Struct::ob |
Player object
Definition at line 334 of file client.h.
Referenced by client_init(), command_take(), do_inv(), draw_inv(), draw_inv_list(), draw_inv_table(), draw_lists(), drawingarea_inventory_table_expose_event(), get_item_env(), hide_main_client(), item_event_item_deleting(), list_item_drop(), load_theme(), new_player(), on_switch_page(), redraw(), script_process_cmd(), show_item_menu(), and StatsCmd().
guint16 Player_Struct::pmapx |
Definition at line 359 of file client.h.
Referenced by magic_map_flash_pos(), and MagicMapCmd().
guint16 Player_Struct::pmapy |
Where the player is on the magic map
Definition at line 359 of file client.h.
Referenced by magic_map_flash_pos(), and MagicMapCmd().
char Player_Struct::range[MAX_BUF] |
Range attack chosen
Definition at line 350 of file client.h.
Referenced by draw_stats(), reset_vars_common(), script_process_cmd(), and StatsCmd().
item* Player_Struct::ranges[range_size] |
Object that is used for that range type
Definition at line 342 of file client.h.
Referenced by reset_vars_common().
guint8 Player_Struct::ready_spell |
guint32 Player_Struct::run_on |
True if run key is on
Definition at line 353 of file client.h.
Referenced by configure_keys(), focusoutfunc(), keyfunc(), parse_key(), parse_key_release(), and script_process_cmd().
guint8 Player_Struct::showmagic |
If 0, show the normal map, otherwise show the magic map.
Definition at line 362 of file client.h.
Referenced by client_tick(), draw_magic_map(), magic_map_flash_pos(), and reset_vars_common().
Spell* Player_Struct::spelldata |
List of spells known
Definition at line 348 of file client.h.
Referenced by AddspellCmd(), DeleteSpell(), new_player(), script_process_cmd(), update_spell_information(), and UpdspellCmd().
char Player_Struct::spells[255][40] |
guint32 Player_Struct::spells_updated |
Whether or not spells updated
Definition at line 351 of file client.h.
Referenced by AddspellCmd(), client_tick(), DeleteSpell(), StatsCmd(), update_spell_information(), and UpdspellCmd().
Stats Player_Struct::stats |
Player stats
Definition at line 347 of file client.h.
Referenced by draw_message_window(), draw_stats(), reset_player_data(), reset_vars_common(), script_process_cmd(), StatsCmd(), update_skill_information(), and update_spell_information().
char Player_Struct::title[MAX_BUF] |
Title of character
Definition at line 349 of file client.h.
Referenced by draw_stats(), extended_command(), reset_vars_common(), script_process_cmd(), and StatsCmd().