aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/console.h2
-rw-r--r--engines/sci/sci.h7
2 files changed, 6 insertions, 3 deletions
diff --git a/engines/sci/console.h b/engines/sci/console.h
index 6043f84df6..dd7294ac4f 100644
--- a/engines/sci/console.h
+++ b/engines/sci/console.h
@@ -32,6 +32,8 @@
namespace Sci {
+class SciEngine;
+
class Console : public GUI::Debugger {
public:
Console(SciEngine *vm);
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index a454b7e23f..48399611af 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -28,7 +28,8 @@
#include "engines/engine.h"
#include "engines/advancedDetector.h"
-#include "engines/advancedDetector.h"
+
+#include "sci/console.h"
namespace Sci {
@@ -68,8 +69,6 @@ struct SciGameDescription {
int version;
};
-class Console;
-
class SciEngine : public Engine {
public:
SciEngine(OSystem *syst, const SciGameDescription *desc);
@@ -78,6 +77,8 @@ public:
virtual Common::Error init(void);
virtual Common::Error go(void);
+ GUI::Debugger *getDebugger() { return _console; }
+
const char* getGameID() const;
int getVersion() const;
Common::Language getLanguage() const;