ScummVM API documentation
Pelrock::GameStateData Struct Reference

Public Member Functions

void clear ()
 
void clearBranches ()
 
void addDisabledBranch (ResetEntry entry)
 
byte getFlag (int flagIndex) const
 
bool getBoolFlag (int flagIndex) const
 
void setFlag (int flagIndex, byte value)
 
void addInventoryItem (int id)
 
void clearInventory ()
 
void removeInventoryItem (int id)
 
bool hasInventoryItem (int id) const
 
int getCurrentRoot (byte room, int npc) const
 
void setCurrentRoot (byte room, int root, int npc)
 
int findFirstBookIndex ()
 
int booksInInventory ()
 

Public Attributes

byte flags [kNumGameFlags]
 
GameState stateGame = INTRO
 
Common::Array< byte > inventoryItems
 
int16 selectedInventoryItem = -1
 
int libraryShelf = -1
 
int selectedBookIndex = -1
 
char bookLetter = '\0'
 
Common::HashMap< byte, Common::Array< Sticker > > stickersPerRoom
 
Common::HashMap< byte, Common::Array< ExitChange > > roomExitChanges
 
Common::HashMap< byte, Common::Array< WalkBoxChange > > roomWalkBoxChanges
 
Common::HashMap< byte, Common::Array< HotSpotChange > > roomHotSpotChanges
 
Common::HashMap< byte, Common::Array< ResetEntry > > disabledBranches
 
Common::HashMap< byte, Common::Array< SpriteChange > > spriteChanges
 
byte * conversationCurrentRoot = new byte[112]
 

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