From b4f8960d958674e1c11879e98f6885d8ad035e82 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 8 Dec 2019 07:51:49 +0100 Subject: [PATCH] - removed unused code. --- source/mact/include/input.h | 9 ---- source/mact/src/input.cpp | 104 ------------------------------------ 2 files changed, 113 deletions(-) diff --git a/source/mact/include/input.h b/source/mact/include/input.h index 183ec8f0a..46917dca2 100644 --- a/source/mact/include/input.h +++ b/source/mact/include/input.h @@ -47,15 +47,6 @@ extern void I_GeneralTriggerClear(void); extern int32_t I_EscapeTrigger(void); extern void I_EscapeTriggerClear(void); -extern int32_t I_MenuUp(void); -extern void I_MenuUpClear(void); -extern int32_t I_MenuDown(void); -extern void I_MenuDownClear(void); -extern int32_t I_MenuLeft(void); -extern void I_MenuLeftClear(void); -extern int32_t I_MenuRight(void); -extern void I_MenuRightClear(void); - enum EnterTextFlags_t { INPUT_NUMERIC = 0x00000001, diff --git a/source/mact/src/input.cpp b/source/mact/src/input.cpp index 6bb72073b..3687637a7 100644 --- a/source/mact/src/input.cpp +++ b/source/mact/src/input.cpp @@ -137,110 +137,6 @@ void I_EscapeTriggerClear(void) } -int32_t I_MenuUp(void) -{ - return - inputState.GetKeyStatus(sc_UpArrow) - || inputState.GetKeyStatus(sc_kpad_8) - || (inputState.MouseGetButtons()&WHEELUP_MOUSE) - || buttonMap.ButtonDown(gamefunc_Move_Forward) - || (JOYSTICK_GetHat(0)&HAT_UP) - || (JOYSTICK_GetGameControllerButtons()&(1<