22 #ifndef SHERLOCK_JOURNAL_H 23 #define SHERLOCK_JOURNAL_H 25 #include "common/scummsys.h" 26 #include "common/array.h" 27 #include "common/rect.h" 28 #include "common/str-array.h" 29 #include "common/stream.h" 30 #include "sherlock/saveload.h" 34 #define LINES_PER_PAGE (IS_SERRATED_SCALPEL ? 11 : 17) 35 #define JOURNAL_MAX_WIDTH (IS_SERRATED_SCALPEL ? 230 : 422) 36 #define JOURNAL_MAX_CHARS 80 45 JournalEntry() : _converseNum(0), _replyOnly(
false), _statementNum(0) {}
46 JournalEntry(
int converseNum,
int statementNum,
bool replyOnly =
false) :
47 _converseNum(converseNum), _statementNum(statementNum), _replyOnly(replyOnly) {}
72 void loadJournalFile(
bool alreadyLoaded);
77 bool isPrintable(byte ch)
const;
85 bool drawJournal(
int direction,
int howFar);
95 virtual void drawFrame() = 0;
106 virtual void record(
int converseNum,
int statementNum,
bool replyOnly =
false);
Definition: animation.h:29
Definition: serializer.h:79
Definition: sherlock.h:76
virtual void resetPosition()
Definition: journal.h:100