diff options
author | Paul Gilbert | 2015-06-26 21:34:37 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-26 21:34:37 -0400 |
commit | 9eb168583fb1a6b2464cf856adc4888d6b396f35 (patch) | |
tree | 999467380f23415bf8c56ec49c954ebcc4aa2667 /engines/sherlock/journal.cpp | |
parent | 47a3080af2ec686957ee813a309fb7704bd31dd8 (diff) | |
download | scummvm-rg350-9eb168583fb1a6b2464cf856adc4888d6b396f35.tar.gz scummvm-rg350-9eb168583fb1a6b2464cf856adc4888d6b396f35.tar.bz2 scummvm-rg350-9eb168583fb1a6b2464cf856adc4888d6b396f35.zip |
SHERLOCK: Split FixedText into separate descendents for each game
Diffstat (limited to 'engines/sherlock/journal.cpp')
-rw-r--r-- | engines/sherlock/journal.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sherlock/journal.cpp b/engines/sherlock/journal.cpp index 77b63d1dfc..ec912af854 100644 --- a/engines/sherlock/journal.cpp +++ b/engines/sherlock/journal.cpp @@ -22,6 +22,7 @@ #include "sherlock/journal.h" #include "sherlock/scalpel/scalpel.h" +#include "sherlock/scalpel/scalpel_fixed_text.h" #include "sherlock/scalpel/scalpel_journal.h" #include "sherlock/tattoo/tattoo.h" #include "sherlock/tattoo/tattoo_journal.h" @@ -197,7 +198,7 @@ bool Journal::drawJournal(int direction, int howFar) { drawFrame(); } - Common::String fixedText_Page = fixedText.getText(kFixedText_Journal_Page); + Common::String fixedText_Page = IS_SERRATED_SCALPEL ? fixedText.getText(Scalpel::kFixedText_Journal_Page) : "TODO"; screen.gPrint(Common::Point(235, 21), COL_PEN_COLOR, fixedText_Page.c_str(), _page); |