kill VID_HandlePause and IN_HandlePause as they never did anything and

IN_ModeChanged as it's a dead prototype
This commit is contained in:
Bill Currie 2003-04-08 17:55:32 +00:00
parent fcc069d216
commit 35eb866603
6 changed files with 0 additions and 24 deletions

View file

@ -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;

View file

@ -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 {

View file

@ -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);

View file

@ -182,11 +182,6 @@ IN_Init_Cvars (void)
IN_LL_Init_Cvars ();
}
void
IN_HandlePause (qboolean paused)
{
}
void
IN_ClearStates (void)
{

View file

@ -199,8 +199,3 @@ VID_InitGamma (unsigned char *pal)
VID_BuildGammaTable (vid_gamma->value);
}
void
VID_HandlePause (qboolean paused)
{
}

View file

@ -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 ();
}
}