|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: mapmenu.c,v 1.10 2003/08/29 22:04:19 stpohle Exp $ */
|
|
|
|
|
/* $Id: mapmenu.c,v 1.11 2003/08/29 23:50:39 stpohle Exp $ */
|
|
|
|
|
/* map/tileset selection menu */
|
|
|
|
|
|
|
|
|
|
#include "bomberclone.h"
|
|
|
|
@ -29,7 +29,7 @@ mapmenu ()
|
|
|
|
|
{12, "Special Trigger :"},
|
|
|
|
|
{13, "Special Push Liq. Moved:"},
|
|
|
|
|
{14, "Special Row :"},
|
|
|
|
|
{0, ""},
|
|
|
|
|
{15, "Gamet Timeout:"},
|
|
|
|
|
{16, "Maptype: Random"},
|
|
|
|
|
{0, ""},
|
|
|
|
|
{15, "Return To Previous Menu"},
|
|
|
|
@ -99,6 +99,8 @@ mapmenu ()
|
|
|
|
|
sprintf (menu[13].text, "Special Push :%d", map.sp_push);
|
|
|
|
|
sprintf (menu[14].text, "Special Row :%d", map.sp_row);
|
|
|
|
|
|
|
|
|
|
sprintf (menu[15].text, "Game Timeout:%d", bman.init_timeout);
|
|
|
|
|
|
|
|
|
|
switch (map.type) {
|
|
|
|
|
case (MAPT_normal):
|
|
|
|
|
sprintf (menu[16].text, "Maptype: NORMAL");
|
|
|
|
@ -222,6 +224,11 @@ mapmenu ()
|
|
|
|
|
menu_get_text ("Row Specials", text, 2);
|
|
|
|
|
map.sp_row = atoi (text);
|
|
|
|
|
break;
|
|
|
|
|
case (15):
|
|
|
|
|
sprintf (text, "%d", bman.init_timeout);
|
|
|
|
|
menu_get_text ("Game Timeout", text, 7);
|
|
|
|
|
bman.init_timeout = atoi (text);
|
|
|
|
|
break;
|
|
|
|
|
case (16):
|
|
|
|
|
map.type++;
|
|
|
|
|
if (map.type >= MAPT_max)
|
|
|
|
|