mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 11:11:04 +00:00
- moved all keyboard related code into the InputState class, so that looking for this stuff is easier.
Sadly there's 1ß00 lines of code using this...
This commit is contained in:
parent
1b65510bc2
commit
b747df60ee
50 changed files with 1009 additions and 1069 deletions
|
@ -1580,17 +1580,17 @@ pSwordRest(PANEL_SPRITEp psp)
|
|||
SWBOOL force = !!TEST(psp->flags, PANF_UNHIDE_SHOOT);
|
||||
|
||||
#if 0
|
||||
if (KB_KeyPressed(KEYSC_SEMI))
|
||||
if (inputState.GetKeyStatus(KEYSC_SEMI))
|
||||
{
|
||||
KB_KeyPressed(KEYSC_SEMI) = 0;
|
||||
inputState.GetKeyStatus(KEYSC_SEMI) = 0;
|
||||
SwordAng -= 4;
|
||||
//DSPRINTF(ds,"SwordAng %d", SwordAng);
|
||||
MONO_PRINT(ds);
|
||||
}
|
||||
|
||||
if (KB_KeyPressed(KEYSC_QUOTE))
|
||||
if (inputState.GetKeyStatus(KEYSC_QUOTE))
|
||||
{
|
||||
KB_KeyPressed(KEYSC_QUOTE) = 0;
|
||||
inputState.GetKeyStatus(KEYSC_QUOTE) = 0;
|
||||
SwordAng += 4;
|
||||
//DSPRINTF(ds,"SwordAng %d", SwordAng);
|
||||
MONO_PRINT(ds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue