new option -capturedemo to capture a demo to an AVI file;
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 20 May 2007 14:59:03 +0000 (14:59 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 20 May 2007 14:59:03 +0000 (14:59 +0000)
commit00d8da42f76d5e04a9d11e0deaac38391132808a
treebe81426ee0dca44fc7891fb4d520a55e0570b4ff
parent85de624bfe17bff2af074ed97437765877903734
new option -capturedemo to capture a demo to an AVI file;
new cvars cl_capturevideo_width, cl_capturevideo_height to scale down video capture
when capturing >1GB, don't write an index chunk (in that case, an ix00/ix01 chunk has to be written, but that's not yet implemented)
when capturing, write a "dmlh" header to store the total number of frames, and store the partial number of frames in the "avih" header, as specified by OpenDML
when capturing, store the aspect ratio in a "vprp" header chunk (OpenDML)
make Host_Quit_f do nothing when already quitting (fixes "quit" issue while playing back a demo); note that Host_Quit_f is only used by the console and by -benchmark/-demo/-capturedemo

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7321 d7cf8633-e32d-0410-b094-e92efae38249
cl_demo.c
cl_main.c
cl_screen.c
cl_screen.h
client.h
host.c
host_cmd.c