diff options
author | Max Horn | 2007-06-30 22:22:25 +0000 |
---|---|---|
committer | Max Horn | 2007-06-30 22:22:25 +0000 |
commit | 9027076e5d1f7dbf8677cd7f919bab77ef30461b (patch) | |
tree | b43d605de812bc987e200cec4cde009c7ed596d1 /engines/scumm/scumm.h | |
parent | f445d8c8004536d12b049ec189ea6dd218295c88 (diff) | |
download | scummvm-rg350-9027076e5d1f7dbf8677cd7f919bab77ef30461b.tar.gz scummvm-rg350-9027076e5d1f7dbf8677cd7f919bab77ef30461b.tar.bz2 scummvm-rg350-9027076e5d1f7dbf8677cd7f919bab77ef30461b.zip |
Split Engine::pauseEngine: It now does pauseLevel handling, while engines can provide a simpler pauseEngineIntern method; provided default implementation of the latter which simply (un)pauses the mixer
svn-id: r27801
Diffstat (limited to 'engines/scumm/scumm.h')
-rw-r--r-- | engines/scumm/scumm.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/scumm/scumm.h b/engines/scumm/scumm.h index 5c2249d198..4146846856 100644 --- a/engines/scumm/scumm.h +++ b/engines/scumm/scumm.h @@ -435,14 +435,6 @@ public: protected: VirtualMachineState vm; - /** - * The pause level, 0 means 'running', a positive value indicates - * how often the engine has been paused (and hence how often it has - * to be un-paused before it resumes running). This makes it possible - * to nest code which pauses the engine. - */ - int _pauseLevel; - bool _oldSoundsPaused; public: @@ -455,7 +447,7 @@ public: virtual int go(); virtual void errorString(const char *buf_input, char *buf_output); virtual GUI::Debugger *getDebugger(); - virtual void pauseEngine(bool pause); + virtual void pauseEngineIntern(bool pause); protected: virtual void setupScumm(); |