ScummVM API documentation
Alcachofa::World Class Referencefinal

Public Types

using RoomIterator = Common::Array< const Room * >::const_iterator
 

Public Member Functions

void load ()
 unfortunately has to be split from ctor, so g_engine->world() is already set during load
 
RoomIterator beginRooms () const
 
RoomIterator endRooms () const
 
RoomglobalRoom () const
 
Inventoryinventory () const
 
MainCharacterfilemon () const
 
MainCharactermortadelo () const
 
GameFileReference scriptFileRef () const
 
const Common::StringinitScriptName () const
 
uint8 loadedMapCount () const
 
bool somebodyUsing (ObjectBase *object) const
 
MainCharactergetMainCharacterByKind (MainCharacterKind kind) const
 
MainCharactergetOtherMainCharacterByKind (MainCharacterKind kind) const
 
RoomgetRoomByName (const char *name) const
 
ObjectBasegetObjectByName (const char *name) const
 
ObjectBasegetObjectByName (MainCharacterKind character, const char *name) const
 
ObjectBasegetObjectByNameFromAnyRoom (const char *name) const
 
const GameFileReferencegetGlobalAnimation (GlobalAnimationKind kind) const
 
const char * getLocalizedName (const Common::String &name) const
 
const char * getDialogLine (int32 dialogId) const
 
void toggleObject (MainCharacterKind character, const char *objName, bool isEnabled)
 
void syncGame (Common::Serializer &s)
 
GameFileReference readFileRef (Common::SeekableReadStream &stream) const
 
Common::ScopedPtr< Common::SeekableReadStreamopenFileRef (const GameFileReference &ref) const
 

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