From 6691dfa408b05d2cb01fb879bc1b2466bf757738 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 30 Apr 2016 22:14:22 -0400 Subject: TITANIC: Implement PET Conversations dial logic --- engines/titanic/true_talk/tt_named_script.cpp | 2 +- engines/titanic/true_talk/tt_named_script.h | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/titanic/true_talk') 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; -- cgit v1.2.3