X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cl_video.h;h=8439e92cc65ba80ceac47048f3c2439258779814;hb=fbb67933d787ac8c488ade111ac1003623827320;hp=bd706bc536e8f7c5255f4dcb3a238cd91cbb62b3;hpb=915e560b06f711d217c4fac68811fb48ee2f9e77;p=xonotic%2Fdarkplaces.git diff --git a/cl_video.h b/cl_video.h index bd706bc5..8439e92c 100644 --- a/cl_video.h +++ b/cl_video.h @@ -36,17 +36,17 @@ 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) - + // used to determine whether the video's resources should be freed or not - double lasttime; + double lasttime; // when lasttime - realtime > THRESHOLD, all but the stream is freed - qboolean suspended; + qboolean suspended; char filename[MAX_QPATH]; } clvideo_t; -clvideo_t* CL_OpenVideo( char *filename, char *name, int owner ); -clvideo_t* CL_GetVideo( char *name ); +clvideo_t* CL_OpenVideo( const char *filename, const char *name, int owner ); +clvideo_t* CL_GetVideo( const char *name ); void CL_SetVideoState( clvideo_t *video, clvideostate_t state ); void CL_RestartVideo( clvideo_t *video );