diff --git a/include/QF/input.h b/include/QF/input.h index 6a2cc0759..a98fd713b 100644 --- a/include/QF/input.h +++ b/include/QF/input.h @@ -58,11 +58,6 @@ void IN_SendKeyEvents (void); void IN_Move (void); // FIXME: was cmduser_t? // add additional movement on top of the keyboard move cmd -void IN_ModeChanged (void); -// called whenever screen dimensions change - -void IN_HandlePause (qboolean paused); - extern struct cvar_s *in_grab; extern struct cvar_s *in_amp; extern struct cvar_s *in_pre_amp; diff --git a/include/QF/plugin/input.h b/include/QF/plugin/input.h index 7f2c4a7cb..8a475d470 100644 --- a/include/QF/plugin/input.h +++ b/include/QF/plugin/input.h @@ -39,14 +39,12 @@ typedef void (QFPLUGIN *P_IN_Commands) (void); typedef void (QFPLUGIN *P_IN_SendKeyEvents) (void); typedef void (QFPLUGIN *P_IN_Move) (void); typedef void (QFPLUGIN *P_IN_ModeChanged) (void); -typedef void (QFPLUGIN *P_IN_HandlePause) (qboolean paused); typedef struct input_funcs_s { P_IN_Commands pIN_Commands; P_IN_SendKeyEvents pIN_SendKeyEvents; P_IN_Move pIN_Move; P_IN_ModeChanged pIN_ModeChanged; - P_IN_HandlePause pIN_HandlePause; } input_funcs_t; typedef struct input_data_s { diff --git a/include/QF/vid.h b/include/QF/vid.h index ebad01a5c..ca0aaddc6 100644 --- a/include/QF/vid.h +++ b/include/QF/vid.h @@ -115,9 +115,6 @@ void VID_Update (vrect_t *rects); // or not // int VID_SetMode (int modenum, unsigned char *palette); -// called only on Win32, when pause happens, so the mouse can be released -void VID_HandlePause (qboolean pause); - void VID_InitBuffers (void); void VID_LockBuffer (void); void VID_UnlockBuffer (void); diff --git a/libs/video/targets/in_common.c b/libs/video/targets/in_common.c index 1f1bebcef..23c0593b8 100644 --- a/libs/video/targets/in_common.c +++ b/libs/video/targets/in_common.c @@ -182,11 +182,6 @@ IN_Init_Cvars (void) IN_LL_Init_Cvars (); } -void -IN_HandlePause (qboolean paused) -{ -} - void IN_ClearStates (void) { diff --git a/libs/video/targets/vid.c b/libs/video/targets/vid.c index 928c9af73..51f983093 100644 --- a/libs/video/targets/vid.c +++ b/libs/video/targets/vid.c @@ -199,8 +199,3 @@ VID_InitGamma (unsigned char *pal) VID_BuildGammaTable (vid_gamma->value); } - -void -VID_HandlePause (qboolean paused) -{ -} diff --git a/nq/source/cl_parse.c b/nq/source/cl_parse.c index 9743ebb86..941f7b964 100644 --- a/nq/source/cl_parse.c +++ b/nq/source/cl_parse.c @@ -901,11 +901,7 @@ CL_ParseServerMessage (void) if (cl.paused) { CDAudio_Pause (); - IN_HandlePause (true); - VID_HandlePause (true); } else { - VID_HandlePause (false); - IN_HandlePause (false); CDAudio_Resume (); } }