pb2menu 1



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

widget ycent -50 xcent -140 halign left text "Favs" command "set menu_map mapshrt/favs; set menu_strip mapshrt/favs"
widget yrel 16 text "CtF" command "set menu_map mapshrt/ctf; set menu_strip mapshrt/ctf"
widget yrel 16 text "1-Flag" command "set menu_map mapshrt/1flag; set menu_strip mapshrt/1flag"
widget yrel 16 text "DM" command "set menu_map mapshrt/dm; set menu_strip mapshrt/dm"
widget yrel 16 text "Elim" command "set menu_map mapshrt/elim; set menu_strip mapshrt/elim"
widget yrel 16 text "KotH" command "set menu_map mapshrt/koth; set menu_strip mapshrt/koth"
widget yrel 16 text "Pong" command "set menu_map mapshrt/pong; set menu_strip mapshrt/pong"
widget yrel 16 text "Siege" command "set menu_map mapshrt/siege; set menu_strip mapshrt/siege"

widget
	ycent 10
	xcent -20
	halign center
	valign center
	width 15
	size 13
	type select
	filedir "$menu_map$"
	strip ".bsp"
	strip "pball/maps"
	cvar menuz_mapname
	doubleclick "deathmatch 1; map $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"
	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 "Play $menuz_mapname$ "
	command "deathmatch 1; map $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$"
