]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_video.c
qw support is 99% working
[xonotic/darkplaces.git] / cl_video.c
index 1055cf00a1f0be5484278ad4f75247b2fdcfe766..c969eaa10f3571874b74fd0229473b5d98eecbd1 100644 (file)
@@ -266,7 +266,7 @@ void CL_VideoStop(void)
 
 static void CL_PlayVideo_f(void)
 {
-       char name[1024];
+       char name[MAX_QPATH];
 
        Host_StartVideo();
 
@@ -314,8 +314,8 @@ void CL_Video_Init( void )
        cl_videogmask = BigLong(0x00FF0000);
        cl_videobmask = BigLong(0x0000FF00);
 
-       Cmd_AddCommand( "playvideo", CL_PlayVideo_f );
-       Cmd_AddCommand( "stopvideo", CL_StopVideo_f );
+       Cmd_AddCommand( "playvideo", CL_PlayVideo_f, "play a .dpv video file" );
+       Cmd_AddCommand( "stopvideo", CL_StopVideo_f, "stop playing a .dpv video file" );
 
        R_RegisterModule( "CL_Video", cl_video_start, cl_video_shutdown, cl_video_newmap );
 }