]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_3dfxsvga.c
changing all isDedicated references to cls.state == ca_dedicated
[xonotic/darkplaces.git] / vid_3dfxsvga.c
index 601387c1625991613ae96b094b9453ed708afcbf..6583d37d5e49e616eeca60a3941658e6d00e57d4 100644 (file)
@@ -46,8 +46,6 @@
 #include <glide/sst1vid.h>
 
 
-cvar_t         vid_mode = {"vid_mode","0",false};
-
 viddef_t       vid;    // global video state
 
 static void    *dlhand = NULL;
@@ -111,7 +109,7 @@ void InitSig(void)
 
        Check for ARB, SGIS, or EXT multitexture support
 */
-void VID_CheckMultitexture()
+void VID_CheckMultitexture(void)
 {
        Con_Printf ("Checking for multitexture... ");
        if (COM_CheckParm ("-nomtex"))
@@ -177,7 +175,7 @@ void VID_CheckCVA(void)
 
 typedef void (GLAPIENTRY *gl3DfxSetDitherModeEXT_FUNC) (GrDitherMode_t mode);
 
-void VID_SetupDithering()
+void VID_SetupDithering(void)
 {
        Con_Printf ("Dithering: ");
 
@@ -306,7 +304,12 @@ findres(int *width, int *height)
        return GR_RESOLUTION_640x480;
 }
 
-void VID_Init()
+int VID_SetGamma(float prescale, float gamma, float scale, float base)
+{
+       return FALSE;
+}
+
+void VID_Init(void)
 {
        int i;
        GLint attribs[32];
@@ -360,8 +363,6 @@ void VID_Init()
        vid.width = vid.conwidth;
        vid.height = vid.conheight;
 
-       vid.aspect = ((float)vid.height / (float)vid.width) * (320.0 / 240.0);
-
        InitSig(); // trap evil signals
 
        GL_Init();
@@ -388,9 +389,6 @@ void VID_ExtraOptionCmd(int option_cursor)
        }
 */
 }
-void VID_InitCvars ()
-{
-}
 
 void VID_SetCaption (char *text)
 {