diff --git a/src/client/cl_scrn.c b/src/client/cl_scrn.c index 79edac92..30270756 100644 --- a/src/client/cl_scrn.c +++ b/src/client/cl_scrn.c @@ -74,12 +74,6 @@ extern cvar_t *cl_drawfps; // FPS hack void SCR_TimeRefresh_f (void); void SCR_Loading_f (void); -#ifdef QMAX -char crosshair_pic[MAX_QPATH]; -int crosshair_width, crosshair_height; -#endif - - /* =============================================================================== @@ -284,11 +278,7 @@ void SCR_DrawCenterString (void) SCR_AddDirtyPoint (x, y); for (j=0 ; jvalue) { -#ifdef QMAX - if (crosshair->value > 9) - crosshair->value = 9; -#else if (crosshair->value > 3 || crosshair->value < 0) crosshair->value = 3; -#endif Com_sprintf (crosshair_pic, sizeof(crosshair_pic), "ch%i", (int)(crosshair->value)); re.DrawGetPicSize (&crosshair_width, &crosshair_height, crosshair_pic); if (!crosshair_width) @@ -1307,24 +1288,11 @@ void SCR_UpdateScreen (void) ** range check cl_camera_separation so we don't inadvertently fry someone's ** brain */ -#ifdef REDBLUE - if ( cl_stereo_separation->value > 10.0 ) - Cvar_SetValue( "cl_stereo_separation", 10.0 ); -#else if ( cl_stereo_separation->value > 1.0 ) Cvar_SetValue( "cl_stereo_separation", 1.0 ); -#endif else if ( cl_stereo_separation->value < 0 ) Cvar_SetValue( "cl_stereo_separation", 0.0 ); -#ifdef REDBLUE - if ( !cl_stereo->value ) - Cvar_SetValue( "cl_stereo", 1 ); - - numframes = 2; - separation[0] = -cl_stereo_separation->value / 2.0; - separation[1] = cl_stereo_separation->value / 2.0; -#else if ( cl_stereo->value ) { numframes = 2; @@ -1337,7 +1305,6 @@ void SCR_UpdateScreen (void) separation[1] = 0; numframes = 1; } -#endif for ( i = 0; i < numframes; i++ ) { re.BeginFrame( separation[i] );