|
| GameState (TwinEEngine *engine) |
|
void | setChapter (int16 chapter) |
|
int16 | getChapter () const |
|
void | setDarts (int16 value) |
|
void | addDart () |
|
bool | inventoryDisabled () const |
|
bool | hasOpenedFunfrocksSafe () const |
|
bool | hasArrivedHamalayi () const |
|
bool | hasItem (InventoryItems item) const |
|
void | giveItem (InventoryItems item) |
|
void | removeItem (InventoryItems item) |
|
void | clearGameFlags () |
|
int16 | hasGameFlag (uint8 index) const |
|
void | setGameFlag (uint8 index, int16 value) |
|
int16 | setKeys (int16 value) |
|
int16 | setGas (int16 value) |
|
int16 | setLeafs (int16 value) |
|
int16 | setKashes (int16 value) |
|
int16 | setZlitos (int16 value) |
|
int16 | setMagicPoints (int16 val) |
|
int16 | setMaxMagicPoints () |
|
int16 | setLeafBoxes (int16 val) |
|
void | handleLateGameItems () |
|
void | addGas (int16 value) |
|
void | addKeys (int16 val) |
|
void | addKashes (int16 val) |
|
void | addMagicPoints (int16 val) |
|
void | addLeafs (int16 val) |
|
void | addLeafBoxes (int16 val) |
|
void | initEngineVars () |
|
void | init3DGame () |
|
void | doFoundObj (InventoryItems item) |
|
void | giveUp () |
|
bool | loadGame (Common::SeekableReadStream *file) |
|
bool | saveGame (Common::WriteStream *file) |
|
void | gameAskChoice (TextId choiceIdx) |
|
void | processGameoverAnimation () |
|
◆ setChapter()
void TwinE::GameState::setChapter |
( |
int16 |
chapter | ) |
|
LBA engine chapter 0: Imprisoned 1: Escape from the citadel 2: Zoe got captured 3: - looking for a young girl 4: - looking for a "friend" 5: The legend of Sendell 6: The book of Bu 7: Pirate LeBorne 8: - "good day" 9: - "good day" 10: - ?? nothing 11: - ?? nothing 12: - ?? nothing 13: - looking for plans 14: - still looking for plans 15: The final showdown - "good day"
◆ initEngineVars()
void TwinE::GameState::initEngineVars |
( |
| ) |
|
Initialize all engine variables
◆ init3DGame()
void TwinE::GameState::init3DGame |
( |
| ) |
|
Initialize engine 3D projections
◆ _magicBall
int16 TwinE::GameState::_magicBall = 0 |
◆ _magicBallType
int16 TwinE::GameState::_magicBallType = 0 |
◆ _magicBallCount
int16 TwinE::GameState::_magicBallCount = 0 |
Magic ball auxiliar bounce number
◆ _magicLevelIdx
int16 TwinE::GameState::_magicLevelIdx = 0 |
◆ _nbLittleKeys
int16 TwinE::GameState::_nbLittleKeys = 0 |
Store the number of inventory keys
◆ _goldPieces
int16 TwinE::GameState::_goldPieces = 0 |
Store the number of inventory kashes
◆ _inventoryNumLeafsBox
int16 TwinE::GameState::_inventoryNumLeafsBox = 0 |
Store the number of inventory clover leafs boxes
◆ _inventoryNumLeafs
int16 TwinE::GameState::_inventoryNumLeafs = 0 |
Store the number of inventory clover leafs
◆ _magicPoint
int16 TwinE::GameState::_magicPoint = 0 |
Store the number of inventory magic points
◆ _inventoryNumGas
int16 TwinE::GameState::_inventoryNumGas = 0 |
◆ _usingSabre
bool TwinE::GameState::_usingSabre = false |
◆ _inventoryFlags
uint8 TwinE::GameState::_inventoryFlags[NUM_INVENTORY_ITEMS] |
Inventory used flags 0 means never used, 1 means already used and automatic re-use
The documentation for this class was generated from the following file: