aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/agi.h
diff options
context:
space:
mode:
authorMatthew Hoops2007-09-11 21:39:16 +0000
committerMatthew Hoops2007-09-11 21:39:16 +0000
commitf4414ac084f08ed4e1e8b2b4cbd649588ef33820 (patch)
tree190b85afd687f56cf7576e70d556304588b44f22 /engines/agi/agi.h
parentbe013e6c45c7547ac8c57d9061293eb5e82602e2 (diff)
downloadscummvm-rg350-f4414ac084f08ed4e1e8b2b4cbd649588ef33820.tar.gz
scummvm-rg350-f4414ac084f08ed4e1e8b2b4cbd649588ef33820.tar.bz2
scummvm-rg350-f4414ac084f08ed4e1e8b2b4cbd649588ef33820.zip
remove the rest of the PreAGI loader
svn-id: r28895
Diffstat (limited to 'engines/agi/agi.h')
-rw-r--r--engines/agi/agi.h32
1 files changed, 1 insertions, 31 deletions
diff --git a/engines/agi/agi.h b/engines/agi/agi.h
index 6a83670619..c9fd0d59a9 100644
--- a/engines/agi/agi.h
+++ b/engines/agi/agi.h
@@ -556,33 +556,6 @@ public:
virtual int getIntVersion() = 0;
};
-class AgiLoader_preagi : public AgiLoader {
-private:
- int _intVersion;
- PreAgiEngine *_vm;
-
- int loadDir(AgiDir *agid, Common::File *fp, uint32 offs, uint32 len);
- uint8 *loadVolRes(AgiDir *agid);
-
-public:
-
- AgiLoader_preagi(PreAgiEngine *vm) {
- _vm = vm;
- _intVersion = 0;
- }
-
- virtual int init();
- virtual int deinit();
- virtual int detectGame();
- virtual int loadResource(int, int);
- virtual int unloadResource(int, int);
- virtual int loadObjects(const char *);
- virtual int loadWords(const char *);
- virtual int version();
- virtual void setIntVersion(int);
- virtual int getIntVersion();
-};
-
class AgiLoader_v2 : public AgiLoader {
private:
int _intVersion;
@@ -677,7 +650,6 @@ public:
AgiDebug _debug;
AgiGame _game;
Common::RandomSource *_rnd;
- AgiLoader *_loader; /* loader */
virtual void agiTimerLow() = 0;
virtual int agiGetKeypressLow() = 0;
@@ -772,6 +744,7 @@ public:
GfxMgr *_gfx;
SoundMgr *_sound;
PictureMgr *_picture;
+ AgiLoader *_loader; /* loader */
void clearImageStack();
void recordImageStackCall(uint8 type, int16 p1, int16 p2, int16 p3,
@@ -974,9 +947,6 @@ public:
int agiGetKeypressLow() { return 0; }
int agiIsKeypressLow() { return 0; }
- int preAgiLoadResource(int r, int n);
- int preAgiUnloadResource(int r, int n);
-
PreAgiEngine(OSystem *syst);
virtual ~PreAgiEngine();
int getGameId() {