summaryrefslogtreecommitdiffstats
path: root/src/ControllerConfig.h
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2019-06-17 12:37:59 +0200
committerGitHub <noreply@github.com>2019-06-17 12:37:59 +0200
commit0bb8bf9d1505792a0fd4f9872fd57fca8f197d13 (patch)
treecc2c85e0ccf486546de22074639d0e8fbe032f65 /src/ControllerConfig.h
parentMerge pull request #7 from GTAmodding/master (diff)
parentMerge pull request #20 from gennariarmando/master (diff)
downloadre3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar.gz
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar.bz2
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar.lz
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar.xz
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar.zst
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.zip
Diffstat (limited to 'src/ControllerConfig.h')
-rw-r--r--src/ControllerConfig.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ControllerConfig.h b/src/ControllerConfig.h
index 01d34b3c..00cab82e 100644
--- a/src/ControllerConfig.h
+++ b/src/ControllerConfig.h
@@ -19,19 +19,19 @@ public:
struct tControllerConfigBind
{
RsKeyCodes m_Key;
- Int32 m_ContSetOrder;
+ int32 m_ContSetOrder;
};
- Bool field_0;
+ bool field_0;
char _pad0[3];
DIJOYSTATE2 m_OldState;
DIJOYSTATE2 m_NewState;
- WChar m_aActionNames[41][40];
- Bool m_aButtonStates[17];
+ wchar m_aActionNames[41][40];
+ bool m_aButtonStates[17];
char _pad1[3];
tControllerConfigBind m_aSettings[41][4];
- UInt8 m_aSimCheckers[4][4];
- Bool m_bMouseAssociated;
+ uint8 m_aSimCheckers[4][4];
+ bool m_bMouseAssociated;
char _pad2[3];
void UpdateJoyButtonState(int padnumber);
@@ -40,8 +40,8 @@ public:
void UpdateJoyInConfigMenus_ButtonUp(int button, int padnumber);
void AffectControllerStateOn_ButtonUp(int button, int padnumber);
- Int32 GetJoyButtonJustDown();
- void LoadSettings(Int32 file);
+ int32 GetJoyButtonJustDown();
+ void LoadSettings(int32 file);
void MakeControllerActionsBlank();
void InitDefaultControlConfiguration();
void InitDefaultControlConfigMouse(CMouseControllerState const &mousestate);