DEFAULTLISTMENU
{
	Font "BigFont", "Untranslated"

	IfGame(Heretic, Hexen)
	{
		Selector "GCHEAD1", -28, -3 //-28, -1
		Linespacing 20
		Font "BigFont", "Red"
	}
	IfGame(Doom, Chex)
	{
		Selector "GCHEAD1", -28, -6
		Linespacing 16
		Font "BigFont", "Red"
	}
}

LISTMENU "MainMenu"
{
	IfGame(Heretic, Hexen)
	{
		StaticPatch 108, 0, "GUNCLOGO"
		Position 110, 56
		Font "BigFont", "Red"	
		
		TextItem "New Quest",   "n",	"PlayerclassMenu"
		TextItem "Options",	    "o",	"OptionsMenu"
		TextItem "Here be Dragons", "d", "CasterMenu"
		TextItem "Load",        "l",	"LoadGameMenu"
		TextItem "Save",        "s",	"SaveGameMenu"
		TextItem "Postpone",	"q",	"QuitMenu"
	}
	IfGame(Doom, Chex)
	{
		StaticPatch 108, 0, "GUNCLOGO"
		Position 97, 72
		IfOption(ReadThis)
		{
			Position 97, 64
		}
	}
	IfGame(Doom)
	{
		TextItem "Asskick",  "n", "PlayerclassMenu"
		ifOption(SwapMenu)
		{
			TextItem "Load", "l", "LoadGameMenu"
			TextItem "Save", "s", "SaveGameMenu"
			TextItem "Options", "o", "OptionsMenu"
			TextItem "Here be Dragons", "d", "CasterMenu"
		}
		else
		{
			TextItem "Here be Dragons", "d", "CasterMenu"
			TextItem "Options", "o", "OptionsMenu"
			TextItem "Load", "l", "LoadGameMenu"
			TextItem "Save", "s", "SaveGameMenu"
		}
		TextItem "Chicken Out", "q", "QuitMenu"
		
		/*PatchItem "M_NGAME", "n", "PlayerclassMenu"
		ifOption(SwapMenu)
		{
			PatchItem "M_LOADG", "l", "LoadGameMenu"
			PatchItem "M_SAVEG", "s", "SaveGameMenu"
			PatchItem "M_OPTION","o", "OptionsMenu"
		}
		else
		{
			PatchItem "M_OPTION","o", "OptionsMenu"
			PatchItem "M_LOADG", "l", "LoadGameMenu"
			PatchItem "M_SAVEG", "s", "SaveGameMenu"
		}
		PatchItem "M_QUITG", "q", "QuitMenu"*/
	}
}

ListMenu "PlayerclassMenu"
{
	NetgameMessage "$NEWGAME"
	
	IfGame(Heretic, Hexen)
	{
		StaticTextCentered 160, 15, "$MNU_CHOOSECLASS"
		Position 80, 50
		PlayerDisplay 220, 50, "20 00 00", "80 00 40"
		MouseWindow 0, 220
		Font "BigFont", "Red"
	}
	IfGame(Doom)
	{
		StaticTextCentered 160, 15, "$MNU_CHOOSECLASS"
		Position 48, 63
		PlayerDisplay 220, 63, "20 00 00", "80 00 40"
		MouseWindow 0, 220
	}
}

ListMenu "EpisodeMenu"
{
	NetgameMessage "$NEWGAME"
	
	IfGame(Doom, Chex)
	{
		Position 48, 63
		StaticPatch 54, 38, "M_EPISOD"
	}
	IfGame(Heretic, Hexen)
	{
		Position 80, 50
		Font "BigFont", "Red"
	}
}

ListMenu "SkillMenu"
{
	IfGame(Doom, Chex)
	{
		StaticPatch 96, 14, "M_NEWG"
	}
	IfGame(Doom, Strife, Chex)
	{
		StaticPatch 54, 38, "M_SKILL"
		Position 48, 63
	}
	IfGame (Heretic, Hexen)
	{
		Position 118, 50
		Font "BigFont", "Red"
	}
}

OptionMenu "CasterMenu"
{
	Title "CASTER OPTIONS"
	Option "Armor Restriction", "GC_RestrictiveArmorBehavior", "OnOff"
	StaticText "Armor Restriction", 1
	StaticText "When on, it sets armor pickup values to more strict behaviour."
	StaticText "Use it only when you feel sorry for picking up armor you didn't"
	StaticText "want to pick it up yet."
	StaticText ""
	Option "Hammerspace Backpack", "GC_Hammerspace", "OnOff"
	StaticText "Hammerspace Backpack", 1
	StaticText "Expands your backpack by 10% each time you pick up another"
	StaticText "after getting your first one. If you feel like you have too much"
	StaticText "of ammo, here's an option to disable that feature."
	StaticText ""
	Option "Loadsamoney Mode", "GC_Loadsamoney", "OnOff"
	StaticText "WOP YOUR WAD!", 1
	StaticText "If you feel like you don't earn enough for that hoard,"
	StaticText "activate this to make everything literally bleed gold."
	StaticText "What's that spell? LOADSAMONEY! Prob'ly."
	/*StaticText ""
	Option "Gunslinger Mode", "GC_Gunslinger", "OnOff"
	StaticText "Going Akimbo", 1
	StaticText "Feeling like magic is for wazards?"
	StaticText "This will let you dual-wield your guns regardless"
	StaticText "of the fact whether you gunzerk or not!"*/
	StaticText ""
	Option "Crosshair Mode", "GC_Crosshair", "OnOff"
	StaticText "Standard Crosshair", 1
	StaticText "Feeling annoyed by the customized crosshairs?"
	StaticText "You can toggle back to your stock one here."
	StaticText "It activates when you change your weapon."
	StaticText "(If it screws up, going to the next level,"
	StaticText "or loading game should make it work.)"
	StaticText ""
	Option "Quake-style Tilt", "GC_QuakeStyle", "OnOff"
	StaticText "Quake-style Tilt", 1
	StaticText "Makes your screen tilt, adding some nice touch to motion"
	StaticText "while moving around. Might make you dizzy, so don't"
	StaticText "use it if you get motion sickness! Courtesy of Nash."
	/*StaticText ""
	StaticText "Recoil Controls", 1
	Slider "Gun Recoil Factor", "GC_RecoilFactor1", 0.0, 2.0, 0.1, 1
	Slider "Knockback Recoil Factor", "GC_RecoilFactor2", 0.0, 2.0, 0.1, 1
	Option "FOV Recoil", "GC_RecoilFactor3", "OnOff" */
}

OptionMenu "CustomizeControls"
{
	Title 	"CUSTOMIZE CONTROLS"
	ScrollTop 2
	StaticTextSwitchable 	"ENTER to change, BACKSPACE to clear", "Press new key for control, ESC cancels.", "ControlMessage"
	StaticText 	""
	StaticText "Main Controls", 1
	StaticText 	"Necessary to make full use of this mod."
	StaticText 	""
	Control 	"Fire",					"+attack"
	Control 	"Altfire / Cast Spell",	"+altattack"
	Control 	"Spell Wheel / Shop",	"+reload"
	Control 	"Kick",					"+zoom"
	StaticText 	""
	Control 	"Jump / Flight",		"+jump"
	Control 	"Crouch / Pound",		"+crouch"
	Control 	"Use / Open",			"+use"
	Control 	"Move forward",			"+forward"
	Control 	"Move backward",		"+back"
	Control 	"Strafe left",			"+moveleft"
	Control 	"Strafe right",			"+moveright"
	StaticText 	""
	Control 	"Nightvision",			"Vision"
	Control 	"TNT Quick-Toss",		"BobsBrainBestExplosiveEver"
	StaticText 	""
	StaticText 	"Weapons", 1
	Control 	"Next weapon",			"weapnext"
	Control 	"Previous weapon",		"weapprev"
	StaticText 	""
	Control		"Weapon Slot 1",		"slot 1"
	Control		"Weapon Slot 2",		"slot 2"
	Control		"Weapon Slot 3",		"slot 3"
	Control		"Weapon Slot 4",		"slot 4"
	Control		"Weapon Slot 5",		"slot 5"
	Control		"Weapon Slot 6",		"slot 6"
	Control		"Weapon Slot 7",		"slot 7"
	Control		"Weapon Slot 8",		"slot 8"
	Control		"Weapon Slot 9",		"slot 9"
	Control		"Weapon Slot 0",		"slot 0"
	StaticText 	""
	StaticText 	"Inventory", 1
	StaticText 	"Inventory comes handy in here."
	StaticText 	""
	Control 	"Activate item",		"invuse"
	//Control 	"Activate all items",	"invuseall"
	Control 	"Next item",			"invnext"
	Control 	"Previous item",		"invprev"
	StaticText 	""
	Control 	"Drop item",			"invdrop"
	Control		"Query item",			"invquery"
	Control 	"Drop weapon",			"weapdrop"
	StaticText 	""
	StaticText 	"In case of Hexen, check your keyring."
	Control 	"Keys list",			"showpop 2"
	StaticText 	""
	StaticText 	"Quick Spellcasting", 1
	StaticText 	"Remove wazards, dragon stronk!..."
	StaticText 	"Now seriously, you can access spells"
	StaticText 	"quicker, thanks to these buttons."
	StaticText 	""
	Control 	"Next Spell",			"deckforward"
	Control 	"Previous Spell",		"deckbackward"
	StaticText 	""
	Control 	"Quick Spell 1",		"+button1"
	Control 	"Quick Spell 2",		"+button2"
	Control 	"Quick Spell 3",		"+button3"
	Control 	"Quick Spell 4",		"+button4"
	StaticText 	""
	StaticText 	"Quick Item Usage", 1
	StaticText 	"In case you need something immediately."
	StaticText 	""
	Control 	"Tome of Power/Amplifier",	"+PowerOverwhelming"
	Control 	"Health Potion",		"PatchMeUpScotty"
	Control 	"Mana Potion/Mana Capsule",	"+ItsOver9000"
	Control 	"Asbestos Suit",		"Rubberfruit"
	Control 	"Medbag",				"UbermenschUnlimited"
	Control 	"Gunzerk",				"HolyDogShit"
	Control 	"Berserk",				"TentativeButtsecks"
	StaticText 	""
	StaticText 	"Chat", 1
	Control 	"Say",					"messagemode"
	Control 	"Team say",				"messagemode2"
	StaticText 	""
	StaticText 	"Miscellaneous", 1
	Control 	"Toggle automap",		"togglemap"
	Control 	"Chasecam",				"chase"
	Control 	"Coop spy",				"spynext"
	Control 	"Screenshot",			"screenshot"
	Control  	"Open console",			"toggleconsole"
	StaticText 	""
	StaticText 	"The Rest", 1
	Control 	"Turn left",			"+left"
	Control 	"Turn right",			"+right"
	Control 	"Crouch Toggle",		"crouch"
	Control 	"Swim up",				"+moveup"
	Control 	"Swim down",			"+movedown"
	Control 	"Stop flying",			"land"
	Control 	"Mouse look",			"+mlook"
	Control 	"Keyboard look",		"+klook"
	Control 	"Look up",				"+lookup"
	Control 	"Look down",			"+lookdown"
	Control 	"Center view",			"centerview"
	Control 	"Run",					"+speed"
	Control 	"Strafe",				"+strafe"
	Control 	"Show Scoreboard",		"+showscores"
	/*StaticText 	""
	StaticText 	"Strife Popup Screens", 1
	Control 	"Mission objectives",	"showpop 1"
	Control 	"Weapons/ammo/stats",	"showpop 3"*/
}