ListMenu "MainMenu"
{
	StaticPatch 94, 10, "M_DOOM"
	Position 80, 110
	Font "BigFont", "SkulltagBlue", "Gold"
	TextItem "Multiplayer", "m", "ZA_MultiplayerOptions"
	TextItem "Player Setup", "p", "PlayerMenu"
	TextItem "Options", "o", "OptionsMenu"
	TextItem "SkullFort Options", "d", "SFort_OptionsMenu"
	TextItem "Quit", "q", "QuitMenu"
}

ListMenu "PlayerMenu"
{
	StaticTextCentered 160, 6, "$MNU_PLAYERSETUP"
	Font "SmallFont"
	Linespacing 14
	Position 48, 36
	PlayerNameBox "Name", 0, "Playerbox"
	Selector "-", -16, -1
	MouseWindow 0, 220
	PlayerDisplay 220, 80, "20 00 00", "80 00 40", 1, "PlayerDisplay"
	// [TP] Zandronum does not store team in userinfo
	// ValueText "Team", "Team"
	ValueText "Color", "Color"
	Linespacing 10
	Slider "Red", "Red", 0, 255, 16
	Slider "Green", "Green", 0, 255, 16
	Linespacing 14
	Slider "Blue", "Blue", 0, 255, 16
	ValueText "Class", "Class"
	ValueText "Skin", "Skin"
	ValueText "Gender", "Gender", "Gender"
	ValueText "Autoaim", "Autoaim", "Autoaim"
	//Slider "Handicap", "Handicap", 0, 200, 5 // [TP]
	// [TP] This is moved to weapon setup
	// ValueText "Switch on pickup", "Switch", "OffOn"
	ValueText "Always Run", "AlwaysRun", "OnOff"
	TextItem "Weapon Setup", "w", "ZA_WeaponSetup" // [TP]
	Class "PlayerMenu"
}

OptionMenu "OptionsMenu"
{
	Title "OPTIONS"
	Submenu "Multiplayer Options",		"ZA_MultiplayerOptions" // [TP]
	StaticText " " // [TP]
	Submenu "Customize Controls",		"CustomizeControls"
	Submenu "Mouse options",			"MouseOptions"
	//Submenu "Joystick options",			"JoystickOptions"
	StaticText " "
	Submenu "Player Setup",				"PlayerMenu"
	//Submenu "Automap Options",			"AutomapOptions"
	Submenu "HUD Options",				"HUDOptions"
	StaticText " "
	Submenu "DMFlags",					"GameplayOptions"
	Submenu "CompatFlags",				"CompatibilityOptions"
	StaticText " "
	//Submenu "Miscellaneous Options",	"MiscOptions"
	Submenu "Sound Options",			"SoundOptions"
	Submenu "Display Options",			"VideoOptions"
	Submenu "Set video mode",			"VideoModeMenu"
	SafeCommand "Reset to defaults",	"reset2defaults"
	SafeCommand	"Reset to last saved",	"reset2saved"
	Command "Go to console",			"menuconsole"
}

OptionMenu "CustomizeControls"
{
	Title "CUSTOMIZE CONTROLS"
	ScrollTop 2
	StaticTextSwitchable 	"ENTER to change, BACKSPACE to clear", "Press new key for control, ESC to cancel", "ControlMessage"
	StaticText 	""
	StaticText 	"Basic controls", 1
	Control 	"Move forward",			"+forward"
	Control 	"Move backward",		"+back"
	Control 	"Move left",			"+moveleft"
	Control 	"Move right",			"+moveright"
	Control 	"Run",					"+speed"
	Control 	"Use / Open",			"+use"
	Control 	"Jump",					"+jump"
	StaticText 	""
	StaticText 	"Weapons", 1
	Control 	"Fire",					"+attack"
	Control 	"Secondary Fire",		"+altattack"
	Control 	"Weapon Reload",			"+reload"
	Control 	"Next weapon",			"weapnext"
	Control 	"Previous weapon",		"weapprev"
	Control		"Swap weapon", 			"weapswap" // [AK]
	Control		"Weapon Slot 1",		"slot 1"
	Control		"Weapon Slot 2",		"slot 2"
	Control		"Weapon Slot 3",		"slot 3"
	Control		"Weapon Slot 4",		"slot 4"
	Control		"Weapon Slot 5",		"slot 5"
	Control		"Weapon Slot 6",		"slot 6"
	Control		"Weapon Slot 7",		"slot 7"
	Control		"Weapon Slot 8",		"slot 8"
	Control		"Weapon Slot 9",		"slot 9"
	Control		"Weapon Slot 0",		"slot 0"
	StaticText 	""
	StaticText 	"Multiplayer", 1
	Control		"Taunt",				"taunt" // [TP]
	Control		"Spectate",				"spectate" // [TP]
	Control 	"Spectate player",				"spynext"
	Control		"Spectate item carrier",			"spycarrier" // [AK]
	Option		"Join the game",		"joinmenukey", "JoinMenuKeys" // [TP]
	Control		"Switch teams",				"changeteam" // [AK]
	Control 	"Show Scoreboard",		"+showscores"
	Control		"Scroll scoreboard up",		"+sb_scrollup" // [AK]
	Control		"Scroll scoreboard down",	"+sb_scrolldn" // [AK]
	StaticText 	""
	StaticText 	"Chat", 1
	Control 	"Say",					"messagemode"
	Control 	"Team say",				"messagemode2"
	Control		"Private say",				"messagemode3" // [AK]
	Control		"Voice chat",				"+voicerecord" // [AK]
	// [TP] Voting controls
	StaticText 	""
	StaticText 	"Voting", 1
	Control		"Vote yes",				"vote_yes"
	Control		"Vote no",				"vote_no"
	// [TP] --
	StaticText 	""
	StaticText 	"Other", 1
	Control 	"Toggle automap",		"togglemap"
	Control 	"Chasecam",				"chase"
	Control 	"Screenshot",			"screenshot"
	Control  	"Open console",			"toggleconsole"
}

OptionMenu ZA_JoinMenu
{
	Title		"JOIN GAME"

	StaticText	"You are spectating."
	StaticText	""
	StaticText	""
	StaticText	""
	StaticText	""
	StaticText	""
	StaticText	""
	Command		"Join game",			"menu_joingamewithclass"
	Command		"How to play",			"menu_help"
	StaticText	""
	StaticText	"$JOINMENU_PLAYERCLASS" //To change player class, go to Player Setup in the main menu."
}

OptionMenu ZA_JoinTeamMenu
{
	Title		"JOIN TEAM"

	StaticText	"You are spectating."
	StaticText	""
	StaticText	"Please select a team."
	StaticText	""
	StaticText	""
	StaticText	""
	StaticText	""
	Command		"Auto-select",			"menu_autoselect"
	StaticText	""
	JoinMenuTeamOption
	Command		"Join game",			"menu_joingamewithclass"
	StaticText	""
	Command		"How to play",			"menu_help"
	StaticText	""
	StaticText	"$JOINMENU_PLAYERCLASS"//To change player class, go to Player Setup in the main menu."
}

OptionValue "SFort_HitsoundValue"
{
	1, "Quake III: Arena"
	2, "Quake IV"
	3, "Quake Champions"
	4, "Eon Weapons"
	5, "Xonotic"
	6, "Alphatius"
	7, "Call of Duty"
	8, "Quack"
	9, "Doot"
	10, "Poot"
	11, "Bonk"
	12, "Demon 1"
	13, "Demon 2"
	14, "Mancubus"
	15, "Pain Elemental"
	16, "Archvile"
	17, "Jet Set Radio"
}

OptionMenu "SFort_OptionsMenu"
{
	Title "Skulltag Fortress Options"
	StaticText	""
	StaticText	""
	StaticText	"INFO OPTIONS"
	StaticText	""
	Option "Class info", "sfort_classinfo", "OnOff"
	Option "Random tips", "sfort_tips", "OnOff"
	Option "Fire & Poison D.O.T. text", "sfort_dottext", "OnOff"
	StaticText	""
	StaticText	""
	StaticText	"SOUND OPTIONS"
	StaticText	""
	Option "Hit feedback sounds", "sfort_hitfeedback", "OnOff"
	Option "Hit sound", "sfort_hitsound", "SFort_HitsoundValue"
	Slider "Hit volume", "sfort_hitvolume", 0.05, 1.0, 0.05, 2
/*	StaticText	""
	Slider "Team item capture volume", "sfort_capturevolume", 0, 128, 8, 0
	Slider "Team item taken volume", "sfort_takenvolume", 0, 128, 8, 0
	Slider "Team item return volume", "sfort_returnvolume", 0, 128, 8, 0*/
}