OptionMenu "OptionsMenu"
{
	Title "OPTIONS"
	Submenu "Wrath of Cronos Options",   "WOCOptions"
	Submenu "DataBase (ZANDRONUM ONLY)",     "WOCDBOpt"
	StaticText " "
	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 "WOCOptions"
{
  Title "Wrath of Cronos Options"
  Slider "Experience Multiplier", "Woc_ExpMult", 0, 1000, 10, 0
  Option "Experience Loss on Death", "WoC_ExpDeath", "ExpLossType"
  Slider "Experience Loss Percentage",	"Woc_ExpDeathAmount", 0, 100, 1, 0
  Slider "Minimum Level",	"WoC_MinLevel", 0, 100, 1, 0
  Slider "Maximum Level",	"WoC_MaxLevel", 0, 900, 10, 0
  StaticText " "
  Option "Gold Loss on Death", "WoC_GoldDeath", "YesNo"
  Slider "Gold Loss Percentage",	"Woc_GoldDeathAmount", 0, 100, 1, 0
  StaticText " "
  Option "Enable Director", "WoC_Director", "OnOff"
  Option "Disable Killing Sprees", "Woc_DisableKillingSpree", "YesNo"
  Option "Disable Awards", "WoC_DisableAwards", "YesNo"
  Option "Globally Disable Floating Bars", "WoC_ServerDisableHealthBar", "YesNo"
  StaticText " "
  Slider "Maximum Speed", "Woc_MaxSpeed", 0, 400, 10
  Slider "Maximum Jump Height", "Woc_MaxJump", 0, 25, 0.1, 1
  Option "Start with Second Weapon", "WoC_WeaponStart", "OnOff"
  StaticText " "
  Option "Randomly Distribute Stat Points", "WoC_RandomStats", "OnOff"
  Option "Randomly Distribute Skill Points", "WoC_RandomSkills", "OnOff"
  StaticText " "
  Option "Use Nashgore Blood", "WoC_GoreLevel", "OnOff"
  StaticText " "
  Option "Damage Indicator", "WoC_DamageIndicator", "OnOff"
  Option "Player Damage Display", "WoC_PlayerDamageDisplay", "OnOff"
  Option "Target Health Bars", "WoC_EnemyHealthBar", "OnOff"
  Option "Allied Floating Health Bars", "WoC_FloatingHealthBar", "OnOff"
  Option "Enemy Floating Health Bars", "WoC_EnemyFloatingHealthBar", "OnOff"
  StaticText " "
  Option "Automatic Pet Leashing", "WoC_AutoPetLeash", "OnOff"
  Slider "Best Health Potion (Minor)", "Woc_MinorPotion", 0.0, 1.0, 0.01, 2
  Slider "Best Health Potion", "Woc_NormalPotion", 0.0, 1.0, 0.01, 2
  Slider "Best Health Potion (Major)", "Woc_MajorPotion", 0.0, 1.0, 0.01, 2
  Slider "Best Health Potion (Supreme)", "Woc_SupremePotion", 0.0, 1.0, 0.01, 2
  Slider "Best Health Potion (Mystic Urn)", "Woc_MysticUrn", 0.0, 1.0, 0.01, 2
  StaticText " "
  StaticText "GZDOOM ONLY!!!"
  Submenu "ZSCRIPT Damage Number Options", "DamNumsOptions"
  Submenu "ZSCRIPT HP Bar Options", "TopHPBars_Settings"
  StaticText " "
}

OptionMenu "TopHPBars_Settings"
{
	Title		"Top HP Bars Settings"
	StaticText	" "
	Option		"Display HP Bars", "WoC_HPBars_Enable", "DamEnabled"
	Slider		"Scale", "WoC_HPBars_Scale", 0.01, 1.0, 0.01, 2
	Slider		"Vertical Offset", "WoC_HPBars_Offset", -0.5, 0.5, 0.01, 2
	Option		"Full Bright", "WoC_HPBars_FullBright", "YesNo"
}

OptionValue "DamPhysics"
{
	0, "Toss"
	1, "Float"
}

OptionValue "DamShootable"
{
	0, "Monsters Only"
	1, "All Shootable Objects"
}

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

OptionString "DamFonts"
{
	"DamNumFontGameDefault", "Game Default"
	"DamNumFontGameSmall"  , "Game Default (small)"
	"DamNumFontClassic"    , "Classic Doom"
	"DamNumFontSmall"      , "Classic Doom (small)"
	"DamNumFontModern"     , "Modern Doom"
	"DamNumFontRavenBig"   , "Raven (big)"
	"DamNumFontRavenSmall" , "Raven (small)"
	"DamNumFontRaventory"  , "Raven (inventory)"
	"DamNumFontStrife"     , "Strife"
	"DamNumFontChex"       , "Chex Quest"
	"DamNumFontHacx"       , "Hacx"
	"DamNumFontHarmony"    , "Harmony"
	"DamNumFontSquare"     , "The Adventures of Square"
	"DamNumFontUrbanBrawl" , "Urban Brawl"
	"DamNumFontBorderlands", "Borderlands"
}

OptionString "DamTranslations"
{
	"DamDefault"  , "$C_DEFAULT"
	"DamBrick"    , "$C_BRICK"
	"DamTan"      , "$C_TAN"
	"DamGray"     , "$C_GRAY"
	"DamGreen"    , "$C_GREEN"
	"DamBrown"    , "$C_BROWN"
	"DamGold"     , "$C_GOLD"
	"DamRed"      , "$C_RED"
	"DamBlue"     , "$C_BLUE"
	"DamOrange"   , "$C_ORANGE"
	"DamWhite"    , "$C_WHITE"
	"DamYellow"   , "$C_YELLOW"
	"DamBlack"    , "$C_BLACK"
	"DamLightBlue", "$C_LIGHTBLUE"
	"DamCream"    , "$C_CREAM"
	"DamOlive"    , "$C_OLIVE"
	"DamDarkGreen", "$C_DARKGREEN"
	"DamDarkRed"  , "$C_DARKRED"
	"DamDarkBrown", "$C_DARKBROWN"
	"DamPurple"   , "$C_PURPLE"
	"DamDarkGray" , "$C_DARKGRAY"
	"DamCyan"     , "$C_CYAN"
}

OptionMenu "DamNumsOptions"
{
	Position -15
	Title       "Damage Number Options"
	StaticText 	"Global Settings", 1
	Option		"Mod Enabled"       , "WoC_Dam_enabled"  , "DamEnabled"
	Option      "Spawn Numbers For*", "WoC_Dam_shootable", "DamShootable"
	Option      "Shotgun Spray"     , "WoC_Dam_spray"    , "YesNo"
	StaticText 	""
	StaticText 	"User Preferences", 1
	Option      "Font"         , "WoC_Dam_fontclass"  , "DamFonts"
	Option      "Color"        , "WoC_Dam_translation", "DamTranslations"
	Option      "Physics"      , "WoC_Dam_physics"    , "DamPhysics"
	Option		"Damage Types" , "WoC_Dam_usetypes"   , "DamEnabled"
	StaticText 	""
	StaticText 	"Settings marked with an asterisk (*)"
	StaticText 	"will only take effect after changing"
	StaticText 	"maps or starting a new game."
}

OptionValue ExpLossType
{
	0, "Off"
	1, "Lose Current Percentage"
	2, "Lose Maximum Percentage"
}

OptionMenu "WOCDBOpt"
{
	Title "DataBase Options"
	//StaticText " "
	StaticText "Client Settings"
	//TextField "My Custom ID", "WOCDB_MyID"
	Option "Automatically Load Character", "WOCDB_Autoload", "OnOff"
	StaticText " "
	StaticText "Server Settings"
	Option "Use Database", "WOCDB_UseDB", "OnOff"
	TextField "Database File", "Databasefile"
	Option "AutoSaves Enabled", "WOCDB_Autosave", "OnOff"
	NumberField "Autosave Intervals (minutes)", "WOCDB_Autosavetimer", 1, 60
}