diff options
-rw-r--r-- | engines/zvision/zvision.cpp | 10 | ||||
-rw-r--r-- | engines/zvision/zvision.h | 14 |
2 files changed, 24 insertions, 0 deletions
diff --git a/engines/zvision/zvision.cpp b/engines/zvision/zvision.cpp index 5f4924d7cf..03103553cc 100644 --- a/engines/zvision/zvision.cpp +++ b/engines/zvision/zvision.cpp @@ -345,6 +345,16 @@ bool ZVision::canRender() { return _frameRenderDelay <= 0; } +GUI::Debugger *ZVision::getDebugger() { + return _console; +} + +void ZVision::syncSoundSettings() { + Engine::syncSoundSettings(); + + _scriptManager->setStateValue(StateKey_Subtitles, ConfMan.getBool("subtitles") ? 1 : 0); +} + void ZVision::fpsTimerCallback(void *refCon) { ((ZVision *)refCon)->fpsTimer(); } diff --git a/engines/zvision/zvision.h b/engines/zvision/zvision.h index 5482060cd0..ad22ddaaa2 100644 --- a/engines/zvision/zvision.h +++ b/engines/zvision/zvision.h @@ -41,6 +41,17 @@ namespace Video { class VideoDecoder; } +/** + * This is the namespace of the ZVision engine. + * + * Status of this engine: complete + * + * Games using this engine: + * - Zork Nemesis: The Forbidden Lands + * - Zork: Grand Inquisitor + * + */ + namespace ZVision { struct ZVisionGameDescription; @@ -205,6 +216,9 @@ public: return _fps; } + GUI::Debugger *getDebugger(); + void syncSoundSettings(); + void loadSettings(); void saveSettings(); |