mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Move searchpath out of quakefs.h.
It's not needed, nor should it be used, anywhere else.
This commit is contained in:
parent
478394ef81
commit
0cc4bc8c69
2 changed files with 7 additions and 8 deletions
|
@ -47,12 +47,6 @@ typedef struct filelist_s {
|
|||
int size;
|
||||
} filelist_t;
|
||||
|
||||
typedef struct searchpath_s {
|
||||
char *filename;
|
||||
struct pack_s *pack; // only one of filename / pack will be used
|
||||
struct searchpath_s *next;
|
||||
} searchpath_t;
|
||||
|
||||
typedef struct gamedir_s {
|
||||
const char *name;
|
||||
const char *gamedir;
|
||||
|
@ -72,7 +66,6 @@ typedef struct gamedir_s {
|
|||
*/
|
||||
typedef void gamedir_callback_t (int phase);
|
||||
|
||||
extern searchpath_t *qfs_searchpaths;
|
||||
extern gamedir_t *qfs_gamedir;
|
||||
|
||||
extern struct cvar_s *fs_sharepath;
|
||||
|
|
|
@ -133,7 +133,13 @@ VISIBLE const char *qfs_userpath;
|
|||
|
||||
VISIBLE int qfs_filesize;
|
||||
|
||||
searchpath_t *qfs_searchpaths;
|
||||
typedef struct searchpath_s {
|
||||
char *filename;
|
||||
struct pack_s *pack; // only one of filename / pack will be used
|
||||
struct searchpath_s *next;
|
||||
} searchpath_t;
|
||||
|
||||
static searchpath_t *qfs_searchpaths;
|
||||
|
||||
//QFS
|
||||
|
||||
|
|
Loading…
Reference in a new issue