From 47f0370512cd2f31cf903b42631f81d12c31ff7a Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Mon, 18 Jan 2021 06:25:04 -0500 Subject: [PATCH] - add some 21:9 presets --- source/games/blood/src/d_menu.cpp | 2 +- wadsrc/static/menudef.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/source/games/blood/src/d_menu.cpp b/source/games/blood/src/d_menu.cpp index 7b4c6f185..aba4d22bb 100644 --- a/source/games/blood/src/d_menu.cpp +++ b/source/games/blood/src/d_menu.cpp @@ -199,7 +199,7 @@ using namespace Blood; DEFINE_ACTION_FUNCTION(DListMenuItemBloodDripDrawer, Draw) { // For narrow screens this would be mispositioned so skip drawing it there. - double ratio = screen->GetWidth() / double(screen->GetHeight()); + double ratio = ActiveRatio(screen->GetWidth(), screen->GetHeight()); if (ratio > 1.32) itemBloodQAV->Draw(); return 0; } diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index f48a3073e..47113cf5f 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -1541,6 +1541,9 @@ OptionMenu CustomResolutionMenu protected Command "1440x900", "menu_resolution_set_custom 1440 900" Command "1680x1050", "menu_resolution_set_custom 1680 1050" Command "1920x1200", "menu_resolution_set_custom 1920 1200" + StaticText "$VIDMNU_ASPECT219" + Command "1920x810", "menu_resolution_set_custom 1920 810" + Command "2560x1080", "menu_resolution_set_custom 2560 1080" }