summaryrefslogtreecommitdiff
path: root/setup/mainmenu.c
diff options
context:
space:
mode:
authorSimon Howard2006-09-20 18:06:34 +0000
committerSimon Howard2006-09-20 18:06:34 +0000
commita34de2cb06e1adcadf25591c020f11dfd34beb0c (patch)
tree4db3dcf69832d13f9a2a279f2e1902b7c3eec5db /setup/mainmenu.c
parent7768cfde84316dc1181a30eabce731d6089e3cfd (diff)
downloadchocolate-doom-a34de2cb06e1adcadf25591c020f11dfd34beb0c.tar.gz
chocolate-doom-a34de2cb06e1adcadf25591c020f11dfd34beb0c.tar.bz2
chocolate-doom-a34de2cb06e1adcadf25591c020f11dfd34beb0c.zip
Add sound config dialog. Convert some of the mouse settings to use
spin controls. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 636
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 e73a8eb2..0d02a19b 100644
--- a/setup/mainmenu.c
+++ b/setup/mainmenu.c
@@ -68,6 +68,7 @@ void QuitConfirm(void *unused1, void *unused2)
extern void ConfigDisplay();
extern void ConfigKeyboard();
extern void ConfigMouse();
+extern void ConfigSound();
extern void StartMultiGame();
extern void MultiplayerConfig();
@@ -91,6 +92,10 @@ void MainMenu(void)
TXT_AddWidget(window, button);
TXT_SignalConnect(button, "pressed", ConfigMouse, NULL);
+ button = TXT_NewButton("Configure sound");
+ TXT_AddWidget(window, button);
+ TXT_SignalConnect(button, "pressed", ConfigSound, NULL);
+
TXT_AddWidget(window, TXT_NewButton("Save parameters and launch DOOM"));
TXT_AddWidget(window, TXT_NewStrut(0, 1));