diff options
author | Paul Gilbert | 2016-07-30 12:15:28 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-30 12:15:28 -0400 |
commit | 1adebe83dc719699e0f32a238c5792a65847c76f (patch) | |
tree | a732ea173e09d6148d45f9f932650bcc3983323a /engines/titanic/true_talk/deskbot_script.h | |
parent | a97dd2cda9a3352d74b66e1c317fa3aa2369ffe7 (diff) | |
download | scummvm-rg350-1adebe83dc719699e0f32a238c5792a65847c76f.tar.gz scummvm-rg350-1adebe83dc719699e0f32a238c5792a65847c76f.tar.bz2 scummvm-rg350-1adebe83dc719699e0f32a238c5792a65847c76f.zip |
TITANIC: Added NPC randomResponse methods, reworked NPC data
Diffstat (limited to 'engines/titanic/true_talk/deskbot_script.h')
-rw-r--r-- | engines/titanic/true_talk/deskbot_script.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/deskbot_script.h b/engines/titanic/true_talk/deskbot_script.h index 7a09c28d76..02a1126481 100644 --- a/engines/titanic/true_talk/deskbot_script.h +++ b/engines/titanic/true_talk/deskbot_script.h @@ -99,7 +99,10 @@ public: */ virtual int doSentenceEntry(int val1, const int *srcIdP, TTroomScript *roomScript, TTsentence *sentence); - virtual int proc36(int val) const; + /** + * Handles a randomzied response + */ + virtual bool randomResponse(int index); /** * Returns true if dial 1 is the medium (1) region |