From e8a74a30ac58fffd9c9a7a6f3482a5fbac2fb233 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gustaf=20Alh=C3=A4ll?= <gustaf@hanicef.me>
Date: Mon, 24 Mar 2025 21:11:47 +0100
Subject: [PATCH] Fix menu and adjust entry

---
 src/m_menu.c | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/m_menu.c b/src/m_menu.c
index dfae38b4d..c9b14c65a 100644
--- a/src/m_menu.c
+++ b/src/m_menu.c
@@ -1401,25 +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,             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},
+	{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, "Light dithering",     NULL, &cv_gllightdither,        46},
+
+	{IT_HEADER, NULL, "Miscellaneous", NULL, NULL, 55},
+	{IT_STRING|IT_CVAR,         NULL, "Bit depth",           NULL, &cv_scr_depth,            61},
+	{IT_STRING|IT_CVAR,         NULL, "Texture filter",      NULL, &cv_glfiltermode,         66},
+	{IT_STRING|IT_CVAR,         NULL, "Anisotropic",         NULL, &cv_glanisotropicmode,    71},
 #ifdef ALAM_LIGHTING
-	{IT_SUBMENU|IT_STRING,      NULL, "Lighting...",         NULL, &OP_OpenGLLightingDef,   154},
+	{IT_SUBMENU|IT_STRING,      NULL, "Lighting...",         NULL, &OP_OpenGLLightingDef,    76},
 #endif
 #if defined (_WINDOWS) && (!(defined (__unix__) || defined (UNIXCOMMON) || defined (HAVE_SDL)))
-	{IT_STRING|IT_CVAR,         NULL, "Fullscreen",          NULL, &cv_fullscreen,          164},
+	{IT_STRING|IT_CVAR,         NULL, "Fullscreen",          NULL, &cv_fullscreen,           81},
 #endif
 };
 
-- 
GitLab