pause: better input filtering

buttons now need to be pressed again after leaving pause to trigger (instead of instantly hitting when unpaused)
This commit is contained in:
somewhatlurker
2019-10-23 04:52:39 +11:00
parent 65aea1b1a0
commit 32b110efa9
2 changed files with 19 additions and 9 deletions
@@ -47,6 +47,9 @@ namespace TLAC::Components
static PlayerData* playerData;
static InputState* inputState;
static const JvsButtons allButtons = (JvsButtons)(JVS_START | JVS_TRIANGLE | JVS_SQUARE | JVS_CROSS | JVS_CIRCLE | JVS_L | JVS_R); // deliberately only has control panel buttons
static JvsButtons filteredButtons;
static const int menuX = 640;
static const int menuY = 360;
static const int menuItemHeight = 36;