aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/agi.h
diff options
context:
space:
mode:
authorEugene Sandulenko2007-09-18 16:20:44 +0000
committerEugene Sandulenko2007-09-18 16:20:44 +0000
commit13a73a70b6309323e5d5efc8f417c679e630ba9a (patch)
tree07bdb67e096b91629ae0c0f84ee24c26569e32d3 /engines/agi/agi.h
parent9b528826f89beb69caf7484719c64000d824c7ed (diff)
downloadscummvm-rg350-13a73a70b6309323e5d5efc8f417c679e630ba9a.tar.gz
scummvm-rg350-13a73a70b6309323e5d5efc8f417c679e630ba9a.tar.bz2
scummvm-rg350-13a73a70b6309323e5d5efc8f417c679e630ba9a.zip
WIP for Troll's Tale
svn-id: r28939
Diffstat (limited to 'engines/agi/agi.h')
-rw-r--r--engines/agi/agi.h63
1 files changed, 3 insertions, 60 deletions
diff --git a/engines/agi/agi.h b/engines/agi/agi.h
index c9fd0d59a9..dfe149de4f 100644
--- a/engines/agi/agi.h
+++ b/engines/agi/agi.h
@@ -103,9 +103,10 @@ enum AgiGameID {
GID_SQ1,
GID_SQ2,
GID_XMASCARD,
- GID_FANMADE, // TODO: Should this be extended to include all fanmade games?
+ GID_FANMADE,
GID_MICKEY, // PreAGI
- GID_WINNIE // PreAGI
+ GID_WINNIE, // PreAGI
+ GID_TROLL // PreAGI
};
} // End of namespace Agi
@@ -930,64 +931,6 @@ public:
char _predictiveResult[40];
};
-
-class PreAgiEngine : public AgiBase {
- int _gameId;
-
-protected:
- int init();
- int go();
- void shutdown();
- void initialize();
-
- bool initGame();
-
-public:
- void agiTimerLow() {}
- int agiGetKeypressLow() { return 0; }
- int agiIsKeypressLow() { return 0; }
-
- PreAgiEngine(OSystem *syst);
- virtual ~PreAgiEngine();
- int getGameId() {
- return _gameId;
- }
-
- GfxMgr *_gfx;
- SoundMgr *_sound;
- PictureMgr *_picture;
-
- void clearImageStack() {}
- void recordImageStackCall(uint8 type, int16 p1, int16 p2, int16 p3,
- int16 p4, int16 p5, int16 p6, int16 p7) {}
- void replayImageStackCall(uint8 type, int16 p1, int16 p2, int16 p3,
- int16 p4, int16 p5, int16 p6, int16 p7) {}
- void releaseImageStack() {}
-
- // Game
- Common::String getTargetName() { return _targetName; }
-
- // Screen
- void clearScreen(int attr);
-
- // Keyboard
- int getSelection(int type);
- bool waitAnyKeyChoice();
- int rnd(int hi) { return (_rnd->getRandomNumber(hi) + 1); }
-
- // Text
- void drawStr(int row, int col, int attr, const char *buffer);
- void drawStrMiddle(int row, int attr, const char *buffer);
- void clearTextArea();
- void clearRow(int row);
- void XOR80(char *buffer);
- void printStr(const char *szMsg);
- void printStrXOR(char *szMsg);
-
- // Saved Games
- Common::SaveFileManager* getSaveFileMan() { return _saveFileMan; }
-};
-
} // End of namespace Agi
#endif /* AGI_H */