aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/events.h
diff options
context:
space:
mode:
authorPaul Gilbert2013-06-08 15:41:22 -0400
committerPaul Gilbert2013-06-08 15:41:22 -0400
commit11a4fef956dc955c44fc323bdb28580bcb8888e5 (patch)
tree4eef32a6212e827e2eaa992a6b37a6d50c5d164b /engines/voyeur/events.h
parent3780d9abecdb769f85129d63194df77aab364f21 (diff)
downloadscummvm-rg350-11a4fef956dc955c44fc323bdb28580bcb8888e5.tar.gz
scummvm-rg350-11a4fef956dc955c44fc323bdb28580bcb8888e5.tar.bz2
scummvm-rg350-11a4fef956dc955c44fc323bdb28580bcb8888e5.zip
VOYEUR: Some further work implementing fading
Diffstat (limited to 'engines/voyeur/events.h')
-rw-r--r--engines/voyeur/events.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/voyeur/events.h b/engines/voyeur/events.h
index 1b47109c5c..22626cd003 100644
--- a/engines/voyeur/events.h
+++ b/engines/voyeur/events.h
@@ -24,6 +24,7 @@
#define VOYEUR_EVENTS_H
#include "common/scummsys.h"
+#include "common/list.h"
#include "voyeur/game.h"
namespace Voyeur {
@@ -40,11 +41,12 @@ typedef void (EventsManager::*EventMethodPtr)();
class IntNode {
public:
EventMethodPtr _intFunc;
- uint32 _curTime;
- uint32 _timeReset;
+ uint16 _curTime;
+ uint16 _timeReset;
uint32 _flags;
public:
IntNode();
+ IntNode(uint16 curTime, uint16 timeReset, uint16 flags);
};
class EventsManager {
@@ -59,14 +61,16 @@ private:
void mainVoyeurIntFunc();
private:
void checkForNextFrameCounter();
+ void voyeurTimer();
void videoTimer();
void vDoFadeInt();
void vDoCycleInt();
void fadeIntFunc();
public:
- IntData _audioStruc;
+ IntData _gameData;
IntData &_intPtr;
IntNode _fadeIntNode;
+ IntNode _fade2IntNode;
IntNode _cycleIntNode;
IntNode _evintnode;
IntNode _mainIntNode;