diff options
author | Gregory Montoir | 2003-11-26 20:40:43 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-11-26 20:40:43 +0000 |
commit | 871c4f8342ed4063a18a5ed4cb1f2e8b78b9dee2 (patch) | |
tree | 5950ff38f2760c56bf2199573e6f483973eb7d4e /queen/logic.cpp | |
parent | a5d8cacdad4930a12e380ddaaf1b6a9108efae87 (diff) | |
download | scummvm-rg350-871c4f8342ed4063a18a5ed4cb1f2e8b78b9dee2.tar.gz scummvm-rg350-871c4f8342ed4063a18a5ed4cb1f2e8b78b9dee2.tar.bz2 scummvm-rg350-871c4f8342ed4063a18a5ed4cb1f2e8b78b9dee2.zip |
rename some methods (purely cosmetic) and fix some walking problems when closing Journal screen
svn-id: r11373
Diffstat (limited to 'queen/logic.cpp')
-rw-r--r-- | queen/logic.cpp | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index 5ce1995a65..7b20e4c593 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -1244,7 +1244,7 @@ void Logic::roomDisplay(const char *room, RoomDisplayMode mode, uint16 scale, in } // } if (pod != NULL) { - _walk->joeMove(0, pod->x, pod->y, inCutaway); + _walk->moveJoe(0, pod->x, pod->y, inCutaway); } } @@ -2556,15 +2556,26 @@ void Logic::useJournal() { Talk::speak("This is a demo, so I can't load or save games*14", NULL, "", _graphics, _input, this, _resource, _sound); } else { - // XXX (execute.c l.428-437 & queen.c l.350-365) + // XXX save some vars + // + // XXX tmpbamflag=bamflag; + // XXX bamflag=0; + // XXX in_journal=1; + + _cmd->clear(false); + Journal j(this, _graphics, _display, _sound, &_settings); j.use(); + + _walk->stopJoe(); + // XXX restore vars + // + // XXX in_journal=0; + // XXX bamflag=tmpbamflag; + // XXX TALKQUIT=CUTQUIT=0; Make sure that we turn off cut stuff in case we use Journal during cutaways - // _graphics->bob(0)->moving = false; - // joeWalk(JWM_EXECUTE); // make sure we exit Move_Joe() - // XXX _walk->stopJoe(); } } |