|
Crossfire Client, Branch
R11627
|
#include <client.h>

Data Fields | |
| uint32 | alt_on:1 |
| True if fire key is pressed. | |
| item * | below |
| Items below the player (pl.below->inv) | |
| item * | container |
| open container | |
| uint32 | count |
| Repeat count on command. | |
| uint16 | count_left |
| count for commands | |
| uint32 | fire_on:1 |
| True if fire key is pressed. | |
| Input_State | input_state |
| What the input state is. | |
| char | input_text [MAX_BUF] |
| keys typed (for long commands) | |
| char | last_command [MAX_BUF] |
| Last command entered. | |
| uint8 * | magicmap |
| Magic map data. | |
| uint16 | mapxres |
| uint16 | mapyres |
| Resolution to draw on the magic map. | |
| uint32 | meta_on:1 |
| True if fire key is pressed. | |
| uint16 | mmapx |
| uint16 | mmapy |
| size of magic map | |
| char | name [40] |
| Player's name, for player-specific key files. | |
| uint32 | no_echo:1 |
| If TRUE, don't echo keystrokes. | |
| item * | ob |
| Player object. | |
| uint16 | pmapx |
| uint16 | pmapy |
| Where the player is on the magic map. | |
| char | range [MAX_BUF] |
| Range attack chosen. | |
| item * | ranges [range_size] |
| Object that is used for that. | |
| uint8 | ready_spell |
| Index to spell that is readied. | |
| uint32 | run_on:1 |
| True if run key is on. | |
| uint8 | showmagic |
| If 0, show the normal map, otherwise show the magic map. | |
| Spell * | spelldata |
| List of spells known. | |
| char | spells [255][40] |
| List of all the spells the. | |
| uint32 | spells_updated |
| Whether or not spells updated. | |
| Stats | stats |
| Player stats. | |
| char | title [MAX_BUF] |
| Title of character. | |
True if fire key is pressed.
Definition at line 293 of file client.h.
Referenced by configure_keys(), parse_key(), and parse_key_release().
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().
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().
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().
count for commands
Definition at line 276 of file client.h.
Referenced by init_client_vars(), and reset_client_vars().
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().
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().
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().
Last command entered.
Definition at line 278 of file client.h.
Referenced by init_client_vars(), and reset_client_vars().
Magic map data.
Definition at line 299 of file client.h.
Referenced by draw_magic_map(), init_client_vars(), MagicMapCmd(), and reset_client_vars().
Definition at line 302 of file client.h.
Referenced by draw_magic_map(), and magic_map_flash_pos().
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().
True if fire key is pressed.
Definition at line 292 of file client.h.
Referenced by configure_keys(), parse_key(), and parse_key_release().
Definition at line 296 of file client.h.
Referenced by draw_magic_map(), and MagicMapCmd().
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().
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().
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().
Definition at line 297 of file client.h.
Referenced by magic_map_flash_pos(), and MagicMapCmd().
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().
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().
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().
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().
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] |
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().
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().
1.7.6.1