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/lure/game.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/lure/game.cpp') diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp index 479877f229..cf3d4ac125 100644 --- a/engines/lure/game.cpp +++ b/engines/lure/game.cpp @@ -151,7 +151,7 @@ void Game::execute() { bool initialRestart = true; - while (!engine.quit()) { + while (!engine.shouldQuit()) { if ((_state & GS_RESTART) != 0) { res.reset(); @@ -171,7 +171,7 @@ void Game::execute() { mouse.cursorOn(); // Main game loop - while (!engine.quit() && ((_state & GS_RESTART) == 0)) { + while (!engine.shouldQuit() && ((_state & GS_RESTART) == 0)) { // If time for next frame, allow everything to update if (system.getMillis() > timerVal + GAME_FRAME_DELAY) { timerVal = system.getMillis(); @@ -1025,7 +1025,7 @@ bool Game::getYN() { } g_system->delayMillis(10); - } while (!engine.quit() && !breakFlag); + } while (!engine.shouldQuit() && !breakFlag); screen.update(); if (!vKbdFlag) -- cgit v1.2.3