mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 13:32:01 +00:00
Remove all remaining references to cachedir.
This commit is contained in:
parent
43e49ccd73
commit
4acb725dec
5 changed files with 0 additions and 7 deletions
|
@ -44,7 +44,6 @@
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
char *basedir;
|
char *basedir;
|
||||||
char *cachedir; /* for development over ISDN lines */
|
|
||||||
int argc;
|
int argc;
|
||||||
char **argv;
|
char **argv;
|
||||||
void *membase;
|
void *membase;
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
char *basedir;
|
char *basedir;
|
||||||
char *cachedir; // for development over ISDN lines
|
|
||||||
int argc;
|
int argc;
|
||||||
char **argv;
|
char **argv;
|
||||||
void *membase;
|
void *membase;
|
||||||
|
|
|
@ -241,9 +241,6 @@ int main (int c, char **v)
|
||||||
|
|
||||||
parms.basedir = BASEDIR;
|
parms.basedir = BASEDIR;
|
||||||
|
|
||||||
// caching is disabled by default, use -cachedir to enable
|
|
||||||
// parms.cachedir = cachedir;
|
|
||||||
|
|
||||||
noconinput = COM_CheckParm("-noconinput");
|
noconinput = COM_CheckParm("-noconinput");
|
||||||
if (!noconinput)
|
if (!noconinput)
|
||||||
fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);
|
fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);
|
||||||
|
|
|
@ -443,7 +443,6 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin
|
||||||
cwd[strlen(cwd)-1] = 0;
|
cwd[strlen(cwd)-1] = 0;
|
||||||
|
|
||||||
parms.basedir = cwd;
|
parms.basedir = cwd;
|
||||||
parms.cachedir = NULL;
|
|
||||||
|
|
||||||
parms.argc = 1;
|
parms.argc = 1;
|
||||||
argv[0] = empty_string;
|
argv[0] = empty_string;
|
||||||
|
|
|
@ -235,7 +235,6 @@ int main (int argc, char **argv)
|
||||||
Sys_Error("Insufficient memory.\n");
|
Sys_Error("Insufficient memory.\n");
|
||||||
|
|
||||||
parms.basedir = ".";
|
parms.basedir = ".";
|
||||||
parms.cachedir = NULL;
|
|
||||||
|
|
||||||
SV_Init (&parms);
|
SV_Init (&parms);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue