OptionValue "SWWMVoice"
{
	0, "$SWWM_MUTENONE"
	1, "$SWWM_MUTECOMBAT"
	2, "$SWWM_MUTEINTER"
	3, "$SWWM_MUTELINERS"
	4, "$SWWM_MUTEALL"
}
OptionValue "SWWMYesNoAlways"
{
	0, "$TXT_NO"
	1, "$TXT_YES"
	2, "$OPTVAL_ALWAYS"
}
OptionValue "SWWMEnemyDropType"
{
	-1, "$SWWM_DROPS_NONE"
	0, "$SWWM_DROPS_AMMO"
	1, "$SWWM_DROPS_WEAPONS"
}
OptionValue "SWWMUntouchableStrictness"
{
	0, "$SWWM_UNTOUCHABLE_HEALTH"
	1, "$SWWM_UNTOUCHABLE_ARMOR"
	2, "$SWWM_UNTOUCHABLE_ANYHIT"
}
OptionValue "SWWMForceStats"
{
	0, "$SWWM_STATS_DISABLED"
	1, "$SWWM_STATS_ALWAYS"
	2, "$SWWM_STATS_MAPNAME"
}
OptionValue "SWWMFunTrails"
{
	0, "$SWWM_TRAILS_DEFAULT"
	1, "$SWWM_TRAILS_WHITE"
	2, "$SWWM_TRAILS_RED"
	3, "$SWWM_TRAILS_YELLOW"
	4, "$SWWM_TRAILS_GREEN"
	5, "$SWWM_TRAILS_CYAN"
	6, "$SWWM_TRAILS_BLUE"
	7, "$SWWM_TRAILS_MAGENTA"
	8, "$SWWM_TRAILS_RANDOM"
	9, "$SWWM_TRAILS_RAINBOW"
	10, "$SWWM_TRAILS_TRANS"
	11, "$SWWM_TRAILS_DOSE"
	12, "$SWWM_TRAILS_CACO"
	13, "$SWWM_TRAILS_XMAS"
}
OptionValue "SWWMDRLASkill"
{
	0, "$SWWM_DRLASKILL_BABY"
	1, "$SWWM_DRLASKILL_EASY"
	2, "$SWWM_DRLASKILL_NORMAL"
	3, "$SWWM_DRLASKILL_HARD"
	4, "$SWWM_DRLASKILL_NIGHTMARE"
	5, "$SWWM_DRLASKILL_TECHNOPHOBIA"
	6, "$SWWM_DRLASKILL_ARMAGEDDON"
	7, "$SWWM_DRLASKILL_ADAPTIVE"
}
OptionValue "SWWMFilterAchievements"
{
	0, "$SWWM_FILTER_NONE"
	1, "$SWWM_FILTER_OBFUSCATE"
	2, "$SWWM_FILTER_HIDE"
}
OptionValue "SWWMPistolStart"
{
	0, "$TXT_NO"
	1, "$SWWM_PISTOLSTART_MAP"
	2, "$SWWM_PISTOLSTART_CLUSTER"
}
OptionValue "SWWMTagColor"
{
	0, "$SWWM_COL_0"
	1, "$SWWM_COL_1"
	2, "$SWWM_COL_2"
	3, "$SWWM_COL_3"
	4, "$SWWM_COL_4"
	5, "$SWWM_COL_5"
	6, "$SWWM_COL_6"
	7, "$SWWM_COL_7"
	8, "$SWWM_COL_8"
	9, "$SWWM_COL_9"
	10, "$SWWM_COL_10"
	11, "$SWWM_COL_11"
	12, "$SWWM_COL_12"
	13, "$SWWM_COL_13"
	14, "$SWWM_COL_14"
	15, "$SWWM_COL_15"
}
OptionValue "SWWMFriendlyFire"
{
	0, "$SWWM_FF_UNRESTRICTED"
	1, "$SWWM_FF_INCOMING"
	2, "$SWWM_FF_ALL"
}
OptionValue "SWWMTarget"
{
	0, "$TXT_NO"
	1, "$TXT_YES"
	2, "$SWWM_T_MONSTERS"
	3, "$SWWM_T_FRIENDS"
}
OptionMenu "SWWMOptionMenu"
{
	Class "SWWMOptionMenu"
	Title "$SWWM_MTITLE"

	SafeCommand "$SWWM_CRESET", "event swwmresetcvars"
	SafeCommand "$SWWM_ARESET", "event swwmresetachievements"
	Submenu "$SWWM_DBGTITLE", "SWWMDebugMenu"
	StaticText " "
	StaticText "$SWWM_PTITLE", 1
	SWWMPlayTime "$SWWM_PLAYTIME", "swwm_playtime"
	SWWMVoiceOption "$SWWM_VOICETYPE", "swwm_voicetype"
	Option "$SWWM_TAGCOLOR", "swwm_tagcolor", "SWWMTagColor"
	Option "$SWWM_MUTELEVEL", "swwm_mutevoice", "SWWMVoice"
	Slider "$SWWM_VOICEAMP", "swwm_voiceamp", 1, 4, 1, 0
	Option "$SWWM_VOICELOG", "swwm_voicelog", "YesNo"
	Option "$SWWM_BEEPBOOP", "swwm_beepboop", "YesNo"
	Option "$SWWM_ANALOGMOVE", "swwm_analogmove", "YesNo"
	Option "$SWWM_SKIPSKILL", "swwm_skipskill", "YesNo"
	Option "$SWWM_REVIVE", "swwm_revive", "YesNo"
	ScaleSliderFix "$SWWM_REVIVECOOLDOWN", "swwm_revivecooldown", -1, 300, 30, "$SWWM_UNLIMITED", "$SWWM_ONERETRY"
	Submenu "$SWWM_ATITLE", "SWWMAchievementMenu"
	StaticText " "
	StaticText "$SWWM_OTITLE", 1
	Option "$SWWM_SHADERS", "swwm_shaders", "YesNo"
	Slider "$SWWM_FLASH", "swwm_flashstrength", 0.0, 1.0, 0.1, 1
	Slider "$SWWM_BUMP", "swwm_bumpstrength", 0.0, 1.0, 0.1, 1
	Option "$SWWM_PRECISECROSSHAIR", "swwm_precisecrosshair", "SWWMYesNoAlways"
	Option "$SWWM_FUZZ", "swwm_fuzz", "YesNo"
	StaticText " "
	StaticText "$SWWM_UTITLE", 1
	Option "$SWWM_MENUPAUSE", "swwm_menupause", "YesNo"
	Option "$SWWM_FORCESTATS", "swwm_forcestats", "SWWMForceStats"
	Option "$SWWM_PERCENTSTATS", "swwm_percentstats", "YesNo"
	Slider "$SWWM_HUDMARGIN", "swwm_hudmargin", 0, 10, 1, 0
	SWWMScaleField "$SWWM_HUDSCALE", "swwm_hudscale", "$SWWM_HS_AUTOL", "$SWWM_HS_AUTOT"
	SWWMScaleField "$SWWM_HUDSCALE0", "swwm_hudscale0", "$SWWM_HS_AUTOL", "$SWWM_HS_AUTOT"
	SWWMScaleField "$SWWM_HUDSCALE1", "swwm_hudscale1", "$SWWM_HS_AUTOL", "$SWWM_HS_AUTOT"
	SWWMScaleField "$SWWM_HUDSCALE2", "swwm_hudscale2", "$SWWM_HS_AUTOL", "$SWWM_HS_AUTOT"
	Option "$SWWM_HUDALLAMMO", "swwm_hudallammo", "YesNo"
	Option "$SWWM_MM_ENABLE", "swwm_mm_enable", "YesNo"
	Option "$SWWM_MM_MISSILES", "swwm_mm_missiles", "YesNo"
	Option "$SWWM_MM_USECANVAS", "swwm_mm_usecanvas", "YesNo"
	Option "$SWWM_MM_STEPTRACE", "swwm_mm_steptrace", "YesNo"
	Slider "$SWWM_MM_MAXSTEPS", "swwm_mm_maxsteps", 100, 8000, 100, 0
	Slider "$SWWM_MM_MINSTEP", "swwm_mm_minstep", 8, 256, 8, 0
	Option "$SWWM_TARGET", "swwm_targeter", "SWWMTarget"
	ScaleSliderFix "$SWWM_BARDIST", "swwm_bardist", 0, 4000, 100, "$SWWM_UNLIMITED"
	Option "$SWWM_TARGETVAL", "swwm_targetvals", "YesNo"
	Option "$SWWM_TARGETTAG", "swwm_targettags", "YesNo"
	Option "$SWWM_BIGTAGS", "swwm_bigtags", "YesNo"
	Option "$SWWM_DAMNUMS", "swwm_damnums", "YesNo"
	Option "$SWWM_DAMNUMS_COLOR", "swwm_damnums_color", "YesNo"
	Option "$SWWM_SCORENUMS", "swwm_scorenums", "YesNo"
	IfGame(Doom, Heretic)
	{
		Option "$SWWM_POIS", "swwm_pois", "YesNo"
	}
	Option "$SWWM_NOMAPMSG", "swwm_nomapmsg", "NoYes"
	Option "$SWWM_NOINTROEX", "swwm_nointroex", "YesNo"
	Option "$SWWM_FILTERACHIEVEMENTS", "swwm_filterachievements", "SWWMFilterAchievements"
	Option "$SWWM_SHOWMAPTITLE", "swwm_showmaptitle", "YesNo"
	StaticText " "
	StaticText "$SWWM_ETITLE", 1
	Option "$SWWM_BLOOD", "swwm_blood", "SWWMYesNoAlways"
	Option "$SWWM_NOMAGDROP", "swwm_nomagdrop", "NoYes"
	ScaleSliderFix "$SWWM_MAXBLOOD", "swwm_maxblood", -1, 1000, 100, "$SWWM_NONE", "$SWWM_UNLIMITED"
	ScaleSliderFix "$SWWM_MAXGIBS", "swwm_maxgibs", -1, 1000, 100, "$SWWM_NONE", "$SWWM_UNLIMITED"
	ScaleSliderFix "$SWWM_MAXCASINGS", "swwm_maxcasings", -1, 1000, 100, "$SWWM_NONE", "$SWWM_UNLIMITED"
	ScaleSliderFix "$SWWM_MAXDEBRIS", "swwm_maxdebris", -1, 1000, 100, "$SWWM_NONE", "$SWWM_UNLIMITED"
	SafeCommand "$SWWM_CLEARFX", "netevent swwmcleareffects"
	StaticText " "
	StaticText "$SWWM_FTITLE", 1
	Option "$SWWM_FUNTAGS", "swwm_funtags", "YesNo"
	Option "$SWWM_BUTTSFX", "swwm_buttsfx", "YesNo"
	Option "$SWWM_OMNIBUST", "swwm_omnibust", "YesNo"
	Option "$SWWM_SUPERFUEL", "swwm_superfuel", "YesNo"
	Option "$SWWM_PARTYTIME", "swwm_partytime", "YesNo"
	Option "$SWWM_ALTCLEAR", "swwm_altclear", "YesNo"
	Option "$SWWM_FUNTRAILS", "swwm_funtrails", "SWWMFunTrails"
	Option "$SWWM_BONKHAMMER", "swwm_bonkhammer", "YesNo"
	TrapOption "$SWWM_ENGINE", "swwm_engine"
	StaticText " "
	StaticText "$SWWM_BTITLE", 1
	Option "$SWWM_PS_FULLRESET", "swwm_ps_fullreset", "SWWMPistolStart"
	Option "$SWWM_PS_RESETAMMO", "swwm_ps_resetammo", "SWWMPistolStart"
	Option "$SWWM_PS_RESETITEMS", "swwm_ps_resetitems", "SWWMPistolStart"
	Option "$SWWM_PS_RESETHEALTH", "swwm_ps_resethealth", "SWWMPistolStart"
	Option "$SWWM_ENEMYDROPS", "swwm_enemydrops", "SWWMEnemyDropType"
	Option "$SWWM_RESETSCORE", "swwm_resetscore", "YesNo"
	IfGame(Doom, Heretic)
	{
		Option "$SWWM_DOOMFALL", "swwm_doomfall", "YesNo"
	}
	Option "$SWWM_CBTALL", "swwm_cbtall", "YesNo"
	Option "$SWWM_UNCAPALERT", "swwm_uncapalert", "YesNo"
	Option "$SWWM_STRICTUNTOUCHABLE", "swwm_strictuntouchable", "SWWMUntouchableStrictness"
	Option "$SWWM_FRIENDLYFIRE", "swwm_friendlyfire", "SWWMFriendlyFire"
	Option "$SWWM_SWAPWEAPONS", "swwm_swapweapons", "YesNo"
	StaticText " "
	StaticText "$SWWM_ITITLE", 1
	Option "$SWWM_USEWEAPONBAR", "swwm_useweaponbar", "YesNo"
	Option "$SWWM_USETOPICKUP", "swwm_usetopickup", "YesNo"
	Option "$SWWM_SINGLEFIRST", "swwm_singlefirst", "YesNo"
	Option "$SWWM_COLLECTANIM", "swwm_collectanim", "YesNo"
	Option "$SWWM_WEAPONTOOLTIPS", "swwm_weapontooltips", "YesNo"
	SafeCommand "$SWWM_RESETTOOLTIPS", "event swwmresettooltips"
	StaticText " "
	StaticText "$SWWM_MCTITLE", 1
	Option "$SWWM_LDSPOIL", "swwm_ldspoil", "YesNo"
	IfGame(Doom)
	{
		Option "$SWWM_DRLASKILL", "swwm_drlaskill", "SWWMDRLASkill"
		Option "$SWWM_LOBDOUBLED", "swwm_lobdoubled", "YesNo"
	}
}
OptionMenu "SWWMDebugMenu"
{
	Class "SWWMOptionMenu"
	Title "$SWWM_DBGTITLE"

	StaticText "$SWWM_DBGWARN", "DarkGray"
	StaticText " "
	Option "$SWWM_DBG_DEBUGBLAST", "swwm_debugblast", "YesNo"
	Option "$SWWM_DBG_DEBUGVIEW", "swwm_debugview", "YesNo"
	StaticText " "
	SafeCommand "$SWWM_DBG_FIXITEMCAPS", "netevent swwmfixitemcaps"
}
AddOptionMenu "OptionsMenu"
{
	Submenu "$SWWM_MTITLE", "SWWMOptionMenu"
	Submenu "$SWWM_MCREDS", "SWWMCreditsMenu"
}
AddOptionMenu "OptionsMenuSimple"
{
	Submenu "$SWWM_MTITLE", "SWWMOptionMenu"
	Submenu "$SWWM_MCREDS", "SWWMCreditsMenu"
}
ListMenu "MainMenu"
{
	Class "SWWMMainMenu"
	Size Clean
	Animated
	Font "TewiFontOutline", "White", "Sapphire"
	Selector "graphics/DemoIcon.png", -24, 0
	LineSpacing 32
	SWWMLogo
	Position 0, 56
	SWWMTextItemM "$MNU_NEWGAME", "n", "PlayerclassMenu"
	SWWMTextItemM "$MNU_OPTIONS", "o", "OptionsMenu"
	SWWMTextItemM "$MNU_GAMEFILES", "g", "GameFilesMenu"
	SWWMTextItemM "$MNU_INFO", "i", "ReadThisMenu"
	SWWMTextItemM "$MNU_QUITGAME", "q", "QuitMenu"
}
ListMenu "MainMenuTextOnly"
{
	Class "SWWMMainMenu"
	Size Clean
	Animated
	Font "TewiFontOutline", "White", "Sapphire"
	Selector "graphics/DemoIcon.png", -24, 0
	LineSpacing 32
	SWWMLogo
	Position 0, 56
	SWWMTextItemM "$MNU_NEWGAME", "n", "PlayerclassMenu"
	SWWMTextItemM "$MNU_OPTIONS", "o", "OptionsMenu"
	SWWMTextItemM "$MNU_GAMEFILES", "g", "GameFilesMenu"
	SWWMTextItemM "$MNU_INFO", "i", "ReadThisMenu"
	SWWMTextItemM "$MNU_QUITGAME", "q", "QuitMenu"
}
ListMenu "GameFilesMenu"
{
	Class "SWWMCleanMenu"
	Size Clean
	Animated
	Font "TewiFontOutline", "White", "Sapphire"
	Selector "graphics/DemoIcon.png", -24, 0
	LineSpacing 32
	Position 0, 88
	SWWMTextItemM "$MNU_LOADGAME", "l", "LoadGameMenu"
	SWWMTextItemM "$MNU_SAVEGAME", "s", "SaveGameMenu"
}
ListMenu "EpisodeMenu"
{
	Class "SWWMScrollMenu"
	Size Clean
	Animated
	ForceList
	IfGame(Doom, Heretic, Hexen, Strife)
	{
		NetgameMessage "$NEWGAME"
	}
	IfGame(Chex)
	{
		NetgameMessage "$CNEWGAME"
	}
	Font "TewiFontOutline", "White", "Sapphire"
	Selector "graphics/DemoIcon.png", -24, 0
	LineSpacing 32
	SWWMStaticTextM 0, 0, "$MNU_EPISODE", "Blue"
	Position 0, 56
}

ListMenu "SkillMenu"
{
	Class "SWWMScrollMenu"
	Size Clean
	Animated
	ForceList
	Font "TewiFontOutline", "White", "Sapphire"
	Selector "graphics/DemoIcon.png", -24, 0
	LineSpacing 32
	SWWMStaticTextM 0, 0, "$MNU_CHOOSESKILL", "Blue"
	Position 0, 56
}
