win32 compile fixes

This commit is contained in:
Bill Currie 2003-08-13 18:17:30 +00:00
parent fe3b544528
commit 33a57c5a14
3 changed files with 6 additions and 23 deletions

View file

@ -112,7 +112,7 @@ DWORD joy_oldbuttonstate, joy_oldpovstate;
int joy_id;
DWORD joy_flags;
DWORD joy_numbuttons;
#if 0
static PDWORD
RawValuePointer (int axis)
{
@ -162,7 +162,7 @@ _JOY_Read (void)
return false;
}
}
#endif
void
JOY_Read (void)
{
@ -292,7 +292,7 @@ void
JOY_Close (void)
{
}
#if 0
static void
JOY_AdvancedUpdate_f (void)
{
@ -352,7 +352,6 @@ JOY_AdvancedUpdate_f (void)
}
}
#if 0
void
JOY_Init_Cvars(void)
{

View file

@ -602,7 +602,7 @@ VID_SetCaption (const char *text)
}
}
static WORD systemgammaramps[3][256];
//static WORD systemgammaramps[3][256];
static WORD currentgammaramps[3][256];
qboolean
@ -620,7 +620,7 @@ VID_SetGamma (double gamma)
ReleaseDC (NULL, hdc);
return i;
}
#if 0
static void
VID_SaveGamma (void)
{
@ -638,3 +638,4 @@ VID_RestoreGamma (void)
SetDeviceGammaRamp (hdc, &systemgammaramps[0][0]);
ReleaseDC (NULL, hdc);
}
#endif

View file

@ -66,23 +66,6 @@ static const char tracking_tag[] = "Clams & Mooses";
static HANDLE tevent;
// FILE IO ====================================================================
#define MAX_HANDLES 10
QFile *sys_handles[MAX_HANDLES];
static int
findhandle (void)
{
int i;
for (i = 1; i < MAX_HANDLES; i++)
if (!sys_handles[i])
return i;
Sys_Error ("out of handles");
return -1;
}
// SYSTEM IO ==================================================================
static void