pb2menu 1

background none

widget
	type pic
	bpic popup1
	picwidth 240
	picheight 168
	xcent 0
	ycent 0
	halign center
	valign center

widget type text
	text "CHANGE MAP"
	halign center
	xcent 0
	ycent -74

widget
	type text
	text "Map:"
	xcent -110
	ycent -60
widget
	yrel 12
	type field
	width 12
	cvar menu_votemap
	cvar_default "midnight2"
	
widget
	yrel 28
	text "Gamemode:"
widget
	yrel 12
	type select
	width 12
	height 6
	begin list
		"Elim"
		"DM"
		"1-Flag"
		"CTF"
		"Siege"
		"KOTH"
		"Pong"
		"TDM"
	end
	cvar menu_votemapmode
	cvar_default "CTF"

widget
	type text
	ycent -60
	xcent 16
	text "Normal"
	command "menu pop; menu admin_newmap"
	nobg
widget
	type text
	xrel 50
	text "|"
widget
	type text
	xrel 12
	text "ˆEBeta"

widget
	ycent -48
	xcent 14
	type select
	width 12
	size 10
	cvar menu_votemap
	cvar_default "midnight2"
	filedir "pball/maps/beta/*.bsp"
	strip ".bsp"
	strip "pball/maps/beta/"
	doubleclick "cmd newmap beta/$menu_votemap beta/$menu_votemapmode ; menu pop"

widget
	type text
	ycent 64
	xcent -70
	halign center
	text "Change"
	command "cmd newmap beta/$menu_votemap beta/$menu_votemapmode ; menu pop"
widget
	type text
	xcent 0
	halign center
	text "Next"
	command "cmd nextmap beta/$menu_votemap beta/$menu_votemapmode ; menu pop ; echo Next map is beta/$menu_votemap with gamemode beta/$menu_votemapmode"
widget
	type text
	xcent 70
	halign center
	text "Cancel"
	command "menu pop"
