
// ===================================
//
//      MENUDEF Definition Patch
//
// ===================================

defaultlistmenu
{
    font "BigFont", "Untranslated"

    selector "CURSOR01", -35, -3
    linespacing 16
    font "BigFont", "White"
}

listmenu "MainMenu"
{
	staticpatchcentered 200, 0, "FDLOGO01"
	//staticpatch -140, 0, "HEXAMN1"
	//staticpatch -100, 180, "HEXAMN2"

	statictext 250, 80,"v0.1.1"
	position 40, 100

	textitem "Connect", "1", "EpisodeMenu"
	textitem "Settings","2", "FURSettingsMenu"
	textitem "Load", "3", "LoadGameMenu"
	textitem "Save", "4", "SaveGameMenu"
	linespacing 40
	textitem "Quit", "5", "QuitMenu"

}

ListMenu "EpisodeMenu"
{
    statictextcentered 160, -30, "$FMNU_NEWGAME"

	netgamemessage "$NEWGAME"
	Font "DBIGFONT", "White"
	Linespacing 20
	Position 32, 64
}

ListMenu "SkillMenu"
{
	StaticTextCentered 160, -10, "$FMNU_NEWGAME"
	StaticTextCentered 160, -30, "$FMNU_CHOOSESKILL"
	linespacing 16
	position 32, 64
}

// ============================================ SETTINGS

listmenu "FURSettingsMenu"
{
    statictextcentered 160, -30, "-= SETTINGS =-"

	position 32, 50
	linespacing 20
	textitem "$MNU_FUROPTIONS", "0", "FurOptionsMenu"
	textitem "Character Setup", "2", "FURCharacterSetup"
	textitem "Control Settings", "1", "FURControlsMenu"
	textitem "Sound Settings", "3", "FURSoundMenu"
	textitem "Display Settings", "4", "FURDisplayMenu"
	textitem "Full Options", "6", "OptionsMenu"

}

// ============================================
//
// CONTROLS
//
// ============================================

listmenu "FURControlsMenu"
{
    statictextcentered 160, -30, "-= CONTROLS =-"
	linespacing 32
	position 32, 50
	textitem "$OPTMNU_CONTROLS", "1", "CustomizeControls"
	textitem "$OPTMNU_MOUSE", "2", "MouseOptions"
	textitem "$OPTMNU_JOYSTICK", "3", "JoystickOptions"
}

// ============================================
//
// FURDOOM
//
// ============================================

optionmenu "FurOptionsMenu"
{
	Title "FurDOOM Options"

	statictext ""

	StaticText "Bindings", 1
	Control "Quick Kick", "+Zoom"

	statictext ""

	Statictext "Client Settings", 1
		Option "$OPT_NORELOAD","fur_noreload","ONOFF"
		Option "$OPT_HEALTHBARICON","fursv_healthbar_icon","OnOff"
		Slider "$OPT_SAFEZONEX","furcv_safezonex", 0, 200, 1
		Slider "$OPT_SAFEZONEY","furcv_safezoney", 0, 200, 1

	statictext ""

	StaticText "Server Settings", 1
		Option "$OPT_HEALTHBARSHOW","fursv_healthbar","FUR_HealthBarValues"
		Option "$OPT_FORCERELOAD","fur_forcereload","ONOFF"
		Option "$OPTMNU_FORCEENGINE", "furengine", "FUREngineType"
		Option "$OPTMNU_PICKUPANIM", "fur_pickupanimations", "OnOff"
}

OptionValue "FUREngineType"
{
	-1, "Auto"
	//0, "ZDoom"
	1, "Zandronum"
	2, "GZDoom"
}

OptionValue "FUR_HealthBarValues"
{
	0, "$OPT_HEALTHBARSHOW_OFF"
	1, "$OPT_HEALTHBARSHOW_BOSS"
	2, "$OPT_HEALTHBARSHOW_EVERY"
}

// ============================================
//
// PLAYER
//
// ============================================

listmenu "FURCharacterSetup" //Setup Character
{
	PlayerDisplay 220, 80, "20 00 00", "80 00 40", 1, "PlayerDisplay"
	StaticTextCentered 160, 6, "Character Settings"
	Font "SmallFont"
	Linespacing 15
	Position 0, 40

	PlayerNameBox "Nickname", 0, "Playerbox"
	ValueText "Character", "Class"
	Linespacing 25
	Selector "-", -16, -1
	Linespacing 15

	ValueText "Armor Color", "Color"
	Slider "Red", "Red", 0, 255, 16
	Slider "Green", "Green", 0, 255, 16
	Slider "Blue", "Blue", 0, 255, 16
	Slider "Autoaim", "Autoaim", 0, 35, 1
	ValueText "Switch Weapon on Pickup", "Switch", "OffOn"
	ValueText "Always Run Toggle", "AlwaysRun", "OnOff"
	Class "PlayerMenu"

	Font "TinyFont"
}

// ============================================
//
// DISPLAY
//
// ============================================

listmenu "FURDisplayMenu"
{
    statictextcentered 160, -30, "-= DISPLAY =-"
	linespacing 32
	position 32, 50
	textitem "Interface Settings", "1", "FURInterfaceMenu"
	textitem "HUD Settings", "2", "FURHUDMenu"
	textitem "Video Setup", "3", "FURVideoSetup"
}

OptionMenu "FURInterfaceMenu"
{
	Title "Interface Settings"
	ScrollTop 2
	StaticText ""
	Slider "Brightness",				"Gamma", 0.75, 3.0, 0.05, 2
	Option "Vertical Sync",					"vid_vsync", "OnOff"
	Option "Max FPS",					"cl_capfps", "OffOn"
	Option "Screen Wipe Style",				"wipetype", "Wipes"

	StaticText ""
	Slider "Max Particles",			"r_maxparticles", 100, 10000, 100, 0
	Slider "Max Decals",				"cl_maxdecals", 0, 10000, 100, 0
	Option "Show Weapon",			"r_drawplayersprites", "OnOff"
	Option "Enable Death Camera",				"r_deathcamera", "OnOff"
	Option "Interpolate Enemy Movement",	"nomonsterinterpolation", "NoYes"

	StaticText 	""
	StaticText 	"Messages", 1
	SubMenu "Text Size",				"ZA_TextScaling" // [TP]
	Option "Show Messages",				"show_messages", "OnOff"
	Option "Show Obituaries",			"show_obituaries", "OnOff"
	Option "Center Messaages",			"con_centernotify", "OnOff"
}

OptionMenu "FURHUDMenu"
{
	Title "HUD Settings"
	ScrollTop 2
	StaticText 	""
	Slider "Screen Size",				"screenblocks", 3.0, 12.0, 1.0, 0
	Slider "HUD Size",				"uiscale", 0.0, 8.0, 1.0, 0
	Option "Scale HUD",			"st_scale", "OnOff"
	Option "Toggle HUD Fullscreen",	"hud_scale", "OnOff"

	StaticText " "
	StaticText 	"Crosshair", 1
	Option "Type",				"crosshair", "Crosshairs"
	ColorPicker "Color", 	"crosshaircolor"
	StaticText " "
	Option "Display Health",		"crosshairhealth", "OnOff"
	Slider "Scale",		"crosshairscale", 0.0, 2.0, 0.05, 2

	StaticText " "
	StaticText 	"Other", 1
	Option "Display Tag",				"displaynametags", "DisplayTagsTypes"
	Option "Tag Color",			"nametagcolor", "TextColors", "displaynametags"
}

OptionMenu "FURVideoSetup"
{
	Title "Video Setup"
	ScrollTop 2
	StaticText 	""
	Option "Toggle Fullscreen",		"fullscreen", "YesNo"
	Option "Aspect Ratio",			"menu_screenratios", "Ratios"
	Option "Render Style",			"vid_renderer", "Renderers"
	Option "Force aspect ratio",	"vid_aspect", "ForceRatios"

	StaticText ""
	StaticText "Edit Resolution"
	TextField "$VIDMNU_CUSTOMX", menu_resolution_custom_width
	TextField "$VIDMNU_CUSTOMY", menu_resolution_custom_height
	Option "$VIDMNU_USELINEAR", "vid_scale_linear", "YesNo"

	StaticText 	""
	StaticText 	"Hardware Rendering"
	Option "Enable Textures",			gl_texture,						"YesNo"
	Option "Texture Filter Mode",		gl_texture_filter,				"FilterModes"
	Option "Sector Light Style",		gl_lightmode,					"LightingModes"
	Option "Sprite Billboard",			gl_billboard_mode,				"BillboardModes"
	Slider "Ambient Light Levels",		gl_light_ambient,				1.0, 255.0, 5.0
	Option "Rendering Quality",			gl_render_precise,				"Precision"
	Option "Enable Brightmaps",	gl_brightmap_shader,			"OnOff"
	class VideoModeMenu
}

// ============================================
//
// SOUND
//
// ============================================


OptionMenu "FURSoundMenu"
{
	Title "Sound Settings"
	ScrollTop 2
	StaticText 	""
	Slider "Sound Volume",		"snd_sfxvolume", 0, 1, 0.05
	Slider "Menu Volume",		"snd_menuvolume", 0, 1, 0.05
	Slider "Announcer Volume",	"snd_announcervolume", 0, 1, 0.05 // [TP]
	Slider "Sound Channels",	"snd_channels", 8, 256, 8, 0

	StaticText 	""
	StaticText 	"Music", 1
	Slider "Music Volume",		"snd_musicvolume", 0, 1, 0.05
	Option "MIDI Device",		"snd_mididevice", "MidiDevices"
	Slider "Polyphony Limit",	"midi_voices", 16, 256, 4, 0

	StaticText 	""
	StaticText 	"Other", 1
	Option "Announcer Type",			"cl_announcer", "ZA_Announcers" // [TP]
	Option "Chat Sound",				"chat_sound", "ZA_ChatSound" // [TP]
	Option "Private Chat Sound",		"privatechat_sound", "ZA_ChatSound" // [AK]

	StaticText " "
	Command "Restart Sound",	"snd_reset"
}