ScummVM API documentation
DM::Champion Class Reference

Public Member Functions

void setVm (DMEngine *vm)
 
ThinggetSlot (ChampionSlot slot)
 
void setSlot (ChampionSlot slot, Thing val)
 
SkillgetSkill (ChampionSkill skill)
 
void setSkillExp (ChampionSkill skill, int32 val)
 
void setSkillTempExp (ChampionSkill skill, int16 val)
 
byte & getStatistic (ChampionStatType type, ChampionStatValue valType)
 
void setStatistic (ChampionStatType type, ChampionStatValue valType, byte newVal)
 
uint16 getAttributes ()
 
uint16 getAttributes (ChampionAttribute flag)
 
void setAttributeFlag (ChampionAttribute flag, bool value)
 
void clearAttributes (ChampionAttribute attribute=kDMAttributNone)
 
uint16 getWounds ()
 
void setWoundsFlag (ChampionWound flag, bool value)
 
uint16 getWoundsFlag (ChampionWound wound)
 
void clearWounds ()
 
void resetSkillsToZero ()
 
void resetToZero ()
 

Public Attributes

uint16 _attributes
 
uint16 _wounds
 
byte _statistics [7][3]
 
Thing _slots [30]
 
Skill _skills [20]
 
char _name [8]
 
char _title [20]
 
Direction _dir
 
ViewCell _cell
 
ChampionAction _actionIndex
 
uint16 _symbolStep
 
char _symbols [5]
 
uint16 _directionMaximumDamageReceived
 
uint16 _maximumDamageReceived
 
uint16 _poisonEventCount
 
int16 _enableActionEventIndex
 
int16 _hideDamageReceivedIndex
 
int16 _currHealth
 
int16 _maxHealth
 
int16 _currStamina
 
int16 _maxStamina
 
int16 _currMana
 
int16 _maxMana
 
int16 _actionDefense
 
int16 _food
 
int16 _water
 
uint16 _load
 
int16 _shieldDefense
 
byte _portrait [928]
 

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