mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
Move filelist_item_t struct to quakedef.h, instead of redefining
it in console.c and host_cmd.c git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1411 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
0193f2eaaf
commit
e30910131c
3 changed files with 10 additions and 19 deletions
|
@ -806,17 +806,6 @@ void AddToTabList (const char *name, const char *type)
|
|||
}
|
||||
}
|
||||
|
||||
// This is redefined from host_cmd.c
|
||||
typedef struct filelist_item_s
|
||||
{
|
||||
char name[32];
|
||||
struct filelist_item_s *next;
|
||||
} filelist_item_t;
|
||||
|
||||
extern filelist_item_t *extralevels;
|
||||
extern filelist_item_t *modlist;
|
||||
extern filelist_item_t *demolist;
|
||||
|
||||
typedef struct arg_completion_type_s
|
||||
{
|
||||
const char *command;
|
||||
|
|
|
@ -55,14 +55,6 @@ void Host_Quit_f (void)
|
|||
//johnfitz -- extramaps management
|
||||
//==============================================================================
|
||||
|
||||
// ericw -- was extralevel_t, renamed and now used with mods list as well
|
||||
// to simplify completion code
|
||||
typedef struct filelist_item_s
|
||||
{
|
||||
char name[32];
|
||||
struct filelist_item_s *next;
|
||||
} filelist_item_t;
|
||||
|
||||
/*
|
||||
==================
|
||||
FileList_Add
|
||||
|
|
|
@ -287,6 +287,16 @@ extern int host_framecount; // incremented every frame, never reset
|
|||
extern double realtime; // not bounded in any way, changed at
|
||||
// start of every frame, never reset
|
||||
|
||||
typedef struct filelist_item_s
|
||||
{
|
||||
char name[32];
|
||||
struct filelist_item_s *next;
|
||||
} filelist_item_t;
|
||||
|
||||
extern filelist_item_t *modlist;
|
||||
extern filelist_item_t *extralevels;
|
||||
extern filelist_item_t *demolist;
|
||||
|
||||
void Host_ClearMemory (void);
|
||||
void Host_ServerFrame (void);
|
||||
void Host_InitCommands (void);
|
||||
|
|
Loading…
Reference in a new issue