]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_video.h
eliminated channel_t reference in OGG_FetchEnd
[xonotic/darkplaces.git] / cl_video.h
index c651eb4ddae3300075eac3140fc2b7ef2e936e68..cc38798f0c435413ebc7c089ce5bea351ef88b49 100644 (file)
@@ -45,8 +45,8 @@ typedef struct clvideo_s
        char    filename[MAX_QPATH];
 } clvideo_t;
 
-clvideo_t*     CL_OpenVideo( const char *filename, const char *name, int owner, qboolean cinematic );
-clvideo_t*     CL_GetVideo( const char *name );
+clvideo_t*     CL_OpenVideo( const char *filename, const char *name, int owner );
+clvideo_t*     CL_GetVideoByName( const char *name );
 void           CL_SetVideoState( clvideo_t *video, clvideostate_t state );
 void           CL_RestartVideo( clvideo_t *video );
 
@@ -64,4 +64,8 @@ void CL_DrawVideo( void );
 void CL_VideoStart( char *filename );
 void CL_VideoStop( void );
 
+// new function used for fullscreen videos
+// TODO: Andreas Kirsch: move this subsystem somewhere else (preferably host) since the cl_video system shouldnt do such work like managing key events..
+void CL_Video_KeyEvent( int key, int ascii, qboolean down );
+
 #endif