summaryrefslogtreecommitdiff
path: root/setup/mainmenu.c
diff options
context:
space:
mode:
authorSimon Howard2006-09-20 11:47:24 +0000
committerSimon Howard2006-09-20 11:47:24 +0000
commit0ef3db9af6b98e70658c3d6f997493dcc680c63f (patch)
tree43818fe995700898d7460a7a57b96d84a9dcdac7 /setup/mainmenu.c
parent12ae015f192be46361060efb8fa727c033aec048 (diff)
downloadchocolate-doom-0ef3db9af6b98e70658c3d6f997493dcc680c63f.tar.gz
chocolate-doom-0ef3db9af6b98e70658c3d6f997493dcc680c63f.tar.bz2
chocolate-doom-0ef3db9af6b98e70658c3d6f997493dcc680c63f.zip
Add multiplayer configuration dialog.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 633
Diffstat (limited to 'setup/mainmenu.c')
-rw-r--r--setup/mainmenu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup/mainmenu.c b/setup/mainmenu.c
index a4727519..e73a8eb2 100644
--- a/setup/mainmenu.c
+++ b/setup/mainmenu.c
@@ -69,6 +69,7 @@ extern void ConfigDisplay();
extern void ConfigKeyboard();
extern void ConfigMouse();
extern void StartMultiGame();
+extern void MultiplayerConfig();
void MainMenu(void)
{
@@ -99,6 +100,10 @@ void MainMenu(void)
TXT_AddWidget(window, TXT_NewButton("Join a Network game"));
+ button = TXT_NewButton("Multiplayer configuration");
+ TXT_SignalConnect(button, "pressed", MultiplayerConfig, NULL);
+ TXT_AddWidget(window, button);
+
quit_action = TXT_NewWindowAction(KEY_ESCAPE, "Quit");
TXT_SignalConnect(quit_action, "pressed", QuitConfirm, NULL);
TXT_SetWindowAction(window, TXT_HORIZ_LEFT, quit_action);