1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

Add structs/addresses for mouse buffer functions

This commit is contained in:
Jackson Davis
2014-08-29 08:45:10 +01:00
parent a2324a278d
commit 57a2bc02fe
4 changed files with 39 additions and 36 deletions

View File

@@ -66,6 +66,12 @@ typedef struct {
int old;
} openrct2_cursor;
typedef struct {
int x, y;
int state; //0 = ? 1 = LeftDown 2 = LeftUp 3 = RightDown 4 = RightUp
} openrct2_mouse_data;
extern openrct2_mouse_data* mouse_buffer;
extern openrct2_cursor gCursorState;
extern const unsigned char *gKeysState;
extern unsigned char *gKeysPressed;