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)
	{
		PatchItem "M_NGAME", "n", "PlayerclassMenu"
		ifOption(SwapMenu)
		{
			PatchItem "M_LOADG", "l", "LoadGameMenu"
			PatchItem "M_SAVEG", "s", "SaveGameMenu"
			PatchItem "M_OPTION","o", "OptionsMenu"
		}
		else
		{
			PatchItem "M_OPTION","o", "OptionsMenu"
			PatchItem "M_BWOPTS", "b", "BWOptions"
			PatchItem "M_LOADG", "l", "LoadGameMenu"
			PatchItem "M_SAVEG", "s", "SaveGameMenu"
		}
		ifOption(ReadThis)
		{
			PatchItem "M_RDTHIS","r", "ReadThisMenu"
		}
		PatchItem "M_QUITG", "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 "BWOptions"
{
Title "Brutal Wolfenstein Options"
StaticText "Here there are various custom options for"
StaticText "change the gameplay at second of the tastes of the player."
StaticText ""
StaticText "For live the intended experience of Brutal Wolfenstein,don't change anything."
StaticText ""
SubMenu "Enemies Options","EnemyMenu"
SubMenu "Weapons options","WeaponMenu"
SubMenu "Props. options","PropMenu"
//SubMenu "QUI","BWQUI"
Command "Go to Testing Map",			"map test"
}

OptionMenu "bwqui"
{
 Title "Brutal Wolfenstein Arsenal Slot 1 2 3 4 5 6 7 8 "
}

OptionMenu "EnemyMenu"
{
  Title "Enemies Options"
  StaticText "The following options needs the restart of the map for work"
  StaticText ""
  Option "Enemy Spawns", "explodey_zombies", "Option1"
  StaticText ""
  StaticText "Select the way enemies should spawn "
  Statictext ""
  StaticText ""
  Option "Animal person","explodey_kamikas","option6"
  StaticText ""
  StaticText "Replace the dogs with something else...."
}

OptionMenu "PropMenu"
{
Title "Props. Options"
StaticText "The following options needs the restart of the map for work"
StaticText ""
StaticText "" 
Option "Wooden Barrels spawns","explodey_barrels","Option2"
StaticText ""
StaticText "Select the way Wooden barrels should spawn                 "
StaticText ""
StaticText ""
Option "Knights spawns","explodey_knights","Option3"
StaticText ""
StaticText "Select the way Knights should spawn  "
}

OptionMenu "WeaponMenu"
{
Title "Weapons options"
StaticText "The following options needs the restart of the map for work"
StaticText ""
StaticText ""
Option "Ammo spawns","explodey_Ammohts","Option4"
StaticText ""
StaticText "Select the way ammo should spawn"
StaticText ""
StaticText ""
Option "Weapons spawns","explodey_weapons","Option5"
StaticText ""
StaticText "Select the way weapons should spawn"
}



  
  OptionValue "Option1"
{
	0, "Default"
	1, "Normal random"
	2, "Insane random"
}

  OptionValue "Option2"
{
	0, "Default"
	1, "random"
}

  OptionValue "Option3"
{
	0, "Default"
	1, "random"
}

  OptionValue "Option4"
{
	0, "Default"
	1, "Random(Germans weapons)"
	2, "Random(Germans and Allied ammo)"
}

  OptionValue "Option5"
{
	0, "Default"
	1, "Random(Germans weapons)"
	2, "Random(Germans and Allied weapons)"
}

  OptionValue "Option6"
{
	0, "Disabled"
	1, "Enabled"
}
