summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-09-29 21:42:08 +0200
committerGitHub <noreply@github.com>2020-09-29 21:42:08 +0200
commit1fa852f118b7bce6681b32cf590870945d72f72a (patch)
treea5daa0fa61395b04de2d4fa28d9fc42f6dd560b4 /src/core/Pad.h
parentMerge pull request #717 from theR4K/miami (diff)
parentMerge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff)
downloadre3-1fa852f118b7bce6681b32cf590870945d72f72a.tar
re3-1fa852f118b7bce6681b32cf590870945d72f72a.tar.gz
re3-1fa852f118b7bce6681b32cf590870945d72f72a.tar.bz2
re3-1fa852f118b7bce6681b32cf590870945d72f72a.tar.lz
re3-1fa852f118b7bce6681b32cf590870945d72f72a.tar.xz
re3-1fa852f118b7bce6681b32cf590870945d72f72a.tar.zst
re3-1fa852f118b7bce6681b32cf590870945d72f72a.zip
Diffstat (limited to 'src/core/Pad.h')
-rw-r--r--src/core/Pad.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/Pad.h b/src/core/Pad.h
index 72851317..cde2d3c5 100644
--- a/src/core/Pad.h
+++ b/src/core/Pad.h
@@ -286,6 +286,8 @@ public:
bool GetMiddleMouseJustUp() { return !!(!NewMouseControllerState.MMB && OldMouseControllerState.MMB); }
bool GetMouseWheelUpJustUp() { return !!(!NewMouseControllerState.WHEELUP && OldMouseControllerState.WHEELUP); }
bool GetMouseWheelDownJustUp() { return !!(!NewMouseControllerState.WHEELDN && OldMouseControllerState.WHEELDN); }
+ bool GetMouseX1JustUp() { return !!(!NewMouseControllerState.MXB1 && OldMouseControllerState.MXB1); }
+ bool GetMouseX2JustUp() { return !!(!NewMouseControllerState.MXB2 && OldMouseControllerState.MXB2); }
bool GetLeftMouse() { return NewMouseControllerState.LMB; }
bool GetRightMouse() { return NewMouseControllerState.RMB; }
@@ -469,8 +471,4 @@ public:
};
VALIDATE_SIZE(CPad, 0xFC);
-extern CPad Pads[MAX_PADS];
-
-#ifdef ALLCARSHELI_CHEAT
-extern bool bAllCarCheat;
-#endif
+extern CPad Pads[MAX_PADS]; \ No newline at end of file