LISTMENU "MainMenu"//Edit from MM8BDM-v5b [v5b edit]
{
	IfGame(Doom, Chex)
	{
		StaticPatch 94, 2, "M_DOOM"
		Position 97, 72
	}
	IfGame(Strife)
	{
		StaticPatch 84, 2, "M_STRIFE"
		Position 97, 45
	}
	IfGame(Heretic)
	{
		StaticPatch 88, 0, "M_HTIC"
		StaticPatch 40, 10, "M_SKL01"
		StaticPatch 232, 10, "M_SKL00"
		Position 110, 56
	}
	IfGame(Hexen)
	{
		StaticPatch 88, 0, "M_HTIC"
		StaticPatch 37, 80, "FBULB0"
		StaticPatch 278, 80, "FBULA0"
		Position 110, 56
	}
	
	IfGame(Doom, Strife, Chex)
	{
		Font "DBIGFONT", "MenuWhite"
		TextItem "SinglePlayer", "s", "PlayerclassMenu"
		TextItem "Multiplayer", "m", "ZA_MultiplayerOptions" // [Lego]
		TextItem "Player Setup", "p", "PlayerMenu"
		TextItem "Options", "o", "OptionsMenu"
		Font "DBIGFONT", "MenuBlue"
		TextItem "CBM Menu", "c", "CBM_MainMenu"
		Font "DBIGFONT", "MenuGreen"
		TextItem "Help", "h", "ReadThisMenu"
		Font "DBIGFONT", "MenuWhite"
		TextItem "Quit Game", "q", "QuitMenu"
	}
	
	IfGame(Heretic, Hexen)
	{
		TextItem "$MNU_NEWGAME", "n", "PlayerclassMenu"
		TextItem "$MNU_OPTIONS", "o", "OptionsMenu"
		TextItem "$MNU_GAMEFILES", "g", "GameFilesMenu"
		TextItem "$MNU_INFO", "i", "ReadThisMenu"
		TextItem "$MNU_QUITGAME", "q", "QuitMenu"
	}
}


OptionMenu "OptionsMenu"//[v5c edit]
{
	Title "OPTIONS"
	// [Lego] These were moved to the main menu.
	//Submenu "Multiplayer Options",		"ZA_MultiplayerOptions" // [TP]
	//StaticText " " // [TP]
	Submenu "Customize Controls",		"CustomizeControls"
	Submenu "Mouse options",			"MouseOptions"
	Submenu "Joystick options",			"JoystickOptions"
	StaticText " "
	Submenu "Message Options", 			"MessageOptions"
	StaticText " "
	Submenu "Sound Options",			"SoundOptions"
	Submenu "Display Options",			"VideoOptions"
	Submenu "Set video mode",			"VideoModeMenu"
	Submenu "Advanced Options",			"8BDMAdvancedOptions"
	
	StaticText " "
	
	StaticText	"MM8BDM Options", 1
	StaticText " "
	Option "Original Mugshot Style",			"GD_NoMugshotFrames", "OnOff"
	Option "Display Health Number",			"mm8bdm_healthnumber", "OnOff"
	Option "Display Ammo Number (Maestro)",			"mm8bdm_ammonumber", "OnOff"
	Option "Pickup Weapon Colors",			"mm8bdm_noenergycolors", "OffOn"
	Option "Show Map Creator Cards",		"mm8bdm_mapcards", "8BDM_MapCards"
	Option "CTF Objective Compass",			"mm8bdm_noctfradar", "OffOn"
}

ListMenu "PlayerMenu"//[v5c edit]
{
	StaticTextCentered 160, 6, "$MNU_PLAYERSETUP"
	Font "SmallFont"//, "White", "Cyan"
	Linespacing 14
	Position 48, 36
	IfGame(Doom, Heretic, Strife, Chex)
	{
		MouseWindow 0, 220
		//PlayerDisplay 220, 75, "20 00 00", "80 00 40", 1, "PlayerDisplay"
		//PlayerDisplay 220, 55, "00 00 00", "00 AA AA", 1, "PlayerDisplay"
		PlayerDisplay 220, 55, "20 00 00", "20 FF 40", 1, "PlayerDisplay"
	}
	IfGame(Hexen)
	{
		MouseWindow 0, 220
		PlayerDisplay 220, 75, "00 07 00", "40 53 40", 1, "PlayerDisplay"
	}
	
	IfGame (Doom, Strife, Chex)
	{
		PlayerNameBox "Name", 0, "Playerbox"
		Selector "-", -16, -1
	}
	IfGame(Heretic, Hexen)
	{
		PlayerNameBox "Name", 5, "Playerbox"
		Selector "-", -16, 1
	}
	
	// [TP] Zandronum does not store team in userinfo
	// ValueText "Team", "Team"
	// [TP] For now Zandronum doesn't support colorsets either.
	// ValueText "Color", "Color"
	Linespacing 14
	//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"
	//ValueText "Chat Substitution", "chat_substitution", "OnOff" (doesn't work :/)
	TextItem "Weapon Setup", "w", "ZA_WeaponSetup" // [TP]
	//Font "SmallFont", "MenuGreen" // [C]
	TextItem "Copy Weapon Loadout", "c", "CBM_UserOptionsMenu" // [C]

	Class "PlayerMenu"
}


LISTMENU "CBM_MainMenu"
{
	StaticPatch 108,31, "CBMTITLE"//94,2
	Position 97,72
	Font "DBIGFONT", "MenuOrange"
	TextItem "Class Information", "c", "CBM_ClassHelpMenu"
	Font "DBIGFONT", "MenuYellow"
	TextItem "User Options", "u", "CBM_UserOptionsMenu"
	Font "DBIGFONT", "MenuGreen"
	TextItem "Server Options", "s", "CBM_ServerOptionsMenu"
	Font "DBIGFONT", "MenuCyan"
	TextItem "The Changelog", "s", "CBM_ChangelogMenu"
	Font "DBIGFONT", "MenuWhite"
	TextItem "Maestro Styles", "u", "CBM_MaestroMenu"
}

OptionMenu "CBM_UserOptionsMenu"
{
	Title "CBM User Options"

	StaticText " "
	StaticText "User Options", 1
	StaticText " "
	Option "Lag compensated jupiter beam",			"gd_hjupiter", "OnOff"
	StaticText " "
	Option "Auto's Reload Is Cycled Using", "UEC_AutoToggleMethod", "AutoToggleOptions"
	StaticText " "	
	Option "Jewelman Slot 1", "UEC_Jewel1", "Jewelmanjewels"
	Option "Jewelman Slot 2", "UEC_Jewel2", "Jewelmanjewels"
	Option "Jewelman Slot 3", "UEC_Jewel3", "Jewelmanjewels"
	Option "Jewelman Slot 4", "UEC_Jewel4", "Jewelmanjewels"
	Option "Jewelman Item Reset To Preset", "UEC_JewelResetPlus", "Jewelmanresetplus"
	StaticText " "
	Option "Acidman no-HUD friendly counter", "UEC_AcidmanHUD", "AcidHUDOptions"
	StaticText " "
	Control       "Reload Key     ", "+reload"
	StaticText "User Commands", 1
	StaticText " "
	Command "Console ClassHelp", "menuclasshelp"
	StaticText " "
	StaticText " "
	StaticText "Copy Weapon Loadout", 1
	StaticText " "
	StaticText "LMS Loadouts must be enabled", 1
	StaticText " "
	Option "Range", "LO_range", "LO_RangeOptions"
	StaticText     "(LO_range)",1
	StaticText " "
	Option "Rapid", "LO_rapid", "LO_RapidOptions"
	StaticText     "(LO_rapid)",1
	StaticText " "
	Option "Close", "LO_close", "LO_CloseOptions"
	StaticText     "(LO_close)",1
	StaticText " "
	Option "Power", "LO_power", "LO_PowerOptions"
	StaticText     "(LO_power)",1
	StaticText " "
	Option "Guard", "LO_guard", "LO_GuardOptions"
	StaticText     "(LO_guard)",1
	StaticText " "
	StaticText "Menu Dimming Options", 1
	StaticText " "
	Slider "Dim Amount", "dimamount", 0.0, 1.0, 0.05, 2
	Command "Use default Dim settings", "menu_CBM_ResetDim"
	ColorPicker "Dim Color", "dimcolor"
}

OptionMenu "CBM_ServerOptionsMenu"
{
	Title "CBM Server Options"
	StaticText "", 1
	Option "Class Weaknesses", "YD_WeaknessSetting", "CBMWeaknessOptions"
	Option "CTF Pickup Morph", "YD_NoCTFMorph", "NoYes"
	Option "Pit Protection", "YD_NoPitProtect", "NoYes"
	Option "Scaled Healing", "YD_NoHealingScale", "NoYes"
	Option "LMS Loadouts", "YD_LMSLoadouts", "YesNo"

}

OptionMenu "CBM_MaestroMenu"
{
	Title "Maestro Selection"
	
	StaticText " "
	Option "				Starting Element", "CCBM_MaestroElement", "Maestro_Element"
	StaticText " "
	Option "				Starting Style", "CCBM_MaestroStyle", "Maestro_Style"
	StaticText " "
}

OptionValue Maestro_Element
{
0, "Heat"
1, "Aqua"
2, "Elec"
3, "Wood"
}

OptionValue Maestro_Style
{
0, "Guts"
1, "Custom"
2, "Shield"
//3, "Team"
//4, "Shadow"
//5, "Ground"
//6, "Bug"
}

OptionValue CBMWeaknessOptions
{
0, "No"
1, "Sounds Only"
2, "Yes"
}

OptionValue AutoToggleOptions
{
0, "Weapon Scroll"
1, "Item Use"
}

OptionValue JewelmanJewels
{
0, "\cv+2 Damage"
1, "\cd+1 Bounce"
2, "\cgExplosion Radius"
3, "\chTrail"
4, "\ci30% speed"
5, "\ctGravity"
}

OptionValue JewelmanResetPlus
{
0, "Default"
1, "Preset"
}

OptionValue AcidHUDOptions
{
0, "Off"
1, "On"
}

OptionValue LO_RangeOptions
{
-1, "(-1) Random"
0, "(0) Fire Storm"
1, "(1) Thunder Beam"
2, "(2) Magnet Missile"
3, "(3) Gemini Laser"
4, "(4) Search Snake"
5, "(5) Spark Shock"
6, "(6) Dust Crusher"
7, "(7) Skull Sniper"
8, "(8) Gyro Attack"
9, "(9) Blizzard Attack"
10, "(10) Silver Tomahawk"
11, "(11) Freeze Cracker"
12, "(12) Thunder Bolt"
13, "(13) Noise Crush"
14, "(14) Mega Ball"
15, "(15) Homing Sniper"
16, "(16) Ice Wave"
17, "(17) Copy Vision"
18, "(18) Dynamo Tendril"
19, "(19) Laser Trident"
20, "(20) Fake Repeater"
21, "(21) Grab Buster"
}
OptionValue LO_RapidOptions
{
-1, "(-1) Random"
0, "(0) Wave Buster"
1, "(1) Ice Slasher"
2, "(2) Metal Blade"
3, "(3) Quick Boomerang"
4, "(4) Needle Cannon"
5, "(5) Top Twist"
6, "(6) Water Wave"
7, "(7) Plant Trapper"
8, "(8) Yamato Spear"
9, "(9) Water Balloon"
10, "(10) Wave Burner"
11, "(11) Plug Ball"
12, "(12) Rainbow Galaxy"
13, "(13) Screw Crusher"
14, "(14) Buster Rod Pole"
}
OptionValue LO_CloseOptions
{
-1, "(-1) Random"
0, "(0) Rising Fist"
1, "(1) Rolling Cutter"
2, "(2) Oil Slider"
3, "(3) Air Shooter"
4, "(4) Bubble Lead"
5, "(5) Shadow Blade"
6, "(6) Ring Boomerang"
7, "(7) Power Stone"
8, "(8) Charge Kick"
9, "(9) Flame Blast"
10, "(10) Knight Crush"
11, "(11) Wind Storm"
12, "(12) Wild Coil"
13, "(13) Slash Claw"
14, "(14) Tornado Hold"
15, "(15) Flame Sword"
16, "(16) Thunder Claw"
17, "(17) Tengu Blade"
18, "(18) Magic Card"
19, "(19) Concrete Shot"
20, "(20) Hornet Chaser"
21, "(21) Magma Bazooka"
22, "(22) Triple Blade"
23, "(23) Chill Spike"
24, "(24) Wheel Cutter"
25, "(25) Bubble Bomb"
26, "(26) Electric Shock"
27, "(27) Break Dash"
28, "(28) Salt Water"
29, "(29) Sakugarne"
30, "(30) Hyper Storm Blaster"
}
OptionValue LO_PowerOptions
{
-1, "(-1) Random"
0, "(0) Super Arm"
1, "(1) Hyper Bomb"
2, "(2) Crash Bomb"
3, "(3) Atomic Fire"
4, "(4) Hard Knuckle"
5, "(5) Drill Bomb"
6, "(6) Pharaoh Shot"
7, "(6) Gravity Sphere"
8, "(7)  Napalm Bomb"
9, "(9) Crystal Eye"
10, "(10) Centaur Arrow"
11, "(11) Danger Wrap"
12, "(12) Flash Bomb"
13, "(13) Spread Drill"
14, "(14) Remote Mine"
15, "(15) Commando Bomb"
16, "(16) Photon Missile"
17, "(17) Deep Digger"
18, "(18) Ballade Cracker"
}
OptionValue LO_GuardOptions
{
-1, "(-1) Random"
0, "(0) Time Slow"
1, "(1) Time Bender"
2, "(2) Boobeam Barrier"
3, "(3) Leaf Shield"
4, "(4) Doc Scanner"
5, "(5) Flash Bulb"
6, "(6) Rain Flush"
7, "(7) Dive Sonar"
8, "(8) Skull Barrier"
9, "(9) Star Crash"
10, "(10) Dark Shield"
11, "(11) Centaur Flash"
12, "(12) Junk Shield"
13, "(13) Scorch Wheel"
14, "(14) Ice Wall"
15, "(15) Tornado Blow"
16, "(16) Jewel Satellite"
17, "(17) Water Shield"
18, "(18) Mirror Buster"
19, "(19) Mega Water Barrier"
}

