ScummVM API documentation
Neverhood::GameVars Class Reference

Public Member Functions

void clear ()
 
void loadState (Common::InSaveFile *in)
 
void saveState (Common::OutSaveFile *out)
 
uint32 getGlobalVar (uint32 nameHash)
 
void setGlobalVar (uint32 nameHash, uint32 value)
 
uint32 getSubVar (uint32 nameHash, uint32 subNameHash)
 
void setSubVar (uint32 nameHash, uint32 subNameHash, uint32 value)
 
void dumpVars (Console *con)
 

Protected Member Functions

int16 addVar (uint32 nameHash, uint32 value)
 
int16 findSubVarIndex (int16 varIndex, uint32 subNameHash)
 
int16 addSubVar (int16 varIndex, uint32 subNameHash, uint32 value)
 
int16 getSubVarIndex (int16 varIndex, uint32 subNameHash)
 

Protected Attributes

Common::Array< GameVar_vars
 

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