22 #ifndef BLADERUNNER_MOUSE_H 23 #define BLADERUNNER_MOUSE_H 25 #include "bladerunner/vector.h" 33 class BladeRunnerEngine;
45 uint32 _lastFrameTime;
48 int _randomCountdownX;
49 int _randomCountdownY;
53 uint16 _drawModeBitFlags;
59 void setCursor(
int cursor);
61 void getXY(
int *x,
int *y)
const;
62 void setMouseJitterUp();
63 void setMouseJitterDown();
66 void enable(
bool force =
false);
67 bool isDisabled()
const;
70 void updateCursorFrame();
72 void tick(
int x,
int y);
73 bool isRandomized()
const;
74 bool isInactive()
const;
76 Vector3 getXYZ(
int x,
int y)
const;
78 typedef enum mouseDrawFlags {
79 REDCROSSHAIRS = 0x0001,
80 YELLOWCROSSHAIRS = 0x0002,
81 BLUECROSSHAIRS = 0x0004,
83 ADDITIVE_MODE0 = 0x0010,
84 ADDITIVE_MODE1 = 0x0020,
Definition: formatinfo.h:28
Definition: bladerunner.h:113