ScummVM API documentation
Made::GameDatabaseV2 Class Reference
Inheritance diagram for Made::GameDatabaseV2:
Made::GameDatabase

Public Member Functions

 GameDatabaseV2 (MadeEngine *vm)
 
int16 * findObjectProperty (int16 objectIndex, int16 propertyId, int16 &propertyFlag) override
 
const char * getString (uint16 offset) override
 
bool getSavegameDescription (const char *filename, Common::String &description, int16 version) override
 
int16 savegame (const char *filename, const char *description, int16 version) override
 
int16 loadgame (const char *filename, int16 version) override
 
- Public Member Functions inherited from Made::GameDatabase
 GameDatabase (MadeEngine *vm)
 
void open (const char *filename)
 
void openFromRed (const char *redFilename, const char *filename)
 
void reload ()
 
ObjectgetObject (int16 index) const
 
uint getObjectCount () const
 
int16 getMainCodeObjectIndex () const
 
int16 getVar (int16 index)
 
void setVar (int16 index, int16 value)
 
const char * getObjectString (int16 index)
 
void setObjectString (int16 index, const char *str)
 
int16 * findObjectPropertyCached (int16 objectIndex, int16 propertyId, int16 &propertyFlag)
 
int16 getObjectProperty (int16 objectIndex, int16 propertyId)
 
int16 setObjectProperty (int16 objectIndex, int16 propertyId, int16 value)
 
void dumpObject (int16 index)
 

Protected Member Functions

void load (Common::SeekableReadStream &sourceS) override
 
void reloadFromStream (Common::SeekableReadStream &sourceS) override
 

Protected Attributes

char * _gameText
 
- Protected Attributes inherited from Made::GameDatabase
MadeEngine_vm
 
Common::Array< Object * > _objects
 
ObjectPropertyCacheMap _objectPropertyCache
 
byte * _gameState
 
uint32 _gameStateSize
 
int16 _mainCodeObjectIndex
 
bool _isRedSource
 
Common::String _filename
 
Common::String _redFilename
 

Additional Inherited Members

- Protected Types inherited from Made::GameDatabase
typedef Common::HashMap< uint32, int16 * > ObjectPropertyCacheMap
 

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