aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/true_talk_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/true_talk_manager.h')
-rw-r--r--engines/titanic/true_talk/true_talk_manager.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/true_talk_manager.h b/engines/titanic/true_talk/true_talk_manager.h
index 5d5f67958d..ae740cb9f1 100644
--- a/engines/titanic/true_talk/true_talk_manager.h
+++ b/engines/titanic/true_talk/true_talk_manager.h
@@ -62,7 +62,12 @@ private:
/**
* Gets the script associated with an NPC game object
*/
- TTNamedScript *getNpcScript(CGameObject *npc);
+ TTNamedScript *getNpcScript(CGameObject *npc) const;
+
+ /**
+ * Gets the script associated with the current room
+ */
+ TTUnnamedScript *getRoomScript() const;
public:
static int _v1;
static int _v2;
@@ -129,7 +134,7 @@ public:
/**
* Return a TrueTalk talker/script
*/
- TTNamedScript *getTalker(const CString &name);
+ TTNamedScript *getTalker(const CString &name) const;
};
} // End of namespace Titanic