diff options
author | Filippos Karapetis | 2009-01-20 23:40:35 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-01-20 23:40:35 +0000 |
commit | 7273d025288ee15df3c852999ec6a1f5a75dc246 (patch) | |
tree | 57b3feb779a620f3627d806edae2096db36bbc0e | |
parent | 299736c9e11dfb84d84ba942e7b9982acc02cb14 (diff) | |
download | scummvm-rg350-7273d025288ee15df3c852999ec6a1f5a75dc246.tar.gz scummvm-rg350-7273d025288ee15df3c852999ec6a1f5a75dc246.tar.bz2 scummvm-rg350-7273d025288ee15df3c852999ec6a1f5a75dc246.zip |
Implemented getDebugger()
svn-id: r35967
-rw-r--r-- | engines/saga/saga.cpp | 4 | ||||
-rw-r--r-- | engines/saga/saga.h | 15 |
2 files changed, 12 insertions, 7 deletions
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp index 2195a50998..772620e710 100644 --- a/engines/saga/saga.cpp +++ b/engines/saga/saga.cpp @@ -570,6 +570,10 @@ int SagaEngine::getTalkspeed() { return (ConfMan.getInt("talkspeed") * 3 + 255 / 2) / 255; } +GUI::Debugger *SagaEngine::getDebugger() { + return _console; +} + void SagaEngine::syncSoundSettings() { _subtitlesEnabled = ConfMan.getBool("subtitles"); _readingSpeed = getTalkspeed(); diff --git a/engines/saga/saga.h b/engines/saga/saga.h index e88e4c5e27..f323e9617d 100644 --- a/engines/saga/saga.h +++ b/engines/saga/saga.h @@ -445,15 +445,16 @@ class SagaEngine : public Engine { public: // Engine APIs - virtual Common::Error init(); - virtual Common::Error go(); - virtual bool hasFeature(EngineFeature f) const; - virtual void syncSoundSettings(); - virtual void pauseEngineIntern(bool pause); + Common::Error init(); + Common::Error go(); + bool hasFeature(EngineFeature f) const; + void syncSoundSettings(); + void pauseEngineIntern(bool pause); + + GUI::Debugger *getDebugger(); -public: SagaEngine(OSystem *syst, const SAGAGameDescription *gameDesc); - virtual ~SagaEngine(); + ~SagaEngine(); void save(const char *fileName, const char *saveName); void load(const char *fileName); |