#include "quakedef.h"
-#ifdef _WIN32
-#include "winquake.h"
-#endif
-
// LordHavoc: was 512, expanded to 2048
#define PAINTBUFFER_SIZE 2048
portable_samplepair_t paintbuffer[PAINTBUFFER_SIZE];
{
if (cl_avidemo_soundfile == NULL)
{
- sprintf (filename, "%s/dpavi.wav", com_gamedir);
- cl_avidemo_soundfile = fopen(filename, "wb");
+ cl_avidemo_soundfile = FS_Open ("dpavi.wav", "wb", false);
memset(out, 0, 44);
fwrite(out, 1, 44, cl_avidemo_soundfile);
// header will be filled out when file is closed