diff options
author | Matthew Hoops | 2007-09-06 10:48:00 +0000 |
---|---|---|
committer | Matthew Hoops | 2007-09-06 10:48:00 +0000 |
commit | cea837ef7d5d772d9f1785fd87a07780e527edb3 (patch) | |
tree | d3ee0f85ce3a4ee3927ee00652727dc41c346a1b /engines/agi/agi.h | |
parent | f8a9c41a8cae10d372814d2944d03b5a4cd70bb3 (diff) | |
download | scummvm-rg350-cea837ef7d5d772d9f1785fd87a07780e527edb3.tar.gz scummvm-rg350-cea837ef7d5d772d9f1785fd87a07780e527edb3.tar.bz2 scummvm-rg350-cea837ef7d5d772d9f1785fd87a07780e527edb3.zip |
WIP Winnie the Pooh code (PreAGI). Shows only the intro currently
svn-id: r28865
Diffstat (limited to 'engines/agi/agi.h')
-rw-r--r-- | engines/agi/agi.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/engines/agi/agi.h b/engines/agi/agi.h index 3c01b9a3f0..b30c9ed2dd 100644 --- a/engines/agi/agi.h +++ b/engines/agi/agi.h @@ -104,7 +104,8 @@ enum AgiGameID { GID_SQ2, GID_XMASCARD, GID_FANMADE, // TODO: Should this be extended to include all fanmade games? - GID_MICKEY // PreAGI + GID_MICKEY, // PreAGI + GID_WINNIE // PreAGI }; } // End of namespace Agi @@ -547,6 +548,7 @@ public: virtual int deinit() = 0; virtual int detectGame() = 0; virtual int loadResource(int, int) = 0; + virtual int loadResource(int, const char*) = 0; virtual int unloadResource(int, int) = 0; virtual int loadObjects(const char *) = 0; virtual int loadWords(const char *) = 0; @@ -574,6 +576,7 @@ public: virtual int deinit(); virtual int detectGame(); virtual int loadResource(int, int); + virtual int loadResource(int, const char*); virtual int unloadResource(int, int); virtual int loadObjects(const char *); virtual int loadWords(const char *); @@ -601,6 +604,7 @@ public: virtual int deinit(); virtual int detectGame(); virtual int loadResource(int, int); + virtual int loadResource(int, const char*) { return 0; } virtual int unloadResource(int, int); virtual int loadObjects(const char *); virtual int loadWords(const char *); @@ -628,6 +632,7 @@ public: virtual int deinit(); virtual int detectGame(); virtual int loadResource(int, int); + virtual int loadResource(int, const char*) { return 0; } virtual int unloadResource(int, int); virtual int loadObjects(const char *); virtual int loadWords(const char *); @@ -675,8 +680,8 @@ public: volatile uint32 _clockCount; AgiDebug _debug; AgiGame _game; - AgiLoader *_loader; /* loader */ Common::RandomSource *_rnd; + AgiLoader *_loader; /* loader */ virtual void agiTimerLow() = 0; virtual int agiGetKeypressLow() = 0; @@ -974,6 +979,7 @@ public: int agiIsKeypressLow() { return 0; } int preAgiLoadResource(int r, int n); + int preAgiLoadResource(int r, const char* n); int preAgiUnloadResource(int r, int n); PreAgiEngine(OSystem *syst); @@ -982,9 +988,6 @@ public: return _gameId; } -private: - -public: GfxMgr *_gfx; SoundMgr *_sound; PictureMgr *_picture; |