mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-18 09:41:06 +00:00
- remap WH's fly to 'quick_kick', because crouch got refactored.
This commit is contained in:
parent
5d77b1fd25
commit
e37dc08a6b
5 changed files with 18 additions and 3 deletions
|
@ -369,6 +369,9 @@ void ApplyGlobalInput(InputPacket& input, ControlInfo* hidInput, bool const crou
|
|||
if (buttonMap.ButtonDown(gamefunc_Crouch) || buttonMap.ButtonDown(gamefunc_Toggle_Crouch) || crouch_toggle)
|
||||
input.actions |= SB_CROUCH;
|
||||
|
||||
if (buttonMap.ButtonDown(gamefunc_Quick_Kick)) // doubles as 'fly' in Witchaven
|
||||
input.actions |= SB_QUICK_KICK;
|
||||
|
||||
if (buttonMap.ButtonDown(gamefunc_Toggle_Crouch))
|
||||
{
|
||||
crouch_toggle = !crouch_toggle && crouchable;
|
||||
|
|
|
@ -538,9 +538,6 @@ static void processInputBits(player_struct *p, ControlInfo* const hidInput)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (buttonMap.ButtonDown(gamefunc_Quick_Kick)) // this shares a bit with another function so cannot be in the common code.
|
||||
loc.actions |= SB_QUICK_KICK;
|
||||
|
||||
if ((isRR() && p->drink_amt > 88)) loc.actions |= SB_LOOK_LEFT;
|
||||
if ((isRR() && p->drink_amt > 99)) loc.actions |= SB_LOOK_DOWN;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
Ins "+alt_fire" // fly up
|
||||
Del "+quick_kick" // fly down
|
||||
End "holsterweapon" // end flying
|
||||
unbind "c"
|
||||
|
||||
kp1 "spell 0" //Scare_Spell
|
||||
kp2 "spell 1" //Nightvision_Spell
|
||||
kp3 "spell 2" //Freeze_Spell
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
Ins "+alt_fire" // fly up
|
||||
Del "+quick_kick" // fly down
|
||||
End "holsterweapon" // end flying
|
||||
unbind "c"
|
||||
|
||||
// This is unfortunately a bit limited because for this config both the function keys and the numpad are blocked.
|
||||
q "spell 0" //Scare_Spell
|
||||
w "spell 1" //Nightvision_Spell
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
Ins "+alt_fire" // fly up
|
||||
Del "+quick_kick" // fly down
|
||||
End "holsterweapon" // end flying
|
||||
unbind "c"
|
||||
|
||||
` "backoff" // i.e. cast spell
|
||||
F1 "spell 1"
|
||||
F2 "spell 2"
|
||||
|
|
Loading…
Reference in a new issue