//-------------------------------------------------------------------------------------------
//
// Minecraft menu
//
//-------------------------------------------------------------------------------------------

OptionValue RenderFar
{
	0,	"Show them as sprites"
	1,	"Hide them"
}

OptionMenu "MineOptions"
{
	Title "Minecraft Options"
	
	StaticText "Controls", 1
	
	Control 		"Block menu",		"bopenmenu"
	Control 		"Copy block",		"bcopyblock"
	Control 		"Fly",				"bfly"
	
	StaticText " "
	StaticText "Render distance", 1
	
	Slider 			"Render distance",	"minceraft_renderDistance", 0, 8192, 256
	
	StaticText " "
	StaticText "what to do with the blocks"
	StaticText "beyond the render distance?"
	StaticText " "
	
	Option 			"this:",			"minceraft_renderFar", "RenderFar"
	
	StaticText " "
	StaticText "reduce the field of view"
	StaticText " "
	
	Option 			"this:",			"minceraft_reduceFOV", "OnOff"
	
	StaticText " "
	StaticText "take height and pitch into"
	StaticText "account when calculating"
	StaticText "block visibility"
	StaticText " "
	
	Option 			"this:",			"minceraft_heightRender", "OnOff"
	
	StaticText " "
	StaticText "Voxel overlapping", 1
	StaticText "only for software rendering."
	StaticText "fixes the voxel overlap render"
	StaticText "problem, but it can slow down"
	StaticText "the game or even break the"
	StaticText "main loop."
	StaticText " "
	Option			"enable fix", 		"minceraft_voxelFix", "OnOff"
	
	StaticText " "
	StaticText "you must be in-game for values to update", 1
	StaticText " "
	
	Command			"Update all settings", 		"puke 31"
	SafeCommand		"Set low end settings", 	"puke 35"
	SafeCommand		"Reset to defaults", 		"puke 36"
	
	StaticText " "
	StaticText "bugs? feedback? contact me", 1
	StaticText "at discord: TheKokos#4371", 1
}
 
// there is no AddMenuOption so I have to override the existing options menu
 
OptionMenu "OptionsMenu"
{
	Title "OPTIONS"
	Submenu "Minecraft Options",		"MineOptions" // [Koko]
	Submenu "Multiplayer Options",		"ZA_MultiplayerOptions"
	StaticText " "
	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"
}