mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
This commit removes maplist.c and replaces it with filelist.c, which
contains general functions for creating lists of a type of file and provides the commands maplist, skinlist, skyboxlist, and demolist.
This commit is contained in:
parent
ceb307aead
commit
ccd665e80c
8 changed files with 309 additions and 207 deletions
|
@ -103,7 +103,7 @@ qf_client_LIBS= \
|
|||
$(top_builddir)/libs/gamecode/builtins/libQFgamecode_builtins.la \
|
||||
$(top_builddir)/libs/audio/libQFcd.la \
|
||||
$(top_builddir)/libs/audio/libQFsound.la \
|
||||
$(top_builddir)/libs/console/maplist.o \
|
||||
$(top_builddir)/libs/console/filelist.o \
|
||||
$(top_builddir)/libs/util/libQFutil.la
|
||||
|
||||
client_LIBS= libqfnet.la libasm.la $(qf_client_LIBS) $(NET_LIBS)
|
||||
|
|
|
@ -1131,6 +1131,9 @@ CL_Init (void)
|
|||
Cmd_AddCommand ("timedemo", CL_TimeDemo_f, "Play a demo as fast as your "
|
||||
"hardware can. Useful for benchmarking.");
|
||||
Cmd_AddCommand ("maplist", Con_Maplist_f, "List maps available");
|
||||
Cmd_AddCommand ("skinlist", Con_Skinlist_f, "List skins available");
|
||||
Cmd_AddCommand ("skyboxlist", Con_Skyboxlist_f, "List skyboxes available");
|
||||
Cmd_AddCommand ("demolist", Con_Demolist_QWD_f, "List demos available");
|
||||
Cmd_AddCommand ("quit", CL_Quit_f, "Exit the program");
|
||||
Cmd_AddCommand ("connect", CL_Connect_f, "Connect to a server 'connect "
|
||||
"hostname:port'");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue