No more HandlePause crap.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2685 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2007-09-23 15:20:46 +00:00
parent 6f0d7dc679
commit b97f2c5d69
17 changed files with 0 additions and 75 deletions

View file

@ -66,7 +66,6 @@ extern void (*Media_ShowFrame8bit) (qbyte *framedata, int inwidth, int inhei
extern qboolean (*VID_Init) (rendererstate_t *info, unsigned char *palette);
extern void (*VID_DeInit) (void);
extern void (*VID_HandlePause) (qboolean pause);
extern void (*VID_LockBuffer) (void);
extern void (*VID_UnlockBuffer) (void);
extern void (*D_BeginDirectRect) (int x, int y, qbyte *pbitmap, int width, int height);
@ -187,7 +186,6 @@ typedef struct {
qboolean (*VID_Init) (rendererstate_t *info, unsigned char *palette);
void (*VID_DeInit) (void);
void (*VID_HandlePause) (qboolean pause);
void (*VID_LockBuffer) (void);
void (*VID_UnlockBuffer) (void);
void (*D_BeginDirectRect) (int x, int y, qbyte *pbitmap, int width, int height);

View file

@ -770,7 +770,6 @@ int (*Mod_SkinForName) (struct model_s *model, char *name);
qboolean (*VID_Init) (rendererstate_t *info, unsigned char *palette);
void (*VID_DeInit) (void);
void (*VID_HandlePause) (qboolean pause);
void (*VID_LockBuffer) (void);
void (*VID_UnlockBuffer) (void);
void (*D_BeginDirectRect) (int x, int y, qbyte *pbitmap, int width, int height);
@ -879,7 +878,6 @@ rendererinfo_t dedicatedrendererinfo = {
NULL, //VID_Init,
NULL, //VID_DeInit,
NULL, //VID_HandlePause,
NULL, //VID_LockBuffer,
NULL, //VID_UnlockBuffer,
NULL, //D_BeginDirectRect,
@ -972,7 +970,6 @@ rendererinfo_t softwarerendererinfo = {
SWVID_Init,
SWVID_Shutdown,
SWVID_HandlePause,
SWVID_LockBuffer,
SWVID_UnlockBuffer,
SWD_BeginDirectRect,
@ -1069,7 +1066,6 @@ rendererinfo_t openglrendererinfo = {
GLVID_Init,
GLVID_DeInit,
GLVID_HandlePause,
GLVID_LockBuffer,
GLVID_UnlockBuffer,
GLD_BeginDirectRect,
@ -1489,7 +1485,6 @@ void R_SetRenderer(int wanted)
VID_Init = ri->VID_Init;
VID_DeInit = ri->VID_DeInit;
VID_HandlePause = ri->VID_HandlePause;
VID_LockBuffer = ri->VID_LockBuffer;
VID_UnlockBuffer = ri->VID_UnlockBuffer;
D_BeginDirectRect = ri->D_BeginDirectRect;

View file

@ -100,9 +100,6 @@ int GLVID_SetMode (rendererstate_t *info, unsigned char *palette);
// sets the mode; only used by the Quake engine for resetting to mode 0 (the
// base mode) on memory allocation failures
void GLVID_HandlePause (qboolean pause);
// called only on Win32, when pause happens, so the mouse can be released
void GLVID_LockBuffer (void);
void GLVID_UnlockBuffer (void);
@ -135,9 +132,6 @@ void SWVID_Shutdown (void);
void SWVID_Update (vrect_t *rects);
// flushes the given rectangles from the view buffer to the screen
void SWVID_HandlePause (qboolean pause);
// called only on Win32, when pause happens, so the mouse can be released
void SWVID_LockBuffer (void);
void SWVID_UnlockBuffer (void);

View file

@ -799,9 +799,6 @@ void (D3D_VID_DeInit) (void)
mainwindow = NULL;
}
}
void (D3D_VID_HandlePause) (qboolean pause)
{
}
void (D3D_VID_LockBuffer) (void)
{
}
@ -1154,7 +1151,6 @@ int (D3D_Mod_SkinForName) (struct model_s *model, char *name);
qboolean (D3D_VID_Init) (rendererstate_t *info, unsigned char *palette);
void (D3D_VID_DeInit) (void);
void (D3D_VID_HandlePause) (qboolean pause);
void (D3D_VID_LockBuffer) (void);
void (D3D_VID_UnlockBuffer) (void);
void (D3D_D_BeginDirectRect) (int x, int y, qbyte *pbitmap, int width, int height);
@ -1246,7 +1242,6 @@ rendererinfo_t d3d7rendererinfo =
D3D_VID_Init,
D3D_VID_DeInit,
D3D_VID_HandlePause,
D3D_VID_LockBuffer,
D3D_VID_UnlockBuffer,
D3D_D_BeginDirectRect,

View file

@ -954,9 +954,6 @@ void (D3D9_VID_DeInit) (void)
mainwindow = NULL;
}
}
void (D3D9_VID_HandlePause) (qboolean pause)
{
}
void (D3D9_VID_LockBuffer) (void)
{
}
@ -1420,7 +1417,6 @@ int (D3D9_Mod_SkinForName) (struct model_s *model, char *name);
qboolean (D3D9_VID_Init) (rendererstate_t *info, unsigned char *palette);
void (D3D9_VID_DeInit) (void);
void (D3D9_VID_HandlePause) (qboolean pause);
void (D3D9_VID_LockBuffer) (void);
void (D3D9_VID_UnlockBuffer) (void);
void (D3D9_D_BeginDirectRect) (int x, int y, qbyte *pbitmap, int width, int height);
@ -1515,7 +1511,6 @@ rendererinfo_t d3d9rendererinfo =
D3D9_VID_Init,
D3D9_VID_DeInit,
D3D9_VID_HandlePause,
D3D9_VID_LockBuffer,
D3D9_VID_UnlockBuffer,
D3D9_D_BeginDirectRect,

View file

@ -1077,7 +1077,6 @@ void GLVID_LockBuffer() {}
int GLVID_ForceUnlockedAndReturnState (void) {return 0;}
void GLVID_ForceLockState (int lk) {}
void GLVID_HandlePause (qboolean pause) {}
void GL_DoSwap(void) {}

View file

@ -666,10 +666,6 @@ void GLVID_ForceLockState (int lk)
{
}
void GLVID_HandlePause (qboolean pause)
{
}
void Sys_SendKeyEvents(void)
{
}

View file

@ -268,10 +268,6 @@ qboolean GLInitialise (char *renderer)
// direct draw software compatability stuff
void GLVID_HandlePause (qboolean pause)
{
}
void GLVID_ForceLockState (int lk)
{
}

View file

@ -65,10 +65,6 @@ void GLVID_ForceLockState (int lk)
{
}
void GLVID_HandlePause (qboolean pause)
{
}
void GLVID_SetCaption(char *text)
{
}

View file

@ -151,12 +151,6 @@ void GL_EndRendering (void)
void GLVID_HandlePause (qboolean pause)
{
}
void GLVID_LockBuffer (void)
{
}

View file

@ -4146,7 +4146,6 @@ rendererinfo_t d3drendererinfo = {
D3DVID_Init,
GLVID_DeInit,
GLVID_HandlePause,
GLVID_LockBuffer,
GLVID_UnlockBuffer,
GLD_BeginDirectRect,

View file

@ -177,10 +177,6 @@ void SWVID_ForceLockState (int lk)
{
}
void SWVID_HandlePause (qboolean pause)
{
}
void SWVID_SetCaption(char *text)
{
Sys_Video_SetWindowTitle(fod_display, text);

View file

@ -233,10 +233,6 @@ void SWVID_Update(vrect_t *rects)
}
}
void SWVID_HandlePause (qboolean pause)
{
}
void SWVID_LockBuffer (void)
{
}

View file

@ -56,10 +56,6 @@ void SWVID_ForceLockState (int lk)
{
}
void SWVID_HandlePause (qboolean pause)
{
}
void SWVID_SetCaption(char *text)
{
}

View file

@ -154,10 +154,6 @@ void SWVID_Update(vrect_t *rects)
IN_UpdateGrabs();
}
void SWVID_HandlePause (qboolean pause)
{
}
void SWD_BeginDirectRect (int x, int y, qbyte *pbitmap, int width, int height)
{
}

View file

@ -990,18 +990,6 @@ void SWVID_SetCaption(char *text)
SetWindowText(mainwindow, text);
}
void SWVID_HandlePause (qboolean pause) //release mouse
{
#ifdef MGL
if (usingmgl)
{
MGL_HandlePause(pause);
return;
}
#endif
}
void SWVID_LockBuffer (void) //ignored
{
#ifdef MGL

View file

@ -1453,10 +1453,6 @@ void SWVID_ForceLockState (int lk)
{
}
void SWVID_HandlePause (qboolean pause)
{
}
void SWVID_SetCaption(char *text)
{
XStoreName(vid_dpy, x_win, text);