aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
diff options
context:
space:
mode:
authorMax Horn2008-09-01 17:50:00 +0000
committerMax Horn2008-09-01 17:50:00 +0000
commit7953312bc666a32ba274e4e2e1fc513a5e36762c (patch)
treefaf4727ddea916531d5a3e26903dfefa354c78f9 /engines/gob/gob.cpp
parenta41c681d9d722a4be3d5bdfc1db5d836b1fcbf00 (diff)
parent852bc9dbb750b9995d31e70f4158c97d3758c46f (diff)
downloadscummvm-rg350-7953312bc666a32ba274e4e2e1fc513a5e36762c.tar.gz
scummvm-rg350-7953312bc666a32ba274e4e2e1fc513a5e36762c.tar.bz2
scummvm-rg350-7953312bc666a32ba274e4e2e1fc513a5e36762c.zip
Merging more of the GSoC 2008 RTL branch: GOB
svn-id: r34245
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r--engines/gob/gob.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index 3bae48c679..8057402985 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -24,7 +24,6 @@
*/
#include "common/endian.h"
-#include "common/events.h"
#include "base/plugins.h"
#include "common/config-manager.h"
@@ -84,7 +83,6 @@ GobEngine::GobEngine(OSystem *syst) : Engine(syst) {
_mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, ConfMan.getInt("music_volume"));
_copyProtection = ConfMan.getBool("copy_protection");
- _quitRequested = false;
Common::addSpecialDebugLevel(kDebugFuncOp, "FuncOpcodes", "Script FuncOpcodes debug level");
Common::addSpecialDebugLevel(kDebugDrawOp, "DrawOpcodes", "Script DrawOpcodes debug level");
@@ -114,11 +112,7 @@ GobEngine::~GobEngine() {
int GobEngine::go() {
_init->initGame(0);
- return 0;
-}
-
-void GobEngine::shutdown() {
- _quitRequested = true;
+ return _eventMan->shouldRTL();
}
const char *GobEngine::getLangDesc(int16 language) const {