aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2008-09-02 14:36:47 +0000
committerJohannes Schickel2008-09-02 14:36:47 +0000
commitced14e186eaf41a78b5390645b1043b9fcea9cbe (patch)
treeb37dc45c6a99284319f661e90e4b75a526c1c403 /engines
parent34d43e3319ad814e2890098a1e676d2936cae2b7 (diff)
downloadscummvm-rg350-ced14e186eaf41a78b5390645b1043b9fcea9cbe.tar.gz
scummvm-rg350-ced14e186eaf41a78b5390645b1043b9fcea9cbe.tar.bz2
scummvm-rg350-ced14e186eaf41a78b5390645b1043b9fcea9cbe.zip
Cleanup: Remove now unneeded KyraEngine_v1::quitGame.
Peres proposal for this commit log was: 'fixing .... as peres pointed out in his very interesting mail on -devel that everybody should read'. svn-id: r34282
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/kyra_v1.cpp9
-rw-r--r--engines/kyra/kyra_v1.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/engines/kyra/kyra_v1.cpp b/engines/kyra/kyra_v1.cpp
index f3014911fc..95f775d78b 100644
--- a/engines/kyra/kyra_v1.cpp
+++ b/engines/kyra/kyra_v1.cpp
@@ -198,15 +198,6 @@ KyraEngine_v1::~KyraEngine_v1() {
delete _debugger;
}
-void KyraEngine_v1::quitGame() {
- debugC(9, kDebugLevelMain, "KyraEngine_v1::quitGame()");
- Common::Event event;
-
- event.type = Common::EVENT_QUIT;
- _eventMan->pushEvent(event);
- // Nothing to do here
-}
-
Common::Point KyraEngine_v1::getMousePos() const {
Common::Point mouse = _eventMan->getMousePos();
diff --git a/engines/kyra/kyra_v1.h b/engines/kyra/kyra_v1.h
index 761724fa2f..81871615e8 100644
--- a/engines/kyra/kyra_v1.h
+++ b/engines/kyra/kyra_v1.h
@@ -151,9 +151,6 @@ public:
void setVolume(kVolumeEntry vol, uint8 value);
uint8 getVolume(kVolumeEntry vol);
- // quit handling
- virtual void quitGame();
-
// game flag handling
int setGameFlag(int flag);
int queryGameFlag(int flag) const;