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)
39typedef void (EventsManager::*EventMethodPtr)();
43 EventMethodPtr _intFunc;
49 IntNode(uint16 curTime, uint16 timeReset, uint16 flags);
72 uint32 _priorFrameTime;
73 uint32 _recordBlinkCounter;
78 void mainVoyeurIntFunc();
79 void checkForNextFrameCounter();
86 void deleteIntNode(
IntNode *node);
91 void showMousePosition();
101 int _fadeFirstCol, _fadeLastCol;
105 bool _leftClick, _rightClick;
106 bool _mouseClicked, _newMouseClicked;
107 bool _newLeftClick, _newRightClick;
117 void startMainClockInt();
121 void delay(
int cycles);
122 void delayClick(
int cycles);
128 void setCursor(
byte *cursorData,
int width,
int height,
int keyColor);
129 void setCursorColor(
int idx,
int mode);
133 uint32 getGameCounter()
const {
return _gameCounter; }
135 void startCursorBlink();
136 void incrementTime(
int amt);
Definition: animation.h:38