ScummVM API documentation
Xeen::Party Class Reference

Public Member Functions

 Party (XeenEngine *vm)
 
void synchronize (Common::Serializer &s)
 
void loadActiveParty ()
 
bool checkSkill (Skill skillId)
 
bool isInParty (int charId)
 
void copyPartyToRoster ()
 
void changeTime (int numMinutes)
 
void addTime (int numMinutes)
 
void resetTemps ()
 
void handleLight ()
 
int subtract (ConsumableType consumableId, uint amount, PartyBank whereId, MessageWaitType wait=WT_FREEZE_WAIT)
 
const char * getConsumableForm (ConsumableType consumableId)
 
void notEnough (ConsumableType consumableId, PartyBank whereId, bool mode, MessageWaitType wait)
 
void checkPartyDead ()
 
void moveToRunLocation ()
 
void giveTreasure ()
 
bool arePacksFull () const
 
bool canShoot () const
 
bool giveTake (int takeMode, uint takeVal, int giveMode, uint giveVal, int charIdx)
 
const char * getPickLockForm (const Character &c)
 
const char * getUnablePickLockForm (const Character &c)
 
bool giveExt (int mode1, uint val1, int mode2, uint val2, int mode3, uint val3, int charId)
 
void resetBlacksmithWares ()
 
uint getScore ()
 

Public Attributes

Direction _mazeDirection
 
Common::Point _mazePosition
 
int _mazeId
 
int _priorMazeId
 
int _levitateCount
 
bool _automapOn
 
bool _wizardEyeActive
 
bool _clairvoyanceActive
 
bool _walkOnWaterActive
 
int _blessed
 
int _powerShield
 
int _holyBonus
 
int _heroism
 
Difficulty _difficulty
 
BlacksmithWares _blacksmithWares
 
bool _cloudsCompleted
 
bool _darkSideCompleted
 
bool _worldCompleted
 
int _ctr24
 
int _day
 
uint _year
 
int _minutes
 
uint _food
 
int _lightCount
 
int _torchCount
 
int _fireResistence
 
int _electricityResistence
 
int _coldResistence
 
int _poisonResistence
 
int _deathCount
 
int _winCount
 
int _lossCount
 
uint _gold
 
uint _gems
 
uint _bankGold
 
uint _bankGems
 
int _totalTime
 
bool _rested
 
bool _gameFlags [2][256]
 
bool _worldFlags [129]
 
bool _questFlags [60]
 
int _questItems [85]
 
bool _characterFlags [30][32]
 
Roster _roster
 
CharacterArray _activeParty
 
bool _newDay
 
bool _isNight
 
bool _stepped
 
Common::Point _fallPosition
 
int _fallMaze
 
int _fallDamage
 
bool _dead
 
Treasure _treasure
 
Treasure _savedTreasure
 

Member Function Documentation

◆ synchronize()

void Xeen::Party::synchronize ( Common::Serializer s)

Synchronizes data for the party

◆ copyPartyToRoster()

void Xeen::Party::copyPartyToRoster ( )

Copy the currently active party characters' data back to the roster

◆ changeTime()

void Xeen::Party::changeTime ( int  numMinutes)

Adds time to the party's playtime, taking into account the effect of any stat modifier changes

◆ moveToRunLocation()

void Xeen::Party::moveToRunLocation ( )

Move party position to the run destination on the current map

◆ giveTreasure()

void Xeen::Party::giveTreasure ( )

Give treasure to the party

◆ arePacksFull()

bool Xeen::Party::arePacksFull ( ) const

Returns true if all the packs for all the characters are full

◆ giveTake()

bool Xeen::Party::giveTake ( int  takeMode,
uint  takeVal,
int  giveMode,
uint  giveVal,
int  charIdx 
)

Gives and/or takes amounts from various character and/or party properties

◆ giveExt()

bool Xeen::Party::giveExt ( int  mode1,
uint  val1,
int  mode2,
uint  val2,
int  mode3,
uint  val3,
int  charId 
)

Gives up to three different item/amounts to various character and/or party properties

◆ resetBlacksmithWares()

void Xeen::Party::resetBlacksmithWares ( )

Resets the inventory that Blacksmiths sell

◆ getScore()

uint Xeen::Party::getScore ( )

Returns the current total score


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