diff options
author | Walter van Niftrik | 2016-03-26 23:26:22 +0100 |
---|---|---|
committer | Walter van Niftrik | 2016-06-06 20:35:49 +0200 |
commit | 367cb511d153c6d4733a65b153506b7f0e8b01b3 (patch) | |
tree | 0b5a4672b1947fb1344bc3f197a49778cb5c14c2 /engines/adl/adl.h | |
parent | 760d5ac733ce41a5d4a3f861234850dcc4e96c38 (diff) | |
download | scummvm-rg350-367cb511d153c6d4733a65b153506b7f0e8b01b3.tar.gz scummvm-rg350-367cb511d153c6d4733a65b153506b7f0e8b01b3.tar.bz2 scummvm-rg350-367cb511d153c6d4733a65b153506b7f0e8b01b3.zip |
ADL: Add Console
Diffstat (limited to 'engines/adl/adl.h')
-rw-r--r-- | engines/adl/adl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/adl/adl.h b/engines/adl/adl.h index 4751ed6e91..d9fc5908b4 100644 --- a/engines/adl/adl.h +++ b/engines/adl/adl.h @@ -35,6 +35,7 @@ #include "audio/mixer.h" #include "audio/softsynth/pcspk.h" +#include "adl/console.h" #include "adl/disk.h" namespace Common { @@ -46,6 +47,7 @@ struct Event; namespace Adl { +class Console; class Display; class GraphicsMan; class Speaker; @@ -172,7 +174,7 @@ class AdlEngine : public Engine { public: virtual ~AdlEngine(); - static bool pollEvent(Common::Event &event); + bool pollEvent(Common::Event &event) const; protected: AdlEngine(OSystem *syst, const AdlGameDescription *gd); @@ -320,6 +322,8 @@ private: Common::String getWord(const Common::String &line, uint &index) const; void getInput(uint &verb, uint &noun); + Console *_console; + GUI::Debugger *getDebugger() { return _console; } const AdlGameDescription *_gameDescription; byte _saveVerb, _saveNoun, _restoreVerb, _restoreNoun; bool _canSaveNow, _canRestoreNow; |