Skip to content

Commit 40290d4

Browse files
author
dashodanger
committed
Add "Simple Skies" to Performance Options menu
1 parent 7dc2181 commit 40290d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source_files/edge/m_option.cc

+2
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,8 @@ static OptionMenuDefinition gameplay_optmenu = {playoptions,
629629
//
630630
static OptionMenuItem perfoptions[] = {
631631
{kOptionMenuItemTypeSwitch, "Detail Level", "Low/Medium/High", 3, &detail_level, OptionMenuChangeMipMap, nullptr},
632+
{kOptionMenuItemTypeBoolean, "Simple Skies", YesNo, 2, &renderer_dumb_sky.d_,
633+
OptionMenuUpdateConsoleVariableFromInt, "Speeds up sky drawing, but breaks sky flooding and other hacks", &renderer_dumb_sky},
632634
{kOptionMenuItemTypeBoolean, "Draw Distance Culling", YesNo, 2, &draw_culling.d_,
633635
OptionMenuUpdateConsoleVariableFromInt, "Sector/Level Fog will be disabled when this is On", &draw_culling},
634636
{kOptionMenuItemTypeSlider, "Maximum Draw Distance", nullptr, 0, &draw_culling_distance.f_,

0 commit comments

Comments
 (0)