|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: mapmenu.c,v 1.14 2003/12/26 02:20:10 stpohle Exp $ */
|
|
|
|
|
/* $Id: mapmenu.c,v 1.15 2003/12/28 01:21:43 stpohle Exp $ */
|
|
|
|
|
/* map/tileset selection menu */
|
|
|
|
|
|
|
|
|
|
#include "bomberclone.h"
|
|
|
|
@ -50,9 +50,9 @@ mapmenu ()
|
|
|
|
|
case (MAPS_randgen): // Random Generated Map
|
|
|
|
|
selmt = charlist_findtext (maptypes, "autogenerated");
|
|
|
|
|
d_printf ("autogen\n");
|
|
|
|
|
menu_create_entry ("X Size:", 20, 160, 120, &map.size.x, MAX_FIELDSIZE_X, MENU_entryint,
|
|
|
|
|
menu_create_entry ("X Size:", 20, 160, 120, &map.size.x, MAX_FIELDSIZE_X, MENU_entryint16,
|
|
|
|
|
2);
|
|
|
|
|
menu_create_entry ("Y Size:", 20, 180, 120, &map.size.y, MAX_FIELDSIZE_Y, MENU_entryint,
|
|
|
|
|
menu_create_entry ("Y Size:", 20, 180, 120, &map.size.y, MAX_FIELDSIZE_Y, MENU_entryint16,
|
|
|
|
|
3);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
@ -88,17 +88,17 @@ mapmenu ()
|
|
|
|
|
menu_create_list ("ts", 250, 85, 170, 40, tiletypes, &selts, 4);
|
|
|
|
|
menu_create_list ("tt", 10, 220, 100, 60, tunneltypes, &seltt, 6);
|
|
|
|
|
|
|
|
|
|
menu_create_entry ("Bombs:", 140, 240, 110, &map.bombs, 100, MENU_entryint, 7);
|
|
|
|
|
menu_create_entry ("Fire: ", 140, 260, 110, &map.fire, 100, MENU_entryint, 8);
|
|
|
|
|
menu_create_entry ("Shoes:", 140, 280, 110, &map.shoes, 100, MENU_entryint, 9);
|
|
|
|
|
menu_create_entry ("Mixed:", 140, 300, 110, &map.mixed, 100, MENU_entryint, 10);
|
|
|
|
|
menu_create_entry ("Death:", 140, 320, 110, &map.death, 100, MENU_entryint, 11);
|
|
|
|
|
menu_create_entry ("Bombs:", 140, 240, 110, &map.bombs, 100, MENU_entryint32, 7);
|
|
|
|
|
menu_create_entry ("Fire: ", 140, 260, 110, &map.fire, 100, MENU_entryint32, 8);
|
|
|
|
|
menu_create_entry ("Shoes:", 140, 280, 110, &map.shoes, 100, MENU_entryint32, 9);
|
|
|
|
|
menu_create_entry ("Mixed:", 140, 300, 110, &map.mixed, 100, MENU_entryint32, 10);
|
|
|
|
|
menu_create_entry ("Death:", 140, 320, 110, &map.death, 100, MENU_entryint32, 11);
|
|
|
|
|
|
|
|
|
|
menu_create_entry ("Trigger:", 280, 240, 120, &map.sp_trigger, 30, MENU_entryint, 12);
|
|
|
|
|
menu_create_entry ("Push: ", 280, 260, 120, &map.sp_push, 30, MENU_entryint, 13);
|
|
|
|
|
menu_create_entry ("Row: ", 280, 280, 120, &map.sp_row, 30, MENU_entryint, 14);
|
|
|
|
|
menu_create_entry ("Trigger:", 280, 240, 120, &map.sp_trigger, 30, MENU_entryint32, 12);
|
|
|
|
|
menu_create_entry ("Push: ", 280, 260, 120, &map.sp_push, 30, MENU_entryint32, 13);
|
|
|
|
|
menu_create_entry ("Row: ", 280, 280, 120, &map.sp_row, 30, MENU_entryint32, 14);
|
|
|
|
|
|
|
|
|
|
menu_create_entry ("Game Timeout:", -1, 350, 180, &bman.init_timeout, 900, MENU_entryint, 15);
|
|
|
|
|
menu_create_entry ("Game Timeout:", -1, 350, 180, &bman.init_timeout, 1200, MENU_entryint32, 15);
|
|
|
|
|
|
|
|
|
|
menu_create_button ("Ok", -1, 380, 150, 0);
|
|
|
|
|
|
|
|
|
|