]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid.h
use size_t even more
[xonotic/darkplaces.git] / vid.h
diff --git a/vid.h b/vid.h
index cd4a04ef72915040d3c218eed76612334c3c2972..48fc9602d7089281ea495b3408ca89074cf7d607 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -26,14 +26,11 @@ extern int cl_available;
 
 typedef struct
 {
-       // these are set with VID_GetWindowSize and can change from frame to frame
-       int realx;
-       int realy;
-       int realwidth;
-       int realheight;
-
-       int conwidth;
-       int conheight;
+       // these are set by VID_Mode
+       int width;
+       int height;
+       int bitsperpixel;
+       int fullscreen;
 } viddef_t;
 
 // global video state
@@ -134,14 +131,11 @@ int VID_GetGamma (unsigned short *ramps);
 void VID_UpdateGamma(qboolean force);
 void VID_RestoreSystemGamma(void);
 
-void VID_GetWindowSize (int *x, int *y, int *width, int *height);
-
 void VID_Finish (void);
 
 void VID_Restart_f(void);
 
-void VID_Open (void);
-void VID_Close (void);
+void VID_Start(void);
 
 #endif