ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <ad_game.h>

Inheritance diagram for Wintermute::AdGame:
Collaboration diagram for Wintermute::AdGame:

List of all members.

Public Member Functions

bool onScriptShutdown (ScScript *script) override
bool onMouseLeftDown () override
bool onMouseLeftUp () override
bool onMouseLeftDblClick () override
bool onMouseRightDown () override
bool onMouseRightUp () override
bool handleCustomActionStart (BaseGameCustomAction action) override
bool handleCustomActionEnd (BaseGameCustomAction action) override
bool displayDebugInfo () override
bool addSpeechDir (const char *dir)
bool removeSpeechDir (const char *dir)
char * findSpeechFile (char *StringID)
bool deleteItem (AdItem *Item)
bool resetContent () override
bool addItem (AdItem *item)
AdItemgetItemByName (const char *name) const
bool isItemTaken (char *itemName)
bool registerInventory (AdInventory *inv)
bool unregisterInventory (AdInventory *inv)
bool displayContent (bool update=true, bool displayAll=false) override
bool gameResponseUsed (int ID) const
bool addGameResponse (int ID)
bool resetResponse (int ID)
bool branchResponseUsed (int ID) const
bool addBranchResponse (int ID)
bool clearBranchResponses (char *name)
bool startDlgBranch (const char *branchName, const char *scriptName, const char *eventName)
bool endDlgBranch (const char *branchName, const char *scriptName, const char *eventName)
bool windowLoadHook (UIWindow *win, char **buf, char **params) override
bool windowScriptMethodHook (UIWindow *win, ScScript *script, ScStack *stack, const char *name) override
AdSceneStategetSceneState (const char *filename, bool saving)
bool getVersion (byte *verMajor, byte *verMinor, byte *extMajor, byte *extMinor) const override
bool scheduleChangeScene (const char *filename, bool fadeIn)
void setPrevSceneName (const char *name)
void setPrevSceneFilename (const char *name)
bool cleanup () override
void finishSentences ()
bool showCursor () override
bool displaySentences (bool frozen)
void addSentence (AdSentence *sentence)
bool changeScene (const char *filename, bool fadeIn)
bool removeObject (AdObject *object)
bool addObject (AdObject *object)
bool initLoop ()
 AdGame (const Common::String &gameId)
 ~AdGame () override
bool loadFile (const char *filename) override
bool loadBuffer (char *buffer, bool complete=true) override
bool loadItemsFile (const char *filename, bool merge=false)
bool loadItemsBuffer (char *buffer, bool merge=false)
ScValuescGetProperty (const Common::String &name) override
bool scSetProperty (const char *name, ScValue *value) override
bool scCallMethod (ScScript *script, ScStack *stack, ScStack *thisStack, const char *name) override
bool validMouse ()
Common::String debuggerToString () const override

Public Attributes

char * _itemsFile
bool _tempDisableSaveState
AdObject_inventoryOwner
BaseViewport_sceneViewport
int32 _texItemLifeTime
int32 _texWalkLifeTime
int32 _texStandLifeTime
int32 _texTalkLifeTime
TTalkSkipButton _talkSkipButton
AdItem_selectedItem
TGameStateEx _stateEx
AdScene_scene
BaseArray< AdObject * > _objects

Private Member Functions

bool externalCall (ScScript *script, ScStack *stack, ScStack *thisStack, char *name) override

Private Attributes

AdObject_invObject
BaseArray< AdInventory * > _inventories
char * _scheduledScene
bool _scheduledFadeIn
char * _prevSceneName
char * _prevSceneFilename
char * _debugStartupScene
char * _startupScene
bool _initialScene
bool _smartItemCursor
BaseArray< char * > _speechDirs
BaseArray< AdItem * > _items
BaseArray< AdSentence * > _sentences
BaseArray< AdSceneState * > _sceneStates
BaseArray< char * > _dlgPendingBranches
BaseArray< const
AdResponseContext * > 
_responsesBranch
BaseArray< const
AdResponseContext * > 
_responsesGame
AdResponseBox_responseBox
AdInventoryBox_inventoryBox

Detailed Description

Definition at line 45 of file ad_game.h.


Constructor & Destructor Documentation

Wintermute::AdGame::AdGame ( const Common::String gameId  ) 

Definition at line 76 of file ad_game.cpp.

Wintermute::AdGame::~AdGame (  )  [override]

Definition at line 121 of file ad_game.cpp.


Member Function Documentation

bool Wintermute::AdGame::addBranchResponse ( int  ID  ) 

Definition at line 2004 of file ad_game.cpp.

bool Wintermute::AdGame::addGameResponse ( int  ID  ) 

Definition at line 2031 of file ad_game.cpp.

bool Wintermute::AdGame::addItem ( AdItem item  ) 

Definition at line 2220 of file ad_game.cpp.

bool Wintermute::AdGame::addObject ( AdObject object  ) 

Definition at line 238 of file ad_game.cpp.

void Wintermute::AdGame::addSentence ( AdSentence sentence  ) 

Definition at line 321 of file ad_game.cpp.

bool Wintermute::AdGame::addSpeechDir ( const char *  dir  ) 

Definition at line 2299 of file ad_game.cpp.

bool Wintermute::AdGame::branchResponseUsed ( int  ID  )  const

Definition at line 2017 of file ad_game.cpp.

bool Wintermute::AdGame::changeScene ( const char *  filename,
bool  fadeIn 
)

Definition at line 265 of file ad_game.cpp.

bool Wintermute::AdGame::cleanup (  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 127 of file ad_game.cpp.

bool Wintermute::AdGame::clearBranchResponses ( char *  name  ) 

Definition at line 1991 of file ad_game.cpp.

Common::String Wintermute::AdGame::debuggerToString (  )  const [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 2532 of file ad_game.cpp.

bool Wintermute::AdGame::deleteItem ( AdItem Item  ) 

Definition at line 2270 of file ad_game.cpp.

bool Wintermute::AdGame::displayContent ( bool  update = true,
bool  displayAll = false 
) [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 2086 of file ad_game.cpp.

bool Wintermute::AdGame::displayDebugInfo (  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 2510 of file ad_game.cpp.

bool Wintermute::AdGame::displaySentences ( bool  frozen  ) 

Definition at line 327 of file ad_game.cpp.

bool Wintermute::AdGame::endDlgBranch ( const char *  branchName,
const char *  scriptName,
const char *  eventName 
)

Definition at line 1938 of file ad_game.cpp.

bool Wintermute::AdGame::externalCall ( ScScript script,
ScStack stack,
ScStack thisStack,
char *  name 
) [override, private, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 1274 of file ad_game.cpp.

char * Wintermute::AdGame::findSpeechFile ( char *  StringID  ) 

Definition at line 2350 of file ad_game.cpp.

void Wintermute::AdGame::finishSentences (  ) 

Definition at line 340 of file ad_game.cpp.

bool Wintermute::AdGame::gameResponseUsed ( int  ID  )  const

Definition at line 2044 of file ad_game.cpp.

AdItem * Wintermute::AdGame::getItemByName ( const char *  name  )  const

Definition at line 2209 of file ad_game.cpp.

AdSceneState * Wintermute::AdGame::getSceneState ( const char *  filename,
bool  saving 
)

Definition at line 1810 of file ad_game.cpp.

bool Wintermute::AdGame::getVersion ( byte verMajor,
byte verMinor,
byte extMajor,
byte extMinor 
) const [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 1716 of file ad_game.cpp.

bool Wintermute::AdGame::handleCustomActionEnd ( BaseGameCustomAction  action  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 1710 of file ad_game.cpp.

bool Wintermute::AdGame::handleCustomActionStart ( BaseGameCustomAction  action  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 1603 of file ad_game.cpp.

bool Wintermute::AdGame::initLoop (  ) 

Reimplemented from Wintermute::BaseGame.

Definition at line 211 of file ad_game.cpp.

bool Wintermute::AdGame::isItemTaken ( char *  itemName  ) 

Definition at line 2195 of file ad_game.cpp.

TOKEN_DEF_START TOKEN_DEF_END bool Wintermute::AdGame::loadBuffer ( char *  buffer,
bool  complete = true 
) [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 1376 of file ad_game.cpp.

bool Wintermute::AdGame::loadFile ( const char *  filename  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 1339 of file ad_game.cpp.

bool Wintermute::AdGame::loadItemsBuffer ( char *  buffer,
bool  merge = false 
)

Definition at line 1755 of file ad_game.cpp.

bool Wintermute::AdGame::loadItemsFile ( const char *  filename,
bool  merge = false 
)

Definition at line 1731 of file ad_game.cpp.

bool Wintermute::AdGame::onMouseLeftDblClick (  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 2437 of file ad_game.cpp.

bool Wintermute::AdGame::onMouseLeftDown (  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 2378 of file ad_game.cpp.

bool Wintermute::AdGame::onMouseLeftUp (  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 2411 of file ad_game.cpp.

bool Wintermute::AdGame::onMouseRightDown (  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 2462 of file ad_game.cpp.

bool Wintermute::AdGame::onMouseRightUp (  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 2493 of file ad_game.cpp.

bool Wintermute::AdGame::onScriptShutdown ( ScScript script  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 2524 of file ad_game.cpp.

bool Wintermute::AdGame::registerInventory ( AdInventory inv  ) 

Definition at line 2170 of file ad_game.cpp.

bool Wintermute::AdGame::removeObject ( AdObject object  ) 

Definition at line 245 of file ad_game.cpp.

bool Wintermute::AdGame::removeSpeechDir ( const char *  dir  ) 

Definition at line 2323 of file ad_game.cpp.

bool Wintermute::AdGame::resetContent (  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 2227 of file ad_game.cpp.

bool Wintermute::AdGame::resetResponse ( int  ID  ) 

Definition at line 2059 of file ad_game.cpp.

bool Wintermute::AdGame::scCallMethod ( ScScript script,
ScStack stack,
ScStack thisStack,
const char *  name 
) [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 355 of file ad_game.cpp.

ScValue * Wintermute::AdGame::scGetProperty ( const Common::String name  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 954 of file ad_game.cpp.

bool Wintermute::AdGame::scheduleChangeScene ( const char *  filename,
bool  fadeIn 
)

Definition at line 1585 of file ad_game.cpp.

bool Wintermute::AdGame::scSetProperty ( const char *  name,
ScValue value 
) [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 1148 of file ad_game.cpp.

void Wintermute::AdGame::setPrevSceneFilename ( const char *  name  ) 

Definition at line 1572 of file ad_game.cpp.

void Wintermute::AdGame::setPrevSceneName ( const char *  name  ) 

Definition at line 1559 of file ad_game.cpp.

bool Wintermute::AdGame::showCursor (  )  [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 1312 of file ad_game.cpp.

bool Wintermute::AdGame::startDlgBranch ( const char *  branchName,
const char *  scriptName,
const char *  eventName 
)

Definition at line 1927 of file ad_game.cpp.

bool Wintermute::AdGame::unregisterInventory ( AdInventory inv  ) 

Definition at line 2183 of file ad_game.cpp.

bool Wintermute::AdGame::validMouse (  ) 

Definition at line 2370 of file ad_game.cpp.

bool Wintermute::AdGame::windowLoadHook ( UIWindow win,
char **  buf,
char **  params 
) [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 1868 of file ad_game.cpp.

bool Wintermute::AdGame::windowScriptMethodHook ( UIWindow win,
ScScript script,
ScStack stack,
const char *  name 
) [override, virtual]

Reimplemented from Wintermute::BaseGame.

Definition at line 1905 of file ad_game.cpp.


Member Data Documentation

Definition at line 154 of file ad_game.h.

Definition at line 164 of file ad_game.h.

Definition at line 156 of file ad_game.h.

Definition at line 149 of file ad_game.h.

Definition at line 170 of file ad_game.h.

Definition at line 148 of file ad_game.h.

Definition at line 159 of file ad_game.h.

Definition at line 65 of file ad_game.h.

Definition at line 153 of file ad_game.h.

Definition at line 152 of file ad_game.h.

Definition at line 169 of file ad_game.h.

Definition at line 166 of file ad_game.h.

Definition at line 167 of file ad_game.h.

Definition at line 126 of file ad_game.h.

Definition at line 163 of file ad_game.h.

Definition at line 151 of file ad_game.h.

Definition at line 150 of file ad_game.h.

Definition at line 112 of file ad_game.h.

Definition at line 161 of file ad_game.h.

Definition at line 157 of file ad_game.h.

Definition at line 158 of file ad_game.h.

Definition at line 155 of file ad_game.h.

Definition at line 66 of file ad_game.h.


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


Generated on Sat Sep 26 2020 05:04:10 for ResidualVM by doxygen 1.7.1
curved edge   curved edge