From b14e492f35d84de3ac87050d84bdb5c9dfa57c10 Mon Sep 17 00:00:00 2001 From: chromaticpipe2 <chromaticpipe@gmail.com> Date: Mon, 24 Mar 2025 14:04:46 -0500 Subject: [PATCH] Revert menu stuff --- src/m_menu.c | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/src/m_menu.c b/src/m_menu.c index 525783c82..dfae38b4d 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -1401,26 +1401,25 @@ static menuitem_t OP_ColorOptionsMenu[] = static menuitem_t OP_OpenGLOptionsMenu[] = { {IT_HEADER, NULL, "3D Models", NULL, NULL, 0}, - {IT_STRING|IT_CVAR, NULL, "Models", NULL, &cv_glmodels, 6}, - {IT_STRING|IT_CVAR, NULL, "Frame interpolation", NULL, &cv_glmodelinterpolation, 11}, - {IT_STRING|IT_CVAR, NULL, "Ambient lighting", NULL, &cv_glmodellighting, 16}, - - {IT_HEADER, NULL, "General", NULL, NULL, 25}, - {IT_STRING|IT_CVAR, NULL, "Shaders", NULL, &cv_glshaders, 31}, - {IT_STRING|IT_CVAR, NULL, "Palette rendering", NULL, &cv_glpaletterendering, 36}, - {IT_STRING|IT_CVAR, NULL, "Lack of perspective", NULL, &cv_glshearing, 41}, - {IT_STRING | IT_CVAR, NULL, "Min Shader Brightness", NULL, &cv_glsecbright, 46}, - {IT_STRING | IT_CVAR, NULL, "Light Dithering", NULL, &cv_gllightdither, 51}, - - {IT_HEADER, NULL, "Miscellaneous", NULL, NULL, 58}, - {IT_STRING|IT_CVAR, NULL, "Bit depth", NULL, &cv_scr_depth, 64}, - {IT_STRING|IT_CVAR, NULL, "Texture filter", NULL, &cv_glfiltermode, 69}, - {IT_STRING|IT_CVAR, NULL, "Anisotropic", NULL, &cv_glanisotropicmode, 74}, + {IT_STRING|IT_CVAR, NULL, "Models", NULL, &cv_glmodels, 12}, + {IT_STRING|IT_CVAR, NULL, "Frame interpolation", NULL, &cv_glmodelinterpolation, 22}, + {IT_STRING|IT_CVAR, NULL, "Ambient lighting", NULL, &cv_glmodellighting, 32}, + + {IT_HEADER, NULL, "General", NULL, NULL, 51}, + {IT_STRING|IT_CVAR, NULL, "Shaders", NULL, &cv_glshaders, 63}, + {IT_STRING|IT_CVAR, NULL, "Palette rendering", NULL, &cv_glpaletterendering, 73}, + {IT_STRING|IT_CVAR, NULL, "Lack of perspective", NULL, &cv_glshearing, 83}, + {IT_STRING | IT_CVAR, NULL, "Min Shader Brightness", NULL, &cv_glsecbright, 93}, + + {IT_HEADER, NULL, "Miscellaneous", NULL, NULL, 112}, + {IT_STRING|IT_CVAR, NULL, "Bit depth", NULL, &cv_scr_depth, 124}, + {IT_STRING|IT_CVAR, NULL, "Texture filter", NULL, &cv_glfiltermode, 134}, + {IT_STRING|IT_CVAR, NULL, "Anisotropic", NULL, &cv_glanisotropicmode, 144}, #ifdef ALAM_LIGHTING - {IT_SUBMENU|IT_STRING, NULL, "Lighting...", NULL, &OP_OpenGLLightingDef, 79}, + {IT_SUBMENU|IT_STRING, NULL, "Lighting...", NULL, &OP_OpenGLLightingDef, 154}, #endif #if defined (_WINDOWS) && (!(defined (__unix__) || defined (UNIXCOMMON) || defined (HAVE_SDL))) - {IT_STRING|IT_CVAR, NULL, "Fullscreen", NULL, &cv_fullscreen, 84}, + {IT_STRING|IT_CVAR, NULL, "Fullscreen", NULL, &cv_fullscreen, 164}, #endif }; -- GitLab