diff options
author | erorcun <erayorcunus@gmail.com> | 2020-09-29 21:42:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 21:42:08 +0200 |
commit | 1fa852f118b7bce6681b32cf590870945d72f72a (patch) | |
tree | a5daa0fa61395b04de2d4fa28d9fc42f6dd560b4 /src/core/Pad.h | |
parent | Merge pull request #717 from theR4K/miami (diff) | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff) | |
download | re3-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.h | 8 |
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 |