aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/liftbot_script.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-07-31 21:00:57 -0400
committerPaul Gilbert2016-07-31 21:00:57 -0400
commit0192f83c5e192ac9df1d15f68e55b83ef6ec06f6 (patch)
tree52dbe63561d7163d59df77dc92328d0d88d2d19f /engines/titanic/true_talk/liftbot_script.h
parent320985b0c541b13af82c95cc0095ab2142285f84 (diff)
downloadscummvm-rg350-0192f83c5e192ac9df1d15f68e55b83ef6ec06f6.tar.gz
scummvm-rg350-0192f83c5e192ac9df1d15f68e55b83ef6ec06f6.tar.bz2
scummvm-rg350-0192f83c5e192ac9df1d15f68e55b83ef6ec06f6.zip
TITANIC: Added LiftbotScript methods
Diffstat (limited to 'engines/titanic/true_talk/liftbot_script.h')
-rw-r--r--engines/titanic/true_talk/liftbot_script.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/liftbot_script.h b/engines/titanic/true_talk/liftbot_script.h
index d2f5a3019b..0a9cdfd6f0 100644
--- a/engines/titanic/true_talk/liftbot_script.h
+++ b/engines/titanic/true_talk/liftbot_script.h
@@ -39,7 +39,12 @@ private:
int addResponse1(int mode, bool flag, int id);
int sentence1(const TTsentence *sentence);
- int getState5() const;
+
+ /**
+ * Gets the current floor
+ */
+ int getCurrentFloor() const;
+
int getState6() const;
/**
@@ -60,7 +65,10 @@ public:
*/
virtual int process(const TTroomScript *roomScript, const TTsentence *sentence);
- virtual int proc9() const;
+ /**
+ * Called when the script/id changes
+ */
+ virtual ScriptChangedResult scriptChanged(uint id);
/**
* Called when the script/id changes