go back to using QFile, quakeio.h and quakefs.h

This commit is contained in:
Bill Currie 2002-08-27 07:16:28 +00:00
parent 77445fe3c2
commit ec47e08e1c
98 changed files with 282 additions and 286 deletions

View file

@ -46,8 +46,8 @@ static const char rcsid[] =
#include "QF/console.h"
#include "QF/locs.h"
#include "QF/qtypes.h"
#include "QF/quakefs.h"
#include "QF/sys.h"
#include "QF/vfs.h"
#include "client.h"
#include "compat.h"
@ -120,7 +120,7 @@ locs_load (const char *filename)
const char *line;
int templength = 0;
vec3_t loc;
VFile *file;
QFile *file;
snprintf(tmp,sizeof(tmp), "maps/%s",filename);
templength = _COM_FOpenFile (tmp, &file, foundname, 1);
@ -197,7 +197,7 @@ locs_save (const char *filename, qboolean gz)
{
char locfile[MAX_OSPATH];
int i;
VFile *locfd;
QFile *locfd;
if (gz) {
if (strncmp(filename + strlen(filename) - 3,".gz",3) != 0)