diff options
author | Paul Gilbert | 2016-04-30 22:14:22 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:37:53 -0400 |
commit | 6691dfa408b05d2cb01fb879bc1b2466bf757738 (patch) | |
tree | e6cf169f00310c4e2dbcb976dd79c4ef597568bc /engines/titanic/true_talk | |
parent | 2a107eb540d2058ee105b8a362d9288c1e463bfe (diff) | |
download | scummvm-rg350-6691dfa408b05d2cb01fb879bc1b2466bf757738.tar.gz scummvm-rg350-6691dfa408b05d2cb01fb879bc1b2466bf757738.tar.bz2 scummvm-rg350-6691dfa408b05d2cb01fb879bc1b2466bf757738.zip |
TITANIC: Implement PET Conversations dial logic
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/tt_named_script.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/true_talk/tt_named_script.h | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/tt_named_script.cpp b/engines/titanic/true_talk/tt_named_script.cpp index 7f4bb5b201..9d253206e2 100644 --- a/engines/titanic/true_talk/tt_named_script.cpp +++ b/engines/titanic/true_talk/tt_named_script.cpp @@ -218,7 +218,7 @@ int TTNamedScript::proc34() { return 0; } -int TTNamedScript::proc35(int v1, int v2) { +int TTNamedScript::getDialLevel(uint dialNum, bool flag) { warning("TODO"); return 0; } diff --git a/engines/titanic/true_talk/tt_named_script.h b/engines/titanic/true_talk/tt_named_script.h index ec5c35c843..8174f64c53 100644 --- a/engines/titanic/true_talk/tt_named_script.h +++ b/engines/titanic/true_talk/tt_named_script.h @@ -103,7 +103,12 @@ public: virtual void proc32(); virtual void proc33(int v1, int v2); virtual int proc34(); - virtual int proc35(int v1, int v2); + + /** + * Get the NPC's dial level + */ + virtual int getDialLevel(uint dialNum, bool flag = true); + virtual int proc36() const; virtual int proc37() const; |