![]() |
Crossfire Client, Trunk
|
#include <client.h>
Collaboration diagram for Player_Struct:Data Fields | |
| guint32 | alt_on:1 |
| True if fire key is pressed. More... | |
| item * | below |
| Items below the player (pl.below->inv) More... | |
| item * | container |
| open container More... | |
| guint32 | count |
| Repeat count on command. More... | |
| guint16 | count_left |
| count for commands More... | |
| guint32 | fire_on:1 |
| True if fire key is pressed. More... | |
| Input_State | input_state |
| What the input state is. More... | |
| char | input_text [MAX_BUF] |
| keys typed (for long commands) More... | |
| char | last_command [MAX_BUF] |
| Last command entered. More... | |
| guint8 * | magicmap |
| Magic map data. More... | |
| guint16 | mapxres |
| guint16 | mapyres |
| Resolution to draw on the magic map. More... | |
| guint32 | meta_on:1 |
| True if fire key is pressed. More... | |
| guint16 | mmapx |
| guint16 | mmapy |
| size of magic map More... | |
| char * | 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. More... | |
| guint32 | no_echo:1 |
| If TRUE, don't echo keystrokes. More... | |
| item * | ob |
| Player object. More... | |
| guint16 | pmapx |
| guint16 | pmapy |
| Where the player is on the magic map. More... | |
| char | range [MAX_BUF] |
| Range attack chosen. More... | |
| item * | ranges [range_size] |
| Object that is used for that. More... | |
| guint8 | ready_spell |
| Index to spell that is readied. More... | |
| guint32 | run_on:1 |
| True if run key is on. More... | |
| guint8 | showmagic |
| If 0, show the normal map, otherwise show the magic map. More... | |
| Spell * | spelldata |
| List of spells known. More... | |
| char | spells [255][40] |
| List of all the spells the. More... | |
| guint32 | spells_updated |
| Whether or not spells updated. More... | |
| Stats | stats |
| Player stats. More... | |
| char | title [MAX_BUF] |
| Title of character. More... | |
| guint32 Player_Struct::alt_on |
True if fire key is pressed.
Definition at line 358 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 338 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 340 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 360 of file client.h.
Referenced by command_take(), extended_command(), fire_dir(), list_item_drop(), on_count_changed(), on_entry_commands_activate(), 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 355 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 342 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 344 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 364 of file client.h.
Referenced by draw_magic_map(), MagicMapCmd(), and reset_vars_common().
| guint16 Player_Struct::mapxres |
Definition at line 367 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 367 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 357 of file client.h.
Referenced by configure_keys(), focusoutfunc(), parse_key(), and parse_key_release().
| guint16 Player_Struct::mmapx |
Definition at line 361 of file client.h.
Referenced by draw_magic_map(), and MagicMapCmd().
| guint16 Player_Struct::mmapy |
size of magic map
Definition at line 361 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 370 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 359 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 337 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 362 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 362 of file client.h.
Referenced by magic_map_flash_pos(), and MagicMapCmd().
| char Player_Struct::range[MAX_BUF] |
Range attack chosen.
Definition at line 353 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 345 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 356 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 365 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 351 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 354 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 350 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 352 of file client.h.
Referenced by draw_stats(), extended_command(), reset_vars_common(), script_process_cmd(), and StatsCmd().