aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/lol.h
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-13 15:55:12 +0000
committerJohannes Schickel2009-08-13 15:55:12 +0000
commit4afa6d18a4d08dcf903bb9a2973ed0b1123e1c6c (patch)
tree91575290d6fdcb0ff19c8459271b93ff61ae799e /engines/kyra/lol.h
parente9767a80ce6d41d762cc029a40b98a9850fe02bd (diff)
downloadscummvm-rg350-4afa6d18a4d08dcf903bb9a2973ed0b1123e1c6c.tar.gz
scummvm-rg350-4afa6d18a4d08dcf903bb9a2973ed0b1123e1c6c.tar.bz2
scummvm-rg350-4afa6d18a4d08dcf903bb9a2973ed0b1123e1c6c.zip
Implemented support for the "Lore of the Lands" special of Lands of Lore CD.
svn-id: r43349
Diffstat (limited to 'engines/kyra/lol.h')
-rw-r--r--engines/kyra/lol.h34
1 files changed, 30 insertions, 4 deletions
diff --git a/engines/kyra/lol.h b/engines/kyra/lol.h
index 06950779b1..1c89a7a1eb 100644
--- a/engines/kyra/lol.h
+++ b/engines/kyra/lol.h
@@ -301,6 +301,7 @@ friend class GUI_LoL;
friend class TextDisplayer_LoL;
friend class TIMInterpreter_LoL;
friend class Debugger_LoL;
+friend class HistoryPlayer;
public:
LoLEngine(OSystem *system, const GameFlags &flags);
~LoLEngine();
@@ -1124,14 +1125,14 @@ private:
uint16 _dmScaleH;
int _lastMouseRegion;
- int _seqWindowX1, _seqWindowY1, _seqWindowX2, _seqWindowY2, _seqTrigger;
- int _spsWindowX, _spsWindowY, _spsWindowW, _spsWindowH;
+ int _seqWindowX1, _seqWindowY1, _seqWindowX2, _seqWindowY2, _seqTrigger;
+ int _spsWindowX, _spsWindowY, _spsWindowW, _spsWindowH;
uint8 *_tempBuffer5120;
- const char *const * _levelDatList;
+ const char * const *_levelDatList;
int _levelDatListSize;
- const char *const * _levelShpList;
+ const char * const *_levelShpList;
int _levelShpListSize;
const int8 *_dscUnk1;
@@ -1476,6 +1477,31 @@ private:
LevelTempData *_lvlTempData[29];
};
+class HistoryPlayer {
+public:
+ HistoryPlayer(LoLEngine *vm);
+ ~HistoryPlayer();
+
+ void play();
+private:
+ OSystem *_system;
+ LoLEngine *_vm;
+ Screen *_screen;
+
+ int _x, _y, _width, _height;
+ int _frame;
+ Movie *_wsa;
+
+ void loadWsa(const char *filename);
+ void playWsa(bool direction);
+ void restoreWsaBkgd();
+
+ Movie *_fireWsa;
+ int _fireFrame;
+ uint32 _nextFireTime;
+ void updateFire();
+};
+
} // end of namespace Kyra
#endif