pb2menu 1


	
widget ycent -112 xcent 0 halign right text "All " command "menu samelevel map/all"
widget yrel 0 xcent 0 halign left text " Beta" command "menu samelevel map/beta"
widget yrel 10 xcent -120 halign center text "A" command "menu samelevel map/a"
widget xrel 20 halign center text "B" command "menu samelevel map/b"
widget xrel 20 halign center text "C" command "menu samelevel map/c"
widget xrel 20 halign center text "D" command "menu samelevel map/d"
widget xrel 20 halign center text "E" command "menu samelevel map/e"
widget xrel 20 halign center text "ˆ3F"
widget xrel 20 halign center text "G" command "menu samelevel map/g"
widget xrel 20 halign center text "H" command "menu samelevel map/h"
widget xrel 20 halign center text "I" command "menu samelevel map/i"
widget xrel 20 halign center text "J" command "menu samelevel map/j"
widget xrel 20 halign center text "K" command "menu samelevel map/k"
widget xrel 20 halign center text "L" command "menu samelevel map/l"
widget xrel 20 halign center text "M" command "menu samelevel map/m"
widget yrel 10 xcent -120 halign center text "N" command "menu samelevel map/n"
widget xrel 20 halign center text "O" command "menu samelevel map/o"
widget xrel 20 halign center text "P" command "menu samelevel map/p"
widget xrel 20 halign center text "Q" command "menu samelevel map/q"
widget xrel 20 halign center text "R" command "menu samelevel map/r"
widget xrel 20 halign center text "S" command "menu samelevel map/s"
widget xrel 20 halign center text "T" command "menu samelevel map/t"
widget xrel 20 halign center text "U" command "menu samelevel map/u"
widget xrel 20 halign center text "V" command "menu samelevel map/v"
widget xrel 20 halign center text "W" command "menu samelevel map/w"
widget xrel 20 halign center text "X" command "menu samelevel map/x"
widget xrel 20 halign center text "Y" command "menu samelevel map/y"
widget xrel 20 halign center text "Z" command "menu samelevel map/z"
widget yrel 10 xcent -100 halign center text "1" command "menu samelevel map/1"
widget xrel 20 halign center text "2" command "menu samelevel map/2"
widget xrel 20 halign center text "3" command "menu samelevel map/3"
widget xrel 20 halign center text "4" command "menu samelevel map/4"
widget xrel 20 halign center text "5" command "menu samelevel map/5"
widget xrel 20 halign center text "6" command "menu samelevel map/6"
widget xrel 20 halign center text "7" command "menu samelevel map/7"
widget xrel 20 halign center text "8" command "menu samelevel map/8"
widget xrel 20 halign center text "9" command "menu samelevel map/9"
widget xrel 20 halign center text "0" command "menu samelevel map/0"
widget yrel 10 xcent 0 halign center text "Inprogress" command "menu samelevel map/inprogress"

widget ycent -55 xcent -140 halign left text "Favs" command "menu samelevel map/favs"
widget yrel 16 text "CtF" command "menu samelevel map/ctf"
widget yrel 16 text "1-Flag" command "menu samelevel map/1flag"
widget yrel 16 text "DM" command "menu samelevel map/dm"
widget yrel 16 text "Elim" command "menu samelevel map/elim"
widget yrel 16 text "KotH" command "menu samelevel map/koth"
widget yrel 16 text "Pong" command "menu samelevel map/pong"
widget yrel 16 text "Siege" command "menu samelevel map/siege"

widget
	ycent 10
	xcent -20
	halign center
	valign center
	width 15
	size 13
	type select
	filedir "pball/maps/f*.bsp"
	strip ".bsp"
	strip "pball/maps/"
	cvar menuz_mapname
	doubleclick "deathmatch 1; newmap $menuz_mapname$; menu off"

widget
	ycent 50
	xrel 70
	halign left
	valign center
	type select
	width 7
	height 5
	begin pairs
		"-1" "Elim"
		"0" "DM"
		"1" "1-Flag"
		"2" "CTF"
		"3" "Siege"
		"4" "KOTH"
		"6" "Pong"
		"7"	"TDM"
	end
	cvar ctfmode
	cvar_default "CTF"
	
widget
	xrel 0
	yrel -30
	valign bottom
	halign left
	type pic
	picwidth 100
	picheight 75
	pic "mapshots/$menuz_mapname$"

widget 
	ycent 90
	xcent -1
	halign right
	valign top
	type text
	text "Change Map "
	command "deathmatch 1; newmap $menuz_mapname$; menu off"
	
widget
	xrel 2
	halign left
	type text
	text " Cancel"
	command "menu pop"

widget
	yrel -10
	halign center
	type text
	text "Add to Favs"
	command "condump mapshrt/favs/$menuz_mapname$"