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
 
Room & globalRoom () const
 
Inventory & inventory () const
 
MainCharacter & filemon () const
 
MainCharacter & mortadelo () const
 
GameFileReference scriptFileRef () const
 
const Common::String & initScriptName () const
 
uint8 loadedMapCount () const
 
bool somebodyUsing (ObjectBase *object) const
 
MainCharacter & getMainCharacterByKind (MainCharacterKind kind) const
 
MainCharacter & getOtherMainCharacterByKind (MainCharacterKind kind) const
 
Room * getRoomByName (const char *name) const
 
ObjectBase * getObjectByName (const char *name) const
 
ObjectBase * getObjectByName (MainCharacterKind character, const char *name) const
 
ObjectBase * getObjectByNameFromAnyRoom (const char *name) const
 
const GameFileReference & getGlobalAnimation (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::SeekableReadStream > openFileRef (const GameFileReference &ref) const
 

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