diff options
author | aap <aap@papnet.eu> | 2019-06-17 00:16:38 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-17 00:23:19 +0200 |
commit | 0add48abf589330ae6fe11e304c111d9f52ce009 (patch) | |
tree | e9f4374bf520a2fdfb9f3d66cd4ed0aa822a020b /src/skel/events.cpp | |
parent | updated guidelines (diff) | |
download | re3-0add48abf589330ae6fe11e304c111d9f52ce009.tar re3-0add48abf589330ae6fe11e304c111d9f52ce009.tar.gz re3-0add48abf589330ae6fe11e304c111d9f52ce009.tar.bz2 re3-0add48abf589330ae6fe11e304c111d9f52ce009.tar.lz re3-0add48abf589330ae6fe11e304c111d9f52ce009.tar.xz re3-0add48abf589330ae6fe11e304c111d9f52ce009.tar.zst re3-0add48abf589330ae6fe11e304c111d9f52ce009.zip |
Diffstat (limited to '')
-rw-r--r-- | src/skel/events.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/skel/events.cpp b/src/skel/events.cpp index 46488a04..877b969e 100644 --- a/src/skel/events.cpp +++ b/src/skel/events.cpp @@ -726,8 +726,8 @@ KeyboardHandler(RsEvent event, void *param) static RsEventStatus HandlePadButtonDown(RsPadButtonStatus *padButtonStatus) { - Bool bPadTwo = false; - Int32 padNumber = padButtonStatus->padID; + bool bPadTwo = false; + int32 padNumber = padButtonStatus->padID; CPad *pad = CPad::GetPad(padNumber); @@ -739,7 +739,7 @@ HandlePadButtonDown(RsPadButtonStatus *padButtonStatus) ControlsManager.UpdateJoyButtonState(padNumber); - for ( Int32 i = 0; i < _TODOCONST(16); i++ ) + for ( int32 i = 0; i < _TODOCONST(16); i++ ) { RsPadButtons btn = rsPADNULL; if ( ControlsManager.m_aButtonStates[i] == TRUE ) @@ -761,8 +761,8 @@ HandlePadButtonDown(RsPadButtonStatus *padButtonStatus) static RsEventStatus HandlePadButtonUp(RsPadButtonStatus *padButtonStatus) { - Bool bPadTwo = false; - Int32 padNumber = padButtonStatus->padID; + bool bPadTwo = false; + int32 padNumber = padButtonStatus->padID; CPad *pad = CPad::GetPad(padNumber); @@ -772,14 +772,14 @@ HandlePadButtonUp(RsPadButtonStatus *padButtonStatus) if ( padNumber == 1 ) bPadTwo = true; - Bool bCam = false; - Int16 mode = TheCamera.Cams[TheCamera.ActiveCam].Mode; + bool bCam = false; + int16 mode = TheCamera.Cams[TheCamera.ActiveCam].Mode; if ( mode == CCam::MODE_FLYBY || mode == CCam::MODE_FIXED ) - Bool bCam = true; + bool bCam = true; ControlsManager.UpdateJoyButtonState(padNumber); - for ( Int32 i = 1; i < _TODOCONST(16); i++ ) + for ( int32 i = 1; i < _TODOCONST(16); i++ ) { RsPadButtons btn = rsPADNULL; if ( ControlsManager.m_aButtonStates[i] == FALSE ) |