diff options
author | Paul Gilbert | 2012-04-26 09:43:55 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-04-26 09:43:55 +1000 |
commit | 637be83cf5b129b7e55de97c5988f4dfa3c397bf (patch) | |
tree | 443c82a480ed224aa256eb965a3c04ee2ccca4be /engines/tony/tony.h | |
parent | 7003d4996a926d912816f19c3afd634e17cef095 (diff) | |
download | scummvm-rg350-637be83cf5b129b7e55de97c5988f4dfa3c397bf.tar.gz scummvm-rg350-637be83cf5b129b7e55de97c5988f4dfa3c397bf.tar.bz2 scummvm-rg350-637be83cf5b129b7e55de97c5988f4dfa3c397bf.zip |
TONY: Start of work converting over MPAL sub-system
Diffstat (limited to 'engines/tony/tony.h')
-rw-r--r-- | engines/tony/tony.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/engines/tony/tony.h b/engines/tony/tony.h index 5aa0de95a3..cfb6748716 100644 --- a/engines/tony/tony.h +++ b/engines/tony/tony.h @@ -26,11 +26,12 @@ #include "common/scummsys.h" #include "common/system.h" #include "common/error.h" -#include "common/events.h" -#include "common/keyboard.h" +#include "common/random.h" #include "common/util.h" #include "engines/engine.h" +#include "tony/mpal.h" + /** * This is the namespace of the Tony engine. * @@ -41,6 +42,8 @@ */ namespace Tony { +using namespace MPAL; + enum { kTonyDebugAnimations = 1 << 0, kTonyDebugActions = 1 << 1, @@ -55,11 +58,16 @@ enum { struct TonyGameDescription; class TonyEngine : public Engine { +private: + Common::ErrorCode Init(); protected: // Engine APIs virtual Common::Error run(); virtual bool hasFeature(EngineFeature f) const; public: + LPCUSTOMFUNCTION FuncList[300]; + Common::RandomSource _randomSource; +public: TonyEngine(OSystem *syst, const TonyGameDescription *gameDesc); virtual ~TonyEngine(); @@ -70,6 +78,8 @@ public: uint16 getVersion() const; uint32 getFlags() const; Common::Platform getPlatform() const; + + void GUIError(const Common::String &msg); }; // Global reference to the TonyEngine object |