]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_video.h
and move the declaration for CL_VM_Shutdown up
[xonotic/darkplaces.git] / cl_video.h
index cc38798f0c435413ebc7c089ce5bea351ef88b49..05bf4a160cbca5f8fd5d64a73db3132cbe0be753 100644 (file)
@@ -2,8 +2,11 @@
 #ifndef CL_VIDEO_H
 #define CL_VIDEO_H
 
+#include "cl_dyntexture.h"
+
 #define MAXCLVIDEOS            64 + 1 // 1 video is reserved for the cinematic mode
-#define CLVIDEOPREFIX  "_video/"
+// yields DYNAMIC_TEXTURE_PATH_PREFIX CLVIDEOPREFIX video name for a path
+#define CLVIDEOPREFIX  CLDYNTEXTUREPREFIX "video/"
 #define CLTHRESHOLD            2.0
 
 #define MENUOWNER              1
@@ -53,7 +56,7 @@ void          CL_RestartVideo( clvideo_t *video );
 void           CL_CloseVideo( clvideo_t * video );
 void           CL_PurgeOwner( int owner );
 
-void           CL_VideoFrame( void ); // update all videos
+void           CL_Video_Frame( void ); // update all videos
 void           CL_Video_Init( void );
 void           CL_Video_Shutdown( void );