ref: cacf93ccb478f52f097a16d545a2aeb515338c78
parent: c083656d0e9390dabfcd9fc97e118cd9c8082f88
author: Simon Howard <[email protected]>
date: Sun Sep 24 09:08:18 EDT 2006
Add "time limit" control in multiplayer settings dialog. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 660
--- a/setup/multiplayer.c
+++ b/setup/multiplayer.c
@@ -59,6 +59,7 @@
int fast = 0;
int respawn = 0;
int udpport = 4815;
+int timer = 0;
txt_button_t *warpbutton;
warptype_t warptype = WARP_DOOM2;
@@ -251,6 +252,12 @@
TXT_AddWidget(table, warpbutton);
TXT_SignalConnect(warpbutton, "pressed", LevelSelectDialog, NULL);
UpdateWarpButton();
+
+ TXT_AddWidget(table, TXT_NewLabel("Time limit"));
+ TXT_AddWidget(table, TXT_NewHorizBox(TXT_NewIntInputBox(&timer, 2),
+ TXT_NewLabel("minutes"),
+ NULL));
+
TXT_AddWidget(window, table);
TXT_AddWidget(window, TXT_NewSeparator("Monsters"));