From ed05a909cb9f38025a6790ab3ffd99650a0d9185 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 19 May 2025 15:56:56 +0200 Subject: [PATCH] add vote scaling to menu --- src/m_menu.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/m_menu.c b/src/m_menu.c index b8198b650..75a905ce6 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -1555,15 +1555,17 @@ static menuitem_t OP_ExpOptionsMenu[] = {IT_STRING | IT_CVAR, NULL, "FPS counter sampling", &cv_accuratefps, 50}, + {IT_STRING | IT_CVAR, NULL, "Votescreen Scaling", &cv_votebgscaling, 60}, + #ifdef HWRENDER - {IT_STRING | IT_CVAR, NULL, "Screen Textures", &cv_glscreentextures, 60}, + {IT_STRING | IT_CVAR, NULL, "Screen Textures", &cv_glscreentextures, 70}, #ifdef USE_FBO_OGL - {IT_STRING | IT_CVAR, NULL, "FBO Downsampling support", &cv_glframebuffer, 65}, - {IT_STRING | IT_CVAR, NULL, "Palette Depth", &cv_glpalettedepth, 75}, - {IT_DISABLED, NULL, "", NULL, 85}, // dummy text + {IT_STRING | IT_CVAR, NULL, "FBO Downsampling support", &cv_glframebuffer, 75}, + {IT_STRING | IT_CVAR, NULL, "Palette Depth", &cv_glpalettedepth, 85}, + {IT_DISABLED, NULL, "", NULL, 95}, // dummy text #else - {IT_STRING | IT_CVAR, NULL, "Palette Depth", &cv_glpalettedepth, 70}, - {IT_DISABLED, NULL, "", NULL, 80}, // dummy text + {IT_STRING | IT_CVAR, NULL, "Palette Depth", &cv_glpalettedepth, 80}, + {IT_DISABLED, NULL, "", NULL, 90}, // dummy text #endif #endif }; @@ -1578,6 +1580,7 @@ static const char* OP_ExpTooltips[] = //"Should the directional lightning be randomized each map?\nTakes effect on next map load.", "Toggle being able to see the sky.", "Change the FPS counter sampling method\nInaccurate updates slower and might miss frame drops and such\nAccurate updates faster and is more accurate, but might be less readable", // how to ingles?? + "Different methods of scaling the votescreen backgrounds.", #ifdef HWRENDER "Should the game do Screen Textures? Provides a good boost to frames\nat the cost of some visual effects not working when disabled.", #ifdef USE_FBO_OGL