quakefs.h now defines fs_userpath and fs_sharepath

This commit is contained in:
Anton E. Gavrilov 2000-05-22 01:37:19 +00:00
parent bc37d46f5b
commit 2b42f07798
3 changed files with 6 additions and 3 deletions

View file

@ -33,11 +33,15 @@
#include "qtypes.h" #include "qtypes.h"
#include "quakeio.h" #include "quakeio.h"
#include "cvar.h"
//============================================================================ //============================================================================
#define MAX_OSPATH 128 // max length of a filesystem pathname #define MAX_OSPATH 128 // max length of a filesystem pathname
extern cvar_t *fs_userpath;
extern cvar_t *fs_sharepath;
extern int com_filesize; extern int com_filesize;
struct cache_user_s; struct cache_user_s;

View file

@ -67,8 +67,7 @@
#endif #endif
#include <cl_slist.h> #include <cl_slist.h>
extern cvar_t *fs_userpath;
extern cvar_t *fs_sharepath;
// we need to declare some mouse variables here, because the menu system // we need to declare some mouse variables here, because the menu system
// references them even when on a unix system. // references them even when on a unix system.

View file

@ -38,9 +38,9 @@
#include "console.h" #include "console.h"
#include "commdef.h" #include "commdef.h"
#include "zone.h" #include "zone.h"
#include "quakefs.h"
#include <string.h> #include <string.h>
extern cvar_t *fs_userpath;
server_entry_t *slist; server_entry_t *slist;
server_entry_t *Server_List_Add (server_entry_t *start, char *ip, char *desc) { server_entry_t *Server_List_Add (server_entry_t *start, char *ip, char *desc) {