diff options
Diffstat (limited to 'engines/titanic/true_talk/true_talk_manager.h')
-rw-r--r-- | engines/titanic/true_talk/true_talk_manager.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/engines/titanic/true_talk/true_talk_manager.h b/engines/titanic/true_talk/true_talk_manager.h index 5507cf2a4c..a7258c587f 100644 --- a/engines/titanic/true_talk/true_talk_manager.h +++ b/engines/titanic/true_talk/true_talk_manager.h @@ -24,6 +24,7 @@ #define TITANIC_TRUE_TALK_MANAGER_H #include "titanic/support/simple_file.h" +#include "titanic/true_talk/dialogue_file.h" #include "titanic/true_talk/title_engine.h" #include "titanic/true_talk/tt_scripts.h" @@ -39,6 +40,8 @@ private: CTitleEngine _titleEngine; TTScripts _scripts; int _currentCharId; + CDialogueFile *_dialogueFile; + int _field14; private: /** * Loads the statics for the class @@ -69,6 +72,11 @@ private: * Gets the script associated with the current room */ TTRoomScript *getRoomScript() const; + + /** + * Loads assets for the current character, if it's changed + */ + void loadAssets(CTrueTalkNPC *npc, int charId); public: static int _v1; static int _v2; @@ -85,6 +93,7 @@ public: static void setFlags(int index, int val); public: CTrueTalkManager(CGameManager *owner); + ~CTrueTalkManager(); /** * Save the data for the class to file @@ -97,6 +106,11 @@ public: void load(SimpleFile *file); /** + * Clear the manager + */ + void clear(); + + /** * Called when a game is about to be loaded */ void preLoad(); @@ -117,11 +131,6 @@ public: void postSave() {} /** - * Called when the view changes - */ - void viewChange(); - - /** * Returns the scripts for the manager */ TTScripts &getScripts() { return _scripts; } |