From a16cb18b8457862602c6877dad2f729b7c5238dc Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 31 Mar 2013 19:16:25 +0000 Subject: Change WAD selectors in setup tool to file selection widgets. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2572 --- setup/multiplayer.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/setup/multiplayer.c b/setup/multiplayer.c index e8977763..d2a38b1b 100644 --- a/setup/multiplayer.c +++ b/setup/multiplayer.c @@ -101,6 +101,8 @@ static char *gamemodes[] = "Deathmatch 2.0", }; +static char *wad_extensions[] = { "wad", "lmp", "deh", NULL }; + char *net_player_name; char *chat_macros[10]; @@ -154,7 +156,7 @@ static void AddWADs(execute_context_t *exec) { int have_wads = 0; int i; - + for (i=0; i 0) @@ -263,7 +265,7 @@ static void StartGame(int multiplayer) AddWADs(exec); TXT_Shutdown(); - + M_SaveDefaults(); PassThroughArguments(exec); @@ -568,7 +570,9 @@ static void OpenWadsWindow(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(user_data)) for (i=0; i