OptionMenu "BYOCOptions"
{

	Title "OPTIONS"
	Submenu "BYOC Controls",						"BYOCCustomizeBinds"
	Submenu "BYOC Cosmetics",		"BYOCCustomizeWearables" 
	Submenu "BYOC Prompts",	"BYOCPromptMenu"
	Submenu "BYOC Extras",		"BYOCExtraOptions" 
	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 "Gameplay Options",			"GameplayOptions"
	Submenu "Compatibility Options",	"CompatibilityOptions"
	Submenu "Automap Options",			"AutomapOptions"
	Submenu "HUD Options",				"HUDOptions"
	Submenu "Miscellaneous Options",	"MiscOptions"
	Submenu "Sound Options",			"SoundOptions"
	Submenu "Display Options",			"VideoOptions"
	Submenu "Set video mode",			"VideoModeMenu"
	StaticText " "
	SafeCommand "Reset to defaults",	"reset2defaults"
	SafeCommand	"Reset to last saved",	"reset2saved"
	Command "Go to console",			"menuconsole"
	
}

OptionMenu "BYOCFocusOptions"
{

	Title "BYOC OPTIONS"
	StaticText "                        "
	Submenu "                            Controls",						"BYOCCustomizeBinds"
	Submenu "                            Cosmetics",		"BYOCCustomizeWearables"
	Submenu "                            Prompts",	"BYOCPromptMenu"
	Submenu "                            Extras",		"BYOCExtraOptions" 
	
}

Listmenu "MainMenu"
{
	
	StaticPatch 94, 2, "M_DOOM"
	Position 97, 72
	
	PatchItem "M_NGAME", "n", "PlayerclassMenu"
	ifOption(SwapMenu)
	{
		PatchItem "M_LOADG", "l", "LoadGameMenu"
		PatchItem "M_SAVEG", "s", "SaveGameMenu"
		PatchItem "M_OPTION","o", "BYOCOptions"
		TextItem "BYOC Options","b", "BYOCFocusOptions"
	}
	else
	{
		TextItem "BYOC Options","b", "BYOCFocusOptions"
		PatchItem "M_OPTION","o", "BYOCOptions"
		PatchItem "M_LOADG", "l", "LoadGameMenu"
		PatchItem "M_SAVEG", "s", "SaveGameMenu"
	}
	ifOption(ReadThis)
	{
		PatchItem "M_RDTHIS","r", "ReadThisMenu"
	}
	PatchItem "M_QUITG", "q", "QuitMenu"
	

}

OptionMenu ZA_JoinMenu
{
	Title		"JOIN GAME"

	StaticText	"You are spectating."
	StaticText	" "
	StaticText	" "
	StaticText	" "
	StaticText	" "
	StaticText	" "
	StaticText	" "
	Command		"Character select",		"pukename JoinOnClassMenu"
	Command		"Join Game (Intermission)",			"menu_joingame"
	//Command		"How to play",			"menu_help"
}

// ListMenu "PlayerclassMenu"
// {
// 	IfGame(Doom, Heretic, Hexen, Strife)
// 	{
// 		NetgameMessage "$NEWGAME"
// 	}
// 	IfGame(Chex)
// 	{
// 		NetgameMessage "$CNEWGAME"
// 	}

// 	IfGame(Doom, Strife, Chex)
// 	{
// 		StaticTextCentered 160, 15, "$MNU_CHOOSECLASS"
// 		Position 48, 63
// 		PlayerDisplay 220, 63, "20 00 00", "80 00 40"
// 		MouseWindow 0, 220

// 	}
// 	IfGame(Heretic)
// 	{
// 		StaticTextCentered 160, 15, "$MNU_CHOOSECLASS"
// 		Position 80, 50
// 		PlayerDisplay 220, 50, "20 00 00", "80 00 40"
// 		MouseWindow 0, 220
// 	}
// 	IfGame(Hexen)
// 	{
// 		StaticText 34, 24, "$MNU_CHOOSECLASS"
// 		Position 66, 58
// 		PlayerDisplay 174, 8, "00 07 00", "40 53 40"
// 		MouseWindow 0, 174
// 	}
// 	// The rest of this menu will be set up based on the actual player definitions.
// }




// Listmenu "PlayerClassmenu"
// {
//     Font "NOBZT"
// 	position 25,46
// 	Selector "M_SKULL1",-37,0
// 	Linespacing 19
// 	PlayerDisplay 194, 40, "10 10 10", "80 80 80"
// 	Staticpatch 50,0, "CLSBNR"
// 	Staticpatch 20,40, "CLSSEL"
// 	Staticpatch 27,47, "CLSBLZ"
// 	Staticpatch 27,67, "CLSSLY"
// 	Staticpatch 27,87, "CLSKST"
// 	Staticpatch 27,107, "CLSSAM"
// 	Staticpatch 21,85, "PLSWAIT"
	
// }

// ListMenu "SkillMenu"
// {
//     Position 56, 39
// 	Selector "M_SKULL1",-39,0
// 	staticpatch 49,0, "GMSKILLS"
//     Linespacing 19
// }

// OptionMenu "GameplayCustomizer"
// {
// 	StaticText "$GMOTACUSTOMIZE_TEXT1"
//     StaticText ""
//     StaticText ""

// 	//Equipment
// 	StaticText "$GMOTACUSTOMIZE_TEXT2",1
//     StaticText ""
// 	//Pistol Start stuff
// 	Option "$GMOTACUSTOMIZE_TEXT3", "GMOTA_Pistolstart", "PistolStartType"

//     StaticText ""
//     StaticText ""
	
// 	//Misc
// 	StaticText "$GMOTACUSTOMIZE_TEXT4",1
//     StaticText ""
// 	//Might ring stuff
// 	Option "$GMOTACUSTOMIZE_TEXT5", "GMOTA_BerserkValue", "BerserkValue"

// 	StaticText ""
	
// 	//Jukebox stuff
// 	Option "$GMOTACUSTOMIZE_TEXT6", "GMOTA_NoMusic", "JukeboxStuff"
	
// }


// OptionValue "PistolStartType"
// {
//     0, "Arcade (reset ammo only)"
//     1, "Reset all gear"
//     2, "Continuous Play"
// }


// OptionValue "BerserkValue"
// {
//     0, "+50hp but overheal"
//     1, "Vanilla heal to 100"
// }

// OptionValue "JukeboxStuff"
// {
//     0, "on (Custom music)"
//     1, "off (Use WAD provided music)"
// }
