AddOptionMenu "OptionsMenu"
{
	StaticText ""
	SubMenu "Babel Options",			"ModOpts"
}

OptionMenu "ModOpts"
{
	Title "BABEL OPTIONS"
	SubMenu "Sound & Effects Settings",			"VisualOpts"
	SubMenu "Performance Settings",		"PerformanceOpts"
	SubMenu "Compatibility Switches",	"debugOptions"
	StaticText 	""
	StaticText 	"Monsters Only Setting"
	Slider "Fear Multplier", "egr_mo_fearscale", 0, 10.0, 0.5
	SubMenu "Credits List", 			"CreditsList"
}

OptionMenu "VisualOpts"
{
	Title 	"Effects Settings"
	StaticText "Some visual settings can be more taxing than others.", "Dark Gray"
	StaticText "If you experience FPS drops, consider reducing some settings", "Dark Gray"
	StaticText 	""
	
	StaticText "Bullet Settings", "Gold"
	Option "Gun Flashes", "egr_gl_flash", "bGunFlashes"
	Option "Player Tracer Type", "egr_player_tracer_type", "iTracerType"
	Option "Enemy Tracer Type", "egr_enemy_tracer_type", "iTracerType"
	Option "Bullet Ricochet Sounds", "egr_bullet_ricochet_sound", "bRicochetSounds"
	StaticText 	""
	
	StaticText "Gore", "Gold"
	Option "Extra Gore", "egr_gore", "bGore"
	Option "Extra Gore Amount", "egr_gore_level", "iGoreLevel"
	StaticText 	"Explosions in Babel cause bleeding like a hitscan for clarity. This setting can disable that.", "Dark Gray"
	Option "Explosions Cause Bleeding", "egr_explosion_bleed", "bGenericYesNo"
	StaticText 	""
	
	StaticText "Particles", "Gold"
	StaticText "This switch will disable all particle spawning that is not associated with fear or combo indicators.", "Dark Gray"
	Option "Particle Effect Toggle", "egr_particle_toggle", "bParticles"
	StaticText "Increasing this setting will result in thicker particle clouds.", "Dark Gray"
	Slider "Additional Particle Density", "egr_particle_density", 0, 5, 1
	StaticText 	""
	StaticText "Misc", "Gold"
	Option "New Pain Sounds", "egr_new_painsounds", "bNewPainSounds"
	StaticText 	""
StaticText	"Removes all quake effects from explosions. Has no gameplay effect, purely cosmetic. Default:Off", "Dark Gray"
	Option "Remove Quake Effects", "egr_remove_quake", bGenericOnOff
}

OptionMenu "PerformanceOpts"
{
	Title 	"Performance Settings"
	StaticText 	"Please note that these settings do not change the", "Dark Gray"
	StaticText 	"behavior of gore that is already spawned.", "Dark Gray"
	StaticText "Cleanup Settings", "Gold"
	Option "Clean Gore", "egr_clean_gore", "bCleanGore"
	Slider "Max Gore", "egr_clean_gore_queue_size", 100, 5000, 100
	StaticText 	""
	
	StaticText "Autosave Settings", "Gold"
	Option "Autosave", "egr_autosave", "bAutosave"
	Slider "Autosave Interval", "egr_autosave_interval", 10, 600, 5
}

OptionMenu "debugOptions"
{
	Title 	"Debug and Compatibility Options"
	StaticText 	"Makes Revenants and Arachnotrons fire their projectiles", "Dark Gray"
	StaticText 	"from the vanilla positions.", "Dark Gray"
	Option "Vanilla Projectile Origins", "egr_default_projectile_origins", "bDefaultProjectileOrigins"
	StaticText 	"Controls whether or not Archvile summons can drop shotguns, or just shells.", "Dark Gray"
	Option "Archvile Summon Shotguns", "egr_vile_shotgun_drop", "bGenericYesNo"
}

//The fact that I needed to add this much padding to center everything is a travesty. For fuck's sake, add an option to do this automatically that doesn't involve me just writing ZScript to do it
OptionMenu CreditsList
{
	StaticText "==Realm 667==                                                                                         ", "Gold"
	StaticText "-Weapon Wads (mainly sprite edits, some sounds):                                                      "
	StaticText "  Captain Toenail (SMG base sprite)                                                                   ", "Gray"
	StaticText "  That_One_Doom_Mod (Heavy pistol sound, I think)                                                     ", "Gray"
	StaticText "  Shadesmaster (Pulse Rifle base)                                                                     ", "Gray"
	StaticText "  JoeyTD (Pulse Rifle base)                                                                           ", "Gray"
	StaticText ""
	StaticText "==Doomworld/ZDF/General Mods==                                                                        ", "Gold"
	StaticText "-Smooth Doom Team (Most weapon sprites, gib sprites, shell casings):                                  "
	StaticText "  Perkristan (Of note here, also apparently made the fist sounds)                                     ", "Gray"
	StaticText "  Minigunner                                                                                          ", "Gray"
	StaticText "  Blox                                                                                                ", "Gray"
	StaticText "  Z86                                                                                                 ", "Gray"
	StaticText "  Uboa                                                                                                ", "Gray"
	StaticText "  Blue Shadow                                                                                         ", "Gray"
	StaticText "  Mike12                                                                                              ", "Gray"
	StaticText "  NeuralStunner                                                                                       ", "Gray"
	StaticText "  JoeyTD (weapon sprites)                                                                             ", "Gray"
	StaticText "  SidDoyle (gib sprites)                                                                              ", "Gray"
	StaticText "  Turbo (resources for shell casings)                                                                 ", "Gray"
	StaticText "-Doom 2 Minor Sprite Fixing Project (some credits trimmed because those fixes weren't used):          "
	StaticText "  Revenant100 aka Marphy Black (main author)                                                          ", "Gray"
	StaticText "  DoomJedi - Wolfenstein SS firing rotation sprites                                                   ", "Gray"
	StaticText "  ItsNatureToDie - SS firing rotation sprites                                                         ", "Gray"
	StaticText "  PSTrooper - SS pain rotation sprites                                                                ", "Gray"
	StaticText "  John Romero - Releasing the missing rotation sprites                                                ", "Gray"
	StaticText "  Blastfrog - feedback and suggestions                                                                ", "Gray"
	StaticText "  HavoX - Arachnotron death frame fix                                                                 ", "Gray"
	StaticText "  maxmanium - Feedback and suggestions, assistance with duplicate palette colors technical review     ", "Gray"
	StaticText "-ZZYZX (For spotting some of my terrible coding that was leaking memory)                              "
	StaticText "-Marisa Kirisame (for the basis of the Titlemap Billboard trick that I expanded on)                   "
	StaticText "-Zrrion the Insect (64k Enhancer, where I shamelessly took the base for Babel's blood effects from)   "
	StaticText ""
	StaticText "==/vr/ and others==                                                                                   ", "Gold"
	StaticText "-Eric (made BURL TUMD, which I took gameplay ideas from for FKER, which I transferred to Babel)       ", "DarkGreen"
	StaticText "-TheZombieKiller (code help, in fact a lot of it)                                                     ", "Purple"
	StaticText "-Marrub (sounds for PSMG)                                                                             ", "DarkGreen"
	StaticText "-GMOTA_Guy (PSMG sprite, general moral support)                                                       ", "Purple"
	StaticText "-Anons in general for feedback and advice on many things, and generally being the best Doom community ", "DarkGreen"
	StaticText ""
	StaticText "==Vidya==                                                                                             ", "Gold"
	StaticText "-Fallout 4 (Ricochet sounds, also thanks Yholl/Shivers for putting them in FD)                        "
	StaticText "-Valve (splash sounds)                                                                                "
	StaticText "-Monolith (splash sounds)                                                                             "
	StaticText ""
	StaticText "==Youtube==                                                                                           ", "Gold"
    StaticText "-MONST3R MUSIC (Song: Derelict Dreams https://www.youtube.com/watch?v=sMdZMiH8ZrE)                    "
}
OptionValue "bNewPainSounds"
{
	0, "Sounds Off"
	1, "Sounds On"
}

OptionValue "bRicochetSounds"
{
	0, "Sounds Off"
	1, "Sounds On"
}

OptionValue "bCleaner"
{
	0, "Cleaner Inactive"
	1, "Cleaner Active"
}

OptionValue "iGoreLevel"
{
	1, "Minor"
	2, "Reduced"
	3, "Normal"
	4, "Full"
}

OptionValue "bGunFlashes"
{
	0, "Vanilla Style"
	1, "Dynamic Lights"
}

OptionValue "bAutosave"
{
	0, "Autosave Off"
	1, "Autosave On"
}

OptionValue "bCasings"
{
	0, "Casings Off"
	1, "Casings On (Player only)"
	2, "Casings On (Player & Enemies)"
}

OptionValue "bGore"
{
	0, "Gore Off"
	1, "Gore On"
}

OptionValue "bParticles"
{
	0, "Particles Off"
	1, "Particles On"
}

OptionValue "bStats"
{
	0, "Hide obituary"
	1, "Show obituary"
}

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

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

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

OptionValue "iFearIndicator"
{
	0, "Off"
	1, "Particles"
	2, "Faces"
	3, "Tint"
	4, "Icon"
}

OptionValue iWarningType
{
	0, "Off"
	1, "Text"
	2, "Audio"
	3, "Audio & Text"
}

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

OptionValue iTracerType
{
	0, "None"
	1, "Model"
	2, "Sprite"
	3, "Classic"
}

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

OptionValue bChipsOnOff
{
	0, "Off"
	1, "On"
}

OptionValue bGenericOnOff
{
	0, "Off"
	1, "On"
}

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

OptionValue iParticleDensity
{
	1, "Dense"
	2, "High"
	3, "Average"
	4, "Light"
	5, "Sparse"
}

OptionValue iComboIndicator
{
	0, "Off"
	1, "Particles"
	2, "Icon"
}