]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_video.h
-ServerList: Changed some if-else-chains to switch constructs.
[xonotic/darkplaces.git] / cl_video.h
index eff1cc5c2f7ea1b6aae26facce748b2b0ef50bd8..bd706bc536e8f7c5255f4dcb3a238cd91cbb62b3 100644 (file)
@@ -2,8 +2,7 @@
 #ifndef CL_VIDEO_H
 #define CL_VIDEO_H
 
-//#define MAXCLVIDEOS          64 + 1 // 1 video is reserved for the cinematic mode
-#define MAXCLVIDEOS            1
+#define MAXCLVIDEOS            64 + 1 // 1 video is reserved for the cinematic mode
 #define CLVIDEOPREFIX  "_video/"
 #define CLTHRESHOLD            2.0
 
@@ -37,8 +36,11 @@ typedef struct clvideo_s
        cachepic_t cpif;
 
        // if a video is suspended, it is automatically paused (else we'd still have to process the frames)
-    double  lasttime; // used to determine whether the video's resources should be freed or not
-       qboolean suspended; // when lasttime - realtime > THRESHOLD, all but the stream is freed
+       
+       // used to determine whether the video's resources should be freed or not
+    double  lasttime; 
+       // when lasttime - realtime > THRESHOLD, all but the stream is freed
+       qboolean suspended; 
 
        char    filename[MAX_QPATH];
 } clvideo_t;