From 9b160804ab8878b55efb032fb62ee359ab97f848 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 30 Sep 2008 12:27:38 +0000 Subject: Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700 --- engines/saga/introproc_ihnm.cpp | 8 ++++---- engines/saga/saga.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/saga') diff --git a/engines/saga/introproc_ihnm.cpp b/engines/saga/introproc_ihnm.cpp index aaa428ca53..685cc5a961 100644 --- a/engines/saga/introproc_ihnm.cpp +++ b/engines/saga/introproc_ihnm.cpp @@ -59,11 +59,11 @@ int Scene::IHNMStartProc() { // Play Cyberdreams logo for 168 frames if (!playTitle(0, logoLength, true)) { - if (_vm->quit()) + if (_vm->shouldQuit()) return !SUCCESS; // Play Dreamers Guild logo for 10 seconds if (!playLoopingTitle(1, 10)) { - if (_vm->quit()) + if (_vm->shouldQuit()) return !SUCCESS; // Play the title music _vm->_music->play(1, MUSIC_NORMAL); @@ -74,7 +74,7 @@ int Scene::IHNMStartProc() { } else { _vm->_music->play(1, MUSIC_NORMAL); playTitle(0, 10); - if (_vm->quit()) + if (_vm->shouldQuit()) return !SUCCESS; playTitle(2, 12); } @@ -193,7 +193,7 @@ bool Scene::playTitle(int title, int time, int mode) { _vm->_gfx->getCurrentPal(pal_cut); - while (!done && !_vm->quit()) { + while (!done && !_vm->shouldQuit()) { curTime = _vm->_system->getMillis(); switch (phase) { diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp index 5ce5d6ab93..7904e60d1c 100644 --- a/engines/saga/saga.cpp +++ b/engines/saga/saga.cpp @@ -270,7 +270,7 @@ int SagaEngine::go() { uint32 currentTicks; - while (!quit()) { + while (!shouldQuit()) { if (_console->isAttached()) _console->onFrame(); -- cgit v1.2.3