ScummVM API documentation
Tetraedge::Game Class Referenceabstract
Inheritance diagram for Tetraedge::Game:
Tetraedge::AmerzoneGame Tetraedge::SyberiaGame

Classes

struct  YieldedCallback
 

Public Member Functions

void addNoScale2Child (TeLayout *layout)
 
virtual void addToBag (const Common::String &objname)=0
 
virtual bool changeWarp (const Common::String &zone, const Common::String &scene, bool fadeFlag)=0
 
void closeDialogs ()
 
virtual void draw ()=0
 
virtual void enter ()=0
 
virtual void finishGame ()=0
 
virtual void initLoadedBackupData ()=0
 
bool isDocumentOpened ()
 
bool isMouse ()
 
bool isMoviePlaying ()
 
bool launchDialog (const Common::String &param_1, uint param_2, const Common::String &charname, const Common::String &animfile, float animblend)
 
virtual void leave (bool flag)=0
 
virtual void loadUnlockedArtwork ()
 
bool playMovie (const Common::Path &vidPath, const Common::Path &musicPath, float volume=1.0f)
 
void playSound (const Common::String &name, int param_2, float volume)
 
void removeNoScale2Child (TeLayout *layout)
 
void resumeMovie ()
 
void resumeSounds ()
 
void saveBackup (const Common::String &saveName)
 
bool setBackground (const Common::Path &name)
 
void setCurrentObjectSprite (const Common::Path &spritePath)
 
bool showMarkers (bool val)
 
bool startAnimation (const Common::String &animName, int loopcount, bool reversed)
 
void stopSound (const Common::String &name)
 
Common::Error syncGame (Common::Serializer &s)
 
virtual void update ()=0
 
InventoryMenuinventoryMenu ()
 
Inventoryinventory ()
 
DocumentsBrowserdocumentsBrowser ()
 
bool entered () const
 
bool running () const
 
void setRunning (bool val)
 
bool luaShowOwnerError () const
 
const Common::StringcurrentZone () const
 
const Common::StringcurrentScene () const
 
TeLuaScriptluaScript ()
 
TeLuaContextluaContext ()
 
InGameScenescene ()
 
Dialog2dialog2 ()
 
Question2question2 ()
 
TeLuaGUIforGui ()
 
TeLuaGUIinGameGui ()
 
bool hasLoadName () const
 
void setLoadName (const Common::String &loadName)
 
bool onAnswered (const Common::String &val)
 
virtual bool onDialogFinished (const Common::String &val)=0
 
virtual bool onFinishedLoadingBackup (const Common::String &val)
 
bool onInventoryButtonValidated ()
 
bool onLockVideoButtonValidated ()
 
bool onMouseMove (const Common::Point &pt)
 
bool onSkipVideoButtonValidated ()
 
virtual bool onVideoFinished ()=0
 

Static Public Member Functions

static TeI3DObject2findLayoutByName (TeLayout *parent, const Common::String &name)
 
static TeSpriteLayoutfindSpriteLayoutByName (TeLayout *parent, const Common::String &name)
 

Public Attributes

bool _returnToMainMenu
 
bool _firstInventory
 

Protected Attributes

bool _luaShowOwnerError
 
bool _running
 
bool _entered
 
TeLuaGUI _setAnimGui
 
TeLuaGUI _forGui
 
TeLuaGUI _inGameGui
 
Inventory _inventory
 
InventoryMenu _inventoryMenu
 
InGameScene _scene
 
Common::String _loadName
 
Common::String _currentScene
 
Common::String _currentZone
 
Common::String _prevSceneName
 
Common::Array< GameSound * > _gameSounds
 
bool _objectsTakenBits [NUM_OBJECTS_TAKEN_IDS]
 
int _objectsTakenVal
 
TeTimer _playedTimer
 
TeTimer _walkTimer
 
TeLuaScript _luaScript
 
TeLuaContext _luaContext
 
TeLuaScript _gameEnterScript
 
TeMusic _videoMusic
 
Notifier _notifier
 
DocumentsBrowser _documentsBrowser
 
Question2 _question2
 
Dialog2 _dialog2
 
int _dialogsTold
 
TeLayout_noScaleLayout2
 

Static Protected Attributes

static const int NUM_OBJECTS_TAKEN_IDS = 5
 
static const char * OBJECTS_TAKEN_IDS [NUM_OBJECTS_TAKEN_IDS]
 

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