DEFAULTLISTMENU
{
	Font "BigFont", "Untranslated"
	Selector "M_SKULL1", -32, -5
	Linespacing 16
}


LISTMENU "MainMenu"
{

			StaticPatch 78, 20, "M_DOOM"
			Position 97, 72
			TextItem "New Mission", "n", "PlayerclassMenu"
			TextItem "Load Mission", "l", "LoadGameMenu"
			TextItem "Save Progress", "s", "SaveGameMenu"
			TextItem "Options","o", "NewOptionsMenu"
			TextItem "Credits", "c", "VDCredits"
			TextItem "Get out of This Place", "q", "QuitMenu"
}

ListMenu "PlayerclassMenu"
{

		Font "SmallFont", "WHITE"
		StaticText 14, 0, "Choose your initial loadout"
		Font "SmallFont", "WHITE"
		Position 14, 22
		PlayerDisplay 194, 8, "00 07 00", "40 53 40"
		MouseWindow 0, 174
}

ListMenu "EpisodeMenu"
{

		NetgameMessage "$NEWGAME"
		//Position 48, 63
		Position 14, 22
		Font "SmallFont", "WHITE"
		StaticText 14, 0, "Select a Mission to start."
		StaticText 14, 10, "This alpha features the following maps:"
		Font "BigFont", "Untranslated"
}


//-------------------------------------------------------------------------------------------
//
// The skill menu
// Most of this will be filled in at runtime
//
//-------------------------------------------------------------------------------------------

ListMenu "SkillMenu"
{

		Font "SmallFont", "WHITE"
		StaticText 14, 0, "Choose a difficulty setting"
		Font "BigFont", "WHITE"
		Position 14, 22
}

//-------------------------------------------------------------------------------------------
//
// Base definition for load game menu. Only the configurable part is done here
//
//-------------------------------------------------------------------------------------------

ListMenu "LoadGameMenu"
{
	NetgameMessage "$LOADNET"
	StaticText 0, -1, "Load Mission"
	Position 80,54
	Class "LoadMenu"	// uses its own implementation
}

//-------------------------------------------------------------------------------------------
//
// Base definition for save game menu. Only the configurable part is done here
//
//-------------------------------------------------------------------------------------------

ListMenu "SaveGameMenu"
{
	NetgameMessage "$SAVENET" // [TP] Zandronum doesn't allow the client to save the game.
	StaticText 0, -1, "Save Progress"
	Position 80,54
	Class "SaveMenu"	// uses its own implementation
}




ListMenu "NewOptionsMenu"
{
Font "BIGFONT", "RED"
StaticText 97, -20, "Options"
Font "BIGFONT", "Untranslated"
Position 97, 0
//Font "SmallFont", "WHITE"
//StaticText 0, -10, "Options Menu"
//Font "BIGFONT", "Untranslated"

TextItem "Controls","a", "NewControlOptions"
TextItem "Display","v", "NewVideoModeMenu"

TextItem "Graphics","g", "GraphicsMenu"
TextItem "Sounds","p", "SoundOptions"
TextItem "", "", ""
TextItem "Player Settup","p", "PlayerMenu"
TextItem "HUD","p", "HUDOptions"
TextItem "Messages","p", "MessageOptions"
//TextItem "Automap","p", "AutomapOptions"
TextItem "", "", ""



Position 97, 170
TextItem "Engine Settings","o", "OptionsMenu"
Font "SMALLFONT", "WHITE"
StaticText 97, 184, "GZDoom/Zandronum`s original menu."

Font "BIGFONT", "Untranslated"
Position 97, 200
TextItem "Return","r", "MainMenu"
Font "SMALLFONT", "WHITE"
StaticText 97, 214, "Press ESC to return"
}


OptionMenu "VDCredits"
{

   StaticText "VietDoom by Sergeant Mark IV.", 1
   StaticText "Visit www.moddb.com/vietdoom for updates.", 1
   StaticText ""
   StaticText ""
   StaticText  "Voice Acting:", 1
   StaticText "Bab (Vietnamese Soldiers)"
   StaticText ""
   StaticText  "Additional Graphics:", 1
   StaticText  "Captain J (M3A1 Sprites), YukesVonFaust (Mosin Nagant sprites)"
   StaticText "Nmn (M79 base sprite)"
   StaticText ""
   StaticText  "Weapon sprites were made by posing 3D models", 1
   StaticText  "These are the authors of these models:", 1
   StaticText "ThePolygator, Ulfen, nrebei2, alint, vziuh, Robbe Vlaeminck"
   StaticText "Manilov AP, Stefan Engdahl, Kingy, Luchador."
   StaticText ""
   StaticText ""
   StaticText  "Resources from other games:", 1
   StaticText  "Some textures, sprite pieces and sound effects"
   StaticText  "taken from Team TNT's NAM. Revolver sprite from"
   StaticText  "Lobotomy Software`s Powerslave."
   StaticText  ""
   StaticText  "If you know of any uncredited resource, please contact me", 1
   StaticText  "and the person will be credited on the next alpha build.", 1
   StaticText  "You can PM me on Doomworld, Zandronum, Twitter, or Moddb.", 1
   StaticText  "You can find my personal Discord on Brutal Doom`s channel", 1
   StaticText  ""
   StaticText  "Brutal Doom`s Discord has an entire subchannel dedicated", 1
   StaticText  "to discussing this mod, reporting bugs, and setting up online matches", 1
}






OptionMenu NewVideoModeMenu
{
	Title "VIDEO MODE"
	
	Option "Renderer",			"vid_renderer", "Renderers"
	Option "Fullscreen",			"fullscreen", "YesNo"
	Option "Vertical Sync",				"vid_vsync", "OnOff"
	Option "Force aspect ratio",	"vid_aspect", "ForceRatios"
	Slider "Brightness",				"Gamma", 0.75, 3.0, 0.05, 2
	Option "Screen wipe style",			"wipetype", "Wipes"
	Option "Show Framerate",			"vid_fps", "OnOff"
	StaticText " "

	StaticText "Change Resolution", 1
	StaticText "16:9 Resolutions"
	Command "1280x720", "vid_setmode 1280 720"
	Command "1600x900", "vid_setmode 1600 900"
	Command "1920x1080 (1080p HD)", "vid_setmode 1920 1080"
	Command "2560x1440 (1440p HD)", "vid_setmode 2560 1440"
	Command "3840x2160 (4K UHD)", "vid_setmode 3840 2160"

	StaticText "4:3 Resolutions"
	Command "800x600", "vid_setmode 800 600"
	Command "1024x768", "vid_setmode 1024 768"
	Command "1280x960", "vid_setmode 1280 960"
	Command "1600x1200 (1080p HD)", "1600 1200"


	StaticText "16:10 Resolutions"
	Command "1440x900", "vid_setmode 1440 900"
	Command "1680x1050", "vid_setmode 1680 1050"
	Command "1920x1200", "vid_setmode 1920 1200"

	StaticText " "
	StaticText "Custom Resolution", 1
	TextField "Screen Width", "vid_defwidth"
	TextField "Screen Height", "vid_defheight"
	Command "Apply", "vid_setmode $vid_defwidth $vid_defheight"
}

OptionMenu GraphicsMenu
{
	Title "GRAPHICS SETTINGS"
  Option "Blood Amount (Server/Singleplayer)", zdoombrutalblood, "BrutalBlood"
  Option "Blood Amount (Client/Multiplayer)", bd_bloodamount, "BrutalBlood"
  Option "Water Ripple Effects", bd_disablewaterripples2, "YesOrNoFalse"
  Option "Spent Casings stays on floor forever", bd_infinitecasings, "YesOrNo"
  Option "Max Wall Decals", cl_maxdecals, "maxdecals"
  Option "Max Gibs and Blood Spots", sv_corpsequeuesize, "maxgibs"
  Option "Death camera",				r_deathcamera, "OnOff"
  StaticText " "
  Option "Engine", "isrunningzandronum", "SelectEngineType"

  StaticText "Please select the engine you are running correctly so CVARs"
  StaticText "can work properly"
  StaticText " "
  Option "Dynamic Lights enabled",	gl_lights,						"YesNo"
  Option "Use shaders for lights",	gl_dynlight_shader,				"YesNo"
  Option "Sector light mode",			gl_lightmode,					"LightingModes"
  Option "Enable brightness maps",	gl_brightmap_shader,			"OnOff"
	Option "High Quality Resize mode",	gl_texture_hqresize,			"HqResizeModes"
	Option "Texture Filter mode",		gl_texture_filter,				"FilterModes"
	Option "Anisotropic filter",		gl_texture_filter_anisotropic,	"Anisotropy"
  Submenu "Advanced Options", OpenGLOptions
 }


OptionMenu "VideoOptions"
{
	Title "DISPLAY OPTIONS"
	
	Submenu "Scoreboard Options", 		"ScoreboardOptions"
	StaticText " "
	Slider "Screen size",				"screenblocks", 3.0, 12.0, 1.0, 0
	Slider "Brightness",				"Gamma", 0.75, 3.0, 0.05, 2
	Option "Vertical Sync",				"vid_vsync", "OnOff"
	Option "Column render mode",		"r_columnmethod", "ColumnMethods"
	Slider "Camera shake intensity",	"r_quakeintensity", 0.0, 1.0, 0.05, 2
	StaticText " "
	Option "Screen wipe style",			"wipetype", "Wipes"

	IfOption(Windows)
	{
		Option	"Show ENDOOM screen",	"showendoom", "Endoom"
		//Option "DirectDraw palette hack", "vid_palettehack", "OnOff"
		//Option "Use attached surfaces", "vid_attachedsurfaces", "OnOff"
	}
}


OptionMenu "NewControlOptions"
{
	Title "CONTROL OPTIONS"
	StaticText 	""
	Submenu "Joystick options", "JoystickOptions"
	Submenu "Mouse options", "MouseOptions"
	StaticText 	""
	StaticTextSwitchable 	"ENTER to redefine a control, BACKSPACE to clear", "Press new key for control, ESC to cancel", "ControlMessage"
	StaticText 	""
	StaticText 	"Movement", 1
	Control 	"Move forward",			"+forward"
	Control 	"Move backward",		"+back"
	Control 	"Strafe left",			"+moveleft"
	Control 	"Strafe right",			"+moveright"
	Control 	"Jump",					"+jump"
	Control 	"Crouch",				"+crouch"
	Control 	"Crouch Toggle",		"crouch"
	Control 	"Run",					"+speed"
	Control 	"Third/First Person Mode",	"chase"
	StaticText 	""

	StaticText 	"Weapons", 1
	Control 	"Fire",					"+attack"
	Control 	"Secondary Fire",		"+altattack"
	Control		"Reload", "puke 303"
	Control		"Throw Grenade", "puke 315"
	Control 	"Kick/Bayonet", "puke 301"
	Control 	"Next weapon",			"weapnext"
	Control 	"Previous weapon",		"weapprev"
	Control		"Select Pistol/Knife",		"slot 1"
	Control		"Select Rifle",		"slot 2"
	Control		"Select Shotgun/SMG/GL",		"slot 3"
	Control		"Select Heavy Weapon",		"slot 4"
	Control		"Select Equipment",		"slot 5"
	Control		"Select Binoculars",		"slot 6"
	Control 	"Drop weapon",			"weapdrop"
	StaticText 	""
	
	StaticText 	"Inventory", 1
	Control		"Bandage Wounds", "puke 316"
	Control 	"Activate item",		"invuse"
	Control 	"Activate all items",	"invuseall"
	Control 	"Next item",			"invnext"
	Control 	"Previous item",		"invprev"
	Control 	"Drop item",			"invdrop"
	Control		"Query item",			"invquery"
	StaticText 	""
	
	StaticText 	"Helicopter Controls", 1
	Control 	"Fly / Swim up",		"+moveup"
	Control 	"Fly / Swim down",		"+movedown"
	StaticText 	""
	
	
	StaticText 	"Chat", 1
	Control 	"Say",					"messagemode"
	Control 	"Team say",				"messagemode2"
	StaticText 	""

	
	// [TP] Voting controls
	StaticText 	"Misc", 1
	Control 	"Toggle automap",		"togglemap"
	Control		"Vote yes",				"vote_yes"
	Control		"Vote no",				"vote_no"
	Control 	"Coop spy",				"spynext"
	Control 	"Screenshot",			"screenshot"
	Control		"Taunt",				"taunt" // [TP]
	Control  	"Open console",			"toggleconsole"
	StaticText 	""
}


OptionValue "BrutalBlood"
{
	1, "1) Low"
	2, "2) Normal"
	3, "3) Lots"
	4, "4) Extreme"
	666, "5) Comical"
}

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

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





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



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

OptionValue "screenblocksize"
{
	10, "Classic HUD"
	11, "Custom HUDs"
	12, "No HUD"
}


OptionValue "HUDType"
{
	1, "Brutal Simple 16:9"
	2, "Brutal Simple 4:3"
	3, "Minimalist"
	4, "Full Helmet"
}

OptionValue "UIScaleSize"
{
	1, "1"
	2, "2"
	3, "3"
	4, "4"
	5, "5"
	6, "6"
	7, "7"
	8, "8"
}

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"
}


