]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_video.h
Prevent players moving too far when stepping up
[xonotic/darkplaces.git] / cl_video.h
index 9976c738ece13d64d188566a8d0abe3b2552182b..7c6140fa26545a34e5b028d2156bac69d48924b3 100644 (file)
@@ -2,7 +2,8 @@
 #ifndef CL_VIDEO_H
 #define CL_VIDEO_H
 
-#include "draw.h"
+#include "qtypes.h"
+#include "qdefs.h"
 
 #define CLVIDEOPREFIX  "video/"
 #define CLTHRESHOLD            2.0
@@ -22,14 +23,14 @@ typedef enum clvideostate_e
 
 #define CLVIDEO_MAX_SUBTITLES 512
 
-extern cvar_t cl_video_subtitles;
-extern cvar_t cl_video_subtitles_lines;
-extern cvar_t cl_video_subtitles_textsize;
-extern cvar_t cl_video_scale;
-extern cvar_t cl_video_scale_vpos;
-extern cvar_t cl_video_stipple;
-extern cvar_t cl_video_brightness;
-extern cvar_t cl_video_keepaspectratio;
+extern struct cvar_s cl_video_subtitles;
+extern struct cvar_s cl_video_subtitles_lines;
+extern struct cvar_s cl_video_subtitles_textsize;
+extern struct cvar_s cl_video_scale;
+extern struct cvar_s cl_video_scale_vpos;
+extern struct cvar_s cl_video_stipple;
+extern struct cvar_s cl_video_brightness;
+extern struct cvar_s cl_video_keepaspectratio;
 
 typedef struct clvideo_s
 {
@@ -46,7 +47,7 @@ typedef struct clvideo_s
        void    *imagedata;
 
        // cachepic holds the relevant texture_t and we simply update the texture as needed
-       cachepic_t *cachepic;
+       struct cachepic_s *cachepic;
        char    name[MAX_QPATH]; // name of this video UI element (not the filename)
        int             width;
        int             height;