mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 06:31:56 +00:00
give qw-server maplist and move the prototype from cl_main.c to quakefs.h
This commit is contained in:
parent
93069db909
commit
4c7ce6d614
3 changed files with 2 additions and 1 deletions
|
@ -132,7 +132,6 @@ cvar_t *cl_talksound;
|
|||
|
||||
extern cvar_t *sys_nostdout;
|
||||
|
||||
extern void COM_Maplist_f (void);
|
||||
cvar_t *localid;
|
||||
|
||||
#ifdef QUAKEWORLD
|
||||
|
|
|
@ -55,5 +55,6 @@ void COM_CreatePath (char *path);
|
|||
void COM_Gamedir (char *dir);
|
||||
void COM_InitFilesystem (void);
|
||||
void COM_Path_f (void);
|
||||
void COM_Maplist_f (void);
|
||||
|
||||
#endif // _QUAKEFS_H
|
||||
|
|
|
@ -1436,6 +1436,7 @@ void SV_InitLocal (void)
|
|||
Cmd_AddCommand ("removeip", SV_RemoveIP_f);
|
||||
Cmd_AddCommand ("listip", SV_ListIP_f);
|
||||
Cmd_AddCommand ("writeip", SV_WriteIP_f);
|
||||
Cmd_AddCommand ("maplist", COM_Maplist_f);
|
||||
|
||||
for (i=0 ; i<MAX_MODELS ; i++)
|
||||
snprintf(localmodels[i], sizeof(localmodels[i]), "*%i", i);
|
||||
|
|
Loading…
Reference in a new issue