ScummVM API documentation
Saga2::ActorAttributes Struct Reference

Public Types

enum  skillInfo { kSkillBasePercent = 100, kSkillFracPointsPerLevel = 5, kSkillLevels = 20, kSkillMaxLevel = kSkillFracPointsPerLevel * kSkillLevels }
 
enum  vitalityInfo { kVitalityLimit = 256 }
 

Public Member Functions

uint8 & skill (int16 id)
 
int16 & mana (int16 id)
 
uint8 getSkillLevel (int16 id)
 
void read (Common::InSaveFile *in)
 
void write (Common::MemoryWriteStreamDynamic *out)
 

Public Attributes

uint8 archery
 
uint8 swordcraft
 
uint8 shieldcraft
 
uint8 bludgeon
 
uint8 throwing
 
uint8 spellcraft
 
uint8 stealth
 
uint8 agility
 
uint8 brawn
 
uint8 lockpick
 
uint8 pilfer
 
uint8 firstAid
 
uint8 spotHidden
 
int8 pad
 
int16 vitality
 
int16 redMana
 
int16 orangeMana
 
int16 yellowMana
 
int16 greenMana
 
int16 blueMana
 
int16 violetMana
 

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