mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-05 15:31:16 +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;
|
int size;
|
||||||
} filelist_t;
|
} 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 {
|
typedef struct gamedir_s {
|
||||||
const char *name;
|
const char *name;
|
||||||
const char *gamedir;
|
const char *gamedir;
|
||||||
|
@ -72,7 +66,6 @@ typedef struct gamedir_s {
|
||||||
*/
|
*/
|
||||||
typedef void gamedir_callback_t (int phase);
|
typedef void gamedir_callback_t (int phase);
|
||||||
|
|
||||||
extern searchpath_t *qfs_searchpaths;
|
|
||||||
extern gamedir_t *qfs_gamedir;
|
extern gamedir_t *qfs_gamedir;
|
||||||
|
|
||||||
extern struct cvar_s *fs_sharepath;
|
extern struct cvar_s *fs_sharepath;
|
||||||
|
|
|
@ -133,7 +133,13 @@ VISIBLE const char *qfs_userpath;
|
||||||
|
|
||||||
VISIBLE int qfs_filesize;
|
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
|
//QFS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue