Crossfire Client, Branches  R11627
Stat_struct Struct Reference

#include <client.h>

+ Collaboration diagram for Stat_struct:

Data Fields

sint8 ac
 
uint32 attuned
 
sint8 Cha
 
sint8 Con
 
sint16 dam
 
uint32 denied
 
sint8 Dex
 
sint64 exp
 
uint16 flags
 
sint16 food
 
sint16 grace
 
sint16 hp
 
sint8 Int
 
sint8 level
 
sint16 maxgrace
 
sint16 maxhp
 
sint16 maxsp
 
sint8 Pow
 
uint32 repelled
 
uint32 resist_change:1
 
sint16 resists [30]
 
sint64 skill_exp [MAX_SKILL]
 
sint16 skill_level [MAX_SKILL]
 
sint16 sp
 
sint32 speed
 
sint8 Str
 
sint8 wc
 
sint32 weapon_sp
 
uint32 weight_limit
 
sint8 Wis
 

Detailed Description

Definition at line 205 of file client.h.

Field Documentation

sint8 Stat_struct::ac

Armour Class

Definition at line 214 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

uint32 Stat_struct::attuned

Spell paths to which the player is attuned

Definition at line 233 of file client.h.

Referenced by script_process_cmd(), StatsCmd(), update_spell_information(), and update_spell_list().

sint8 Stat_struct::Cha

Charisma

Definition at line 210 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

sint8 Stat_struct::Con

Constitution

Definition at line 208 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

sint16 Stat_struct::dam

How much damage this object does for each hit

Definition at line 226 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

uint32 Stat_struct::denied

Spell paths denied to the player

Definition at line 239 of file client.h.

Referenced by script_process_cmd(), StatsCmd(), update_spell_information(), and update_spell_list().

sint8 Stat_struct::Dex

Dexterity

Definition at line 207 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

sint64 Stat_struct::exp

Experience. Killers gain 1/10.

Definition at line 222 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

uint16 Stat_struct::flags

Contains fire on/run on flags

Definition at line 240 of file client.h.

Referenced by draw_message_window(), script_process_cmd(), and StatsCmd().

sint16 Stat_struct::food

Quantity food in stomach. 0 = starved.

Definition at line 223 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

sint16 Stat_struct::grace

Spell points for using prayers.

Definition at line 220 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

sint16 Stat_struct::hp

Hit Points

Definition at line 216 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

sint8 Stat_struct::Int

Intelligence

Definition at line 211 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

sint8 Stat_struct::level

Experience level

Definition at line 215 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

sint16 Stat_struct::maxgrace

Maximum spell points.

Definition at line 221 of file client.h.

Referenced by draw_message_window(), draw_stats(), init_client_vars(), reset_client_vars(), script_process_cmd(), and StatsCmd().

sint16 Stat_struct::maxhp

Maximum hit points

Definition at line 217 of file client.h.

Referenced by draw_message_window(), draw_stats(), init_client_vars(), reset_client_vars(), script_process_cmd(), and StatsCmd().

sint16 Stat_struct::maxsp

Maximum spell points.

Definition at line 219 of file client.h.

Referenced by draw_message_window(), draw_stats(), init_client_vars(), reset_client_vars(), script_process_cmd(), and StatsCmd().

sint8 Stat_struct::Pow

Power

Definition at line 212 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

uint32 Stat_struct::repelled

Spell paths to which the player is repelled

Definition at line 236 of file client.h.

Referenced by script_process_cmd(), StatsCmd(), update_spell_information(), and update_spell_list().

uint32 Stat_struct::resist_change

Resistant value change flag

Definition at line 242 of file client.h.

Referenced by draw_message_window(), draw_stats(), and StatsCmd().

sint16 Stat_struct::resists[30]

Resistant values

Definition at line 241 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

sint64 Stat_struct::skill_exp[MAX_SKILL]

Experience points for skills

Definition at line 244 of file client.h.

Referenced by draw_stats(), init_client_vars(), reset_player_data(), script_process_cmd(), and StatsCmd().

sint16 Stat_struct::skill_level[MAX_SKILL]

Level of known skills

Definition at line 243 of file client.h.

Referenced by draw_stats(), init_client_vars(), reset_player_data(), script_process_cmd(), and StatsCmd().

sint16 Stat_struct::sp

Spell points for casting spells

Definition at line 218 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

sint32 Stat_struct::speed

Speed (is displayed as a float)

Definition at line 229 of file client.h.

Referenced by draw_stats(), init_client_vars(), reset_client_vars(), script_process_cmd(), and StatsCmd().

sint8 Stat_struct::Str

Strength

Definition at line 206 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

sint8 Stat_struct::wc

Weapon Class

Definition at line 213 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

sint32 Stat_struct::weapon_sp

Weapon speed (displayed in client as a float)

Definition at line 230 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

uint32 Stat_struct::weight_limit

Carrying weight limit

Definition at line 245 of file client.h.

Referenced by script_process_cmd(), and StatsCmd().

sint8 Stat_struct::Wis

Wisdom

Definition at line 209 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().


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