Crossfire Client, Branch  R11627
Data Fields
Player_Struct Struct Reference

#include <client.h>

Collaboration diagram for Player_Struct:
Collaboration graph
[legend]

Data Fields

uint32 alt_on:1
 True if fire key is pressed.
itembelow
 Items below the player (pl.below->inv)
itemcontainer
 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.
uint8magicmap
 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.
itemob
 Player object.
uint16 pmapx
uint16 pmapy
 Where the player is on the magic map.
char range [MAX_BUF]
 Range attack chosen.
itemranges [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.
Spellspelldata
 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.

Detailed Description

Definition at line 271 of file client.h.


Field Documentation

True if fire key is pressed.

Definition at line 293 of file client.h.

Referenced by configure_keys(), parse_key(), and parse_key_release().

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().

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().

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().

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().

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().

Index to spell that is readied.

Definition at line 282 of file client.h.

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]

List of all the spells the.

player knows

Definition at line 283 of file client.h.

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().

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().


The documentation for this struct was generated from the following file: