ListMenu "MainMenu"
{
IfGame(Doom, Chex)
	{
		StaticPatch 94, 2, "M_DOOM"
		Position 97, 72
		IfOption(ReadThis)
		{
			Position 97, 64
		}
	}
	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)
	{
		TextItem "New Game", "n", "PlayerclassMenu"
		ifOption(SwapMenu)
		{
			TextItem "Load Game", "l", "LoadGameMenu"
			TextItem "Save Game", "s", "SaveGameMenu"
			TextItem "Options", "o", "OptionsMenu"/////////////
			TextItem "BBGore Options", "b", "BBGoreOptions"
		}
		else
		{
			TextItem "Options", "o", "OptionsMenu"/////////////////////
			TextItem "BBGore Options", "b", "BBGoreOptions"
			TextItem "Load Game", "l", "LoadGameMenu"
			TextItem "Save Game", "s", "SaveGameMenu"
		}
		ifOption(ReadThis)
		{
			TextItem "Read This!","r", "ReadThisMenu"
		}
		TextItem "Quit Game", "q", "QuitMenu"
	}
	
	IfGame(Heretic, Hexen)
	{
		TextItem "$MNU_NEWGAME", "n", "PlayerclassMenu"
		TextItem "$MNU_OPTIONS", "o", "OptionsMenu"/////////////////////
		TextItem "BBGore Options", "b", "BBGoreOptions"
		TextItem "$MNU_GAMEFILES", "g", "GameFilesMenu"
		TextItem "$MNU_INFO", "i", "ReadThisMenu"
		TextItem "$MNU_QUITGAME", "q", "QuitMenu"
	}
}

OptionMenu "BBGoreOptions"
{


  Title "Brutal Bolognese Gore Options"
	StaticText " "

  Option "Which mode are you playing", "isrunningzandronum", "SelectEngineType"
  StaticText "Requires (Singleplayer/Multiplayer)"
  StaticText "different CVARs for blood amount."
  StaticText " "
  
  Option "Blood Amount (Server/Singleplayer)", "zdoombrutalblood", "BrutalBlood"
  Option "Blood Amount (Client/Multiplayer)", "bd_bloodamount", "BrutalBlood"
  StaticText "How much blood you want to see?"
  StaticText " "
  
  Option "Minimum health for gibbing ", "bd_mingibhealth", "mingibhealth"
  StaticText "cvar bd_mingibhealth"
  StaticText "Increase this if you are seeing zombies being"
  StaticText "exploded by pea shooter bullets,"
  StaticText "or decrease it for maximum hilarity."
  StaticText " "
  
  Option "Max Wall Decals", "cl_maxdecals", "maxdecals"
  Option "Max Gibs and Blood Pools", "sv_corpsequeuesize", "maxgibs"
  StaticText " "
  
  Option "Ludicrous gibs", "bd_ludicrousgibs", "YesOrNo"
  StaticText "Double the gibs, double the fun!"
  StaticText "If that isn't clear enough, it doubles the gib spawns."
  StaticText " "
  
  Option "Keep Corpses", "bd_keepcorpse", "YesOrNo"
  StaticText "If enabled corpses won't disappear on gibbing."
  StaticText " "
  
  Option "Chunky Mode", "bd_chunky", "YesOrNo"
  StaticText "Every shot blows off chunks of meat from your enemies!"
  StaticText "This is not affected by ludicrous gibs."
  StaticText " "
  
  Option "Health-based Gibbing", "bd_healthgib", "YesOrNo"
  StaticText "Things with more health will gib more."
  StaticText " "
  
  Submenu "Advanced Settings", "BBGoreAdvanced"
}

OptionMenu "BBGoreAdvanced"
{
  Title "BBGore Advanced Settings"
  StaticText " "
  
  Option "Gibbing Mode", "bd_allgib", "whatgibs"
  StaticText "Normal mode: the way bbgore normally works."
  StaticText "Everything gibs: well, take a guess."
  StaticText "Tags +NOBLOOD and +NOBLOODDECALS: things with"
  StaticText "that actor tag can now gib."
  StaticText "Different renderstyles gib: things like spectres now gib,"
  StaticText "however things that do not bleed cannot gib."
  StaticText " "
  Option "Enable Janitor (Server/Singleplayer)", "zdoombrutaljanitor", "YesOrNo"
  Option "Enable Janitor (Client/Multiplayer)", "bd_lowgraphicsmode", "YesOrNo"
  Slider "Seconds for clean.", "bd_janitorremovegibsseconds", 0.0, 120.0, 1.0, 0
  StaticText "Makes gibs disappear."
  StaticText " "
}

OptionValue "BrutalBlood"
{
	1, "Minimal"
	2, "Normal"
	3, "Quentin Tarantino"
	4, "Anime Blood"
	5, "Geisers of Blood"
}

OptionValue "mingibhealth"
{
	 1, "Always Gib"
	-5, "-5"
	-10, "-10"
	-15, "-15"
	-20, "-20"
	-25, "-25"
	-30, "-30"
	-40, "-40"
	-50, "-50"
	-60, "-60"
	-70, "-70"
	-80, "-80"
	-90, "-90"
	-100, "-100"
	-100000000, "Never Gib"
}

OptionValue "YesOrNo"
{
	0, "No"
	1, "Yes"
}


OptionValue "SelectEngineType"
{
	1, "Multiplayer"
	0, "Singleplayer"
}



OptionValue "maxdecals"
{
	1, "0"
	128, "128"
	512, "512"
	1024, "1024"
	2056, "2056"
	5102, "5102"
	9999, "9999"
}


OptionValue "maxgibs"
{
	1, "0"
	64, "64"
	100, "100"
	500, "500"
	1000, "1000"
	2000, "2000"
	5000, "5000"
	10000, "10000"
	25000, "25000"
	50000, "50000"
}

OptionValue "whatgibs"
{
	0, "Normal"
	1, "Everything"
	2, "Tags +NOBLOOD and +NOBLOODDECALS"
	3, "Different renderstyles"
}