Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

classdesc Struct Reference

#include <constdata.h>


Detailed Description

Information describing a player class (eg fighter, wizard).

Instances of this structure appear (sort of) in data/playerclass.m4. The layout of this structure must remained synchronized with the corresponding macro in that file.

Definition at line 133 of file constdata.h.

Data Fields

filelink name
 Link to string: name of the class.

uint base_stat [NUM_BASE_STATS]
 Minimum attributes (St, Dx, To, Wi, Mn).

uint max_stat [NUM_BASE_STATS]
 Maximum starting attributes.

uint free_points
 Number of points to assign randomly to attributes.

uint spellcasting [3]
 Spellcasting skill for each type of spell (SPELLTYPE_ARCANE, SPELLTYPE_DIVINE, SPELLTYPE_NECROMANCY).

uint weapon_skill_factor
 Multiplier to number of marks needed to gain a skill level.

uint weapon_skill_start
 Starting weapon skill (all weapon types).


Field Documentation

uint classdesc::base_stat[NUM_BASE_STATS]
 

Minimum attributes (St, Dx, To, Wi, Mn).

Definition at line 137 of file constdata.h.

Referenced by distribute_attributes().

uint classdesc::free_points
 

Number of points to assign randomly to attributes.

Definition at line 139 of file constdata.h.

Referenced by distribute_attributes().

uint classdesc::max_stat[NUM_BASE_STATS]
 

Maximum starting attributes.

Definition at line 138 of file constdata.h.

Referenced by distribute_attributes().

struct filelink classdesc::name
 

Link to string: name of the class.

Definition at line 135 of file constdata.h.

Referenced by playerclassname().

uint classdesc::spellcasting[3]
 

Spellcasting skill for each type of spell (SPELLTYPE_ARCANE, SPELLTYPE_DIVINE, SPELLTYPE_NECROMANCY).

Definition at line 141 of file constdata.h.

Referenced by study_book(), and study_spell().

uint classdesc::weapon_skill_factor
 

Multiplier to number of marks needed to gain a skill level.

Definition at line 144 of file constdata.h.

Referenced by marks_to_advance().

uint classdesc::weapon_skill_start
 

Starting weapon skill (all weapon types).

Definition at line 146 of file constdata.h.

Referenced by init_skills().


The documentation for this struct was generated from the following file:
Generated on Thu May 20 13:12:14 2004 for CalcRogue by doxygen 1.3.6