]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid.h
added alphafade and gravity fields to particle struct, which made most particle types...
[xonotic/darkplaces.git] / vid.h
diff --git a/vid.h b/vid.h
index 7339528258059e5d896a3f0d4321e58284426918..5b078578ecd8e1278b12ee99ac0a994ea57052a9 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // vid.h -- video driver defs
 
+#ifndef VID_H
+#define VID_H
+
 typedef struct
 {
        // these are set with VID_GetWindowSize and can change from frame to frame
@@ -26,7 +29,6 @@ typedef struct
        int             realy;
        int             realwidth;
        int             realheight;
-//     int             recalc_refdef;  // if true, recalc vid-based stuff
 
        int             conwidth;
        int             conheight;
@@ -40,9 +42,6 @@ extern cvar_t vid_mode;
 extern cvar_t vid_mouse;
 extern cvar_t vid_fullscreen;
 
-extern cvar_t in_pitch_min;
-extern cvar_t in_pitch_max;
-
 void VID_InitCvars(void);
 
 void GL_Init (void);
@@ -65,3 +64,6 @@ int VID_SetGamma (float prescale, float gamma, float scale, float base);
 void VID_GetWindowSize (int *x, int *y, int *width, int *height);
 
 void VID_Finish (void);
+
+#endif
+