X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cl_video.h;h=cc38798f0c435413ebc7c089ce5bea351ef88b49;hb=57975fbf6b9ae66a76430e1551cf74ded4ed7d44;hp=8439e92cc65ba80ceac47048f3c2439258779814;hpb=d010b5177ed500178d3a40b49788c8093127ecf4;p=xonotic%2Fdarkplaces.git diff --git a/cl_video.h b/cl_video.h index 8439e92c..cc38798f 100644 --- a/cl_video.h +++ b/cl_video.h @@ -46,7 +46,7 @@ typedef struct clvideo_s } clvideo_t; clvideo_t* CL_OpenVideo( const char *filename, const char *name, int owner ); -clvideo_t* CL_GetVideo( const char *name ); +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