feat: GTA V-style weapon and radio wheels behind IMPROVED_WEAPON_WHEEL (issue #31)
linux / build (push) Canceled after 21m54s
linux / build (push) Canceled after 21m54s
This commit is contained in:
@@ -2183,6 +2183,10 @@ bool CPad::CycleCameraModeDownJustDown(void)
|
||||
|
||||
bool CPad::ChangeStationJustDown(void)
|
||||
{
|
||||
#ifdef IMPROVED_WEAPON_WHEEL
|
||||
// The radio wheel replaces the station-change button (issue #31).
|
||||
return false;
|
||||
#else
|
||||
if ( ArePlayerControlsDisabled() )
|
||||
return false;
|
||||
|
||||
@@ -2218,23 +2222,34 @@ bool CPad::ChangeStationJustDown(void)
|
||||
}
|
||||
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
bool CPad::CycleWeaponLeftJustDown(void)
|
||||
{
|
||||
#ifdef IMPROVED_WEAPON_WHEEL
|
||||
// The weapon wheel replaces D-pad/shoulder weapon cycling (issue #31).
|
||||
return false;
|
||||
#else
|
||||
if ( ArePlayerControlsDisabled() )
|
||||
return false;
|
||||
|
||||
return !!(NewState.LeftShoulder2 && !OldState.LeftShoulder2);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool CPad::CycleWeaponRightJustDown(void)
|
||||
{
|
||||
#ifdef IMPROVED_WEAPON_WHEEL
|
||||
// The weapon wheel replaces D-pad/shoulder weapon cycling (issue #31).
|
||||
return false;
|
||||
#else
|
||||
if ( ArePlayerControlsDisabled() )
|
||||
return false;
|
||||
|
||||
return !!(NewState.RightShoulder2 && !OldState.RightShoulder2);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool CPad::GetTarget(void)
|
||||
|
||||
Reference in New Issue
Block a user