diff options
author | Paul Gilbert | 2015-08-20 20:13:31 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-20 20:13:31 -0400 |
commit | dff033fc7d4902952edb67164afbd907e055d234 (patch) | |
tree | 528d364347d1c842ff76663251182a9f43f72acf /engines/sherlock/scalpel | |
parent | 22bb8e2f57138a7acfde61fc3cd806bafd10222b (diff) | |
download | scummvm-rg350-dff033fc7d4902952edb67164afbd907e055d234.tar.gz scummvm-rg350-dff033fc7d4902952edb67164afbd907e055d234.tar.bz2 scummvm-rg350-dff033fc7d4902952edb67164afbd907e055d234.zip |
SHERLOCK: RT: Don't record journal entries during Watson's prologue
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_journal.cpp | 6 | ||||
-rw-r--r-- | engines/sherlock/scalpel/scalpel_journal.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/engines/sherlock/scalpel/scalpel_journal.cpp b/engines/sherlock/scalpel/scalpel_journal.cpp index e54f1bc490..787d899aee 100644 --- a/engines/sherlock/scalpel/scalpel_journal.cpp +++ b/engines/sherlock/scalpel/scalpel_journal.cpp @@ -625,6 +625,12 @@ void ScalpelJournal::resetPosition() { _page = 1; } +void ScalpelJournal::record(int converseNum, int statementNum, bool replyOnly) { + // there seems to be no journal in the 3DO version + if (!IS_3DO) + Journal::record(converseNum, statementNum, replyOnly); +} + } // End of namespace Scalpel } // End of namespace Sherlock diff --git a/engines/sherlock/scalpel/scalpel_journal.h b/engines/sherlock/scalpel/scalpel_journal.h index a154796df5..c8e9c01739 100644 --- a/engines/sherlock/scalpel/scalpel_journal.h +++ b/engines/sherlock/scalpel/scalpel_journal.h @@ -84,6 +84,12 @@ public: * Reset viewing position to the start of the journal */ virtual void resetPosition(); + + /** + * Records statements that are said, in the order which they are said. The player + * can then read the journal to review them + */ + virtual void record(int converseNum, int statementNum, bool replyOnly = false); }; } // End of namespace Scalpel |