25 #include "common/scummsys.h" 26 #include "common/events.h" 27 #include "common/stack.h" 28 #include "mads/assets.h" 29 #include "mads/sprites.h" 33 enum CursorType { CURSOR_NONE = 0, CURSOR_ARROW = 1, CURSOR_WAIT = 2, CURSOR_GO_DOWN = 3,
34 CURSOR_GO_UP = 4, CURSOR_GO_LEFT = 5, CURSOR_GO_RIGHT = 6 };
36 #define GAME_FRAME_RATE 50 37 #define GAME_FRAME_TIME (1000 / GAME_FRAME_RATE) 51 uint32 _priorFrameTime;
63 CursorType _newCursorId;
67 bool _rightMousePressed;
93 void setCursor(CursorType cursorId);
98 void setCursor2(CursorType cursorId);
113 bool isCursorVisible();
148 void delay(
int amount);
153 void waitForNextFrame();
158 bool checkForNextFrameCounter();
Common::Point mousePos() const
Definition: events.h:138
uint32 getFrameCounter() const
Definition: events.h:163
void setEventTarget(EventTarget *target)
Definition: events.h:133
uint32 CustomEventType
Definition: events.h:193
bool isKeyPressed() const
Definition: events.h:175
bool isActionTriggered() const
Definition: events.h:180
Common::Point currentPos() const
Definition: events.h:143
Definition: keyboard.h:294
Common::KeyState getKey()
Definition: events.h:185
Common::CustomEventType getAction()
Definition: events.h:190