22 #ifndef VOYEUR_EVENTS_H 23 #define VOYEUR_EVENTS_H 25 #include "common/scummsys.h" 26 #include "common/list.h" 27 #include "graphics/surface.h" 28 #include "voyeur/files.h" 36 #define GAME_FRAME_RATE 50 37 #define GAME_FRAME_TIME (1000 / GAME_FRAME_RATE) 39 typedef void (EventsManager::*EventMethodPtr)();
43 EventMethodPtr _intFunc;
49 IntNode(uint16 curTime, uint16 timeReset, uint16 flags);
72 uint32 _priorFrameTime;
73 uint32 _recordBlinkCounter;
77 void mainVoyeurIntFunc();
78 void checkForNextFrameCounter();
85 void deleteIntNode(
IntNode *node);
90 void showMousePosition();
100 int _fadeFirstCol, _fadeLastCol;
104 bool _leftClick, _rightClick;
105 bool _mouseClicked, _newMouseClicked;
106 bool _newLeftClick, _newRightClick;
116 void startMainClockInt();
120 void delay(
int cycles);
121 void delayClick(
int cycles);
127 void setCursor(byte *cursorData,
int width,
int height,
int keyColor);
128 void setCursorColor(
int idx,
int mode);
132 uint32 getGameCounter()
const {
return _gameCounter; }
134 void startCursorBlink();
135 void incrementTime(
int amt);
Definition: animation.h:38