diff --git a/src/console.c b/src/console.c index fa3da64c95a9b15b51e647fc3d790ca396c89533..c0ca3217d6046e1abcd96ef562415a0c15346278 100644 --- a/src/console.c +++ b/src/console.c @@ -151,7 +151,7 @@ static CV_PossibleValue_t backcolor_cons_t[] = {{0, "White"}, {1, "Black"}, { {0, NULL}}; -consvar_t cons_backcolor = CVAR_INIT ("con_backcolor", "Green", NULL, CV_CALL|CV_SAVE, backcolor_cons_t, CONS_backcolor_Change); +consvar_t cons_backcolor = CVAR_INIT ("con_backcolor", "Green", "Color of the console background", CV_CALL|CV_SAVE, backcolor_cons_t, CONS_backcolor_Change); static void CON_Print(char *msg); diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 421bd79c53b9cdd13ce916bb08cf8706df5c5a0e..708b3cdf4459941b5f48425d712d592e96378ae7 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -5779,7 +5779,7 @@ consvar_t cv_glfakecontrast = CVAR_INIT ("gr_fakecontrast", "Smooth", "Adjust th consvar_t cv_glslopecontrast = CVAR_INIT ("gr_slopecontrast", "Off", "Adjust the contrast of sloped surfaces to make them stand out more", CV_SAVE, CV_OnOff, NULL); consvar_t cv_glfiltermode = CVAR_INIT ("gr_filtermode", "Nearest", "Texture filter to use when scaling", CV_SAVE|CV_CALL, glfiltermode_cons_t, CV_glfiltermode_OnChange); -consvar_t cv_glanisotropicmode = CVAR_INIT ("gr_anisotropicmode", "1", NULL, CV_SAVE|CV_CALL, glanisotropicmode_cons_t, CV_glanisotropic_OnChange); +consvar_t cv_glanisotropicmode = CVAR_INIT ("gr_anisotropicmode", "1", "The intensity of anistropic texture filtering", CV_SAVE|CV_CALL, glanisotropicmode_cons_t, CV_glanisotropic_OnChange); consvar_t cv_glsolvetjoin = CVAR_INIT ("gr_solvetjoin", "On", NULL, 0, CV_OnOff, NULL); diff --git a/src/m_menu.c b/src/m_menu.c index a42e8f0d29796ceb02c2bbc1fbec303df140e49f..9b99457bc7a59eac1c1e3024df015b7b95eccbcb 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -1315,7 +1315,7 @@ static menuitem_t OP_VideoOptionsMenu[] = {IT_HEADER, NULL, "Color Profile", NULL, NULL, 55}, {IT_STRING | IT_CVAR | IT_CV_SLIDER, NULL, "Brightness", NULL, &cv_globalgamma, 61}, {IT_STRING | IT_CVAR | IT_CV_SLIDER, NULL, "Saturation", NULL, &cv_globalsaturation, 66}, - {IT_SUBMENU|IT_STRING, NULL, "Advanced Settings...", NULL, &OP_ColorOptionsDef, 71}, + {IT_SUBMENU|IT_STRING, NULL, "Advanced Settings...", "Advanced color settings for the game", &OP_ColorOptionsDef, 71}, {IT_HEADER, NULL, "Heads-Up Display", NULL, NULL, 80}, {IT_STRING | IT_CVAR, NULL, "Show HUD", NULL, &cv_showhud, 86}, diff --git a/src/netcode/d_netcmd.c b/src/netcode/d_netcmd.c index 6ba7ea212755d14a1bab87da25937e03a2aec636..da869084ee654920a02892b4c166286e76298c5a 100644 --- a/src/netcode/d_netcmd.c +++ b/src/netcode/d_netcmd.c @@ -320,10 +320,10 @@ consvar_t cv_overtime = CVAR_INIT ("overtime", "Yes", NULL, CV_SAVE|CV_NETVAR|CV consvar_t cv_rollingdemos = CVAR_INIT ("rollingdemos", "On", NULL, CV_SAVE, CV_OnOff, NULL); static CV_PossibleValue_t timetic_cons_t[] = {{0, "Classic"}, {1, "Centiseconds"}, {2, "Mania"}, {3, "Tics"}, {0, NULL}}; -consvar_t cv_timetic = CVAR_INIT ("timerres", "Mania", NULL, CV_SAVE, timetic_cons_t, NULL); +consvar_t cv_timetic = CVAR_INIT ("timerres", "Mania", "Style of the score, time, and rings display", CV_SAVE, timetic_cons_t, NULL); static CV_PossibleValue_t powerupdisplay_cons_t[] = {{0, "Never"}, {1, "First-person only"}, {2, "Always"}, {0, NULL}}; -consvar_t cv_powerupdisplay = CVAR_INIT ("powerupdisplay", "First-person only", NULL, CV_SAVE, powerupdisplay_cons_t, NULL); +consvar_t cv_powerupdisplay = CVAR_INIT ("powerupdisplay", "First-person only", "When to display remaining duration of power-up items", CV_SAVE, powerupdisplay_cons_t, NULL); static CV_PossibleValue_t pointlimit_cons_t[] = {{1, "MIN"}, {MAXSCORE, "MAX"}, {0, "None"}, {0, NULL}}; consvar_t cv_pointlimit = CVAR_INIT ("pointlimit", "None", NULL, CV_SAVE|CV_NETVAR|CV_CALL|CV_NOINIT|CV_ALLOWLUA, pointlimit_cons_t, PointLimit_OnChange); diff --git a/src/r_main.c b/src/r_main.c index ebffd3c1ddbfec282ebfa4ee6afcdcfaab005714..52fc16e643b38ae98ef8a3d9350c5d0118b7d210 100644 --- a/src/r_main.c +++ b/src/r_main.c @@ -159,9 +159,9 @@ consvar_t cv_showhud = CVAR_INIT ("showhud", "Yes", "If the HUD should be shown consvar_t cv_translucenthud = CVAR_INIT ("translucenthud", "10", "Opacity of the game's HUD elements", CV_SAVE, translucenthud_cons_t, NULL); consvar_t cv_translucency = CVAR_INIT ("translucency", "On", "If off, all objects will be fully opaque", CV_SAVE, CV_OnOff, NULL); -consvar_t cv_drawdist = CVAR_INIT ("drawdist", "Infinite", NULL, CV_SAVE, drawdist_cons_t, NULL); -consvar_t cv_drawdist_nights = CVAR_INIT ("drawdist_nights", "2048", NULL, CV_SAVE, drawdist_cons_t, NULL); -consvar_t cv_drawdist_precip = CVAR_INIT ("drawdist_precip", "1024", NULL, CV_SAVE, drawdist_precip_cons_t, NULL); +consvar_t cv_drawdist = CVAR_INIT ("drawdist", "Infinite", "Draw distance for map objects", CV_SAVE, drawdist_cons_t, NULL); +consvar_t cv_drawdist_nights = CVAR_INIT ("drawdist_nights", "2048", "Draw distance for hoops in NiGHTS modec", CV_SAVE, drawdist_cons_t, NULL); +consvar_t cv_drawdist_precip = CVAR_INIT ("drawdist_precip", "1024", "Draw distance for rain and snow", CV_SAVE, drawdist_precip_cons_t, NULL); consvar_t cv_fov = CVAR_INIT ("fov", "90", "Sets the view range, higher effectively means larger camera lens", CV_SAVE|CV_CALL, fov_cons_t, Fov_OnChange); consvar_t cv_fovadjust = CVAR_INIT ("fovadjust", "On", NULL, CV_SAVE|CV_CALL, CV_OnOff, Fov_OnChange); consvar_t cv_fovchange = CVAR_INIT ("fovchange", "Off", NULL, CV_SAVE, CV_OnOff, NULL); @@ -174,7 +174,7 @@ consvar_t cv_renderthings = CVAR_INIT ("r_renderthings", "On", NULL, 0, CV_OnOff consvar_t cv_ffloorclip = CVAR_INIT ("r_ffloorclip", "On", NULL, 0, CV_OnOff, NULL); consvar_t cv_spriteclip = CVAR_INIT ("r_spriteclip", "On", NULL, 0, CV_OnOff, NULL); -consvar_t cv_homremoval = CVAR_INIT ("homremoval", "No", NULL, CV_SAVE, homremoval_cons_t, NULL); +consvar_t cv_homremoval = CVAR_INIT ("homremoval", "No", "Fixes the hall of mirrors bug in the Software renderer", CV_SAVE, homremoval_cons_t, NULL); consvar_t cv_renderstats = CVAR_INIT ("renderstats", "Off", NULL, 0, CV_OnOff, NULL); diff --git a/src/screen.c b/src/screen.c index b996c93a8ac310f5f7f765074e5034884999e786..f19c8171bcb8acffefda5f0c6bba342759e122a6 100644 --- a/src/screen.c +++ b/src/screen.c @@ -91,7 +91,7 @@ consvar_t cv_scr_width = CVAR_INIT ("scr_width", "1280", NULL, CV_SAVE, CV_Unsig consvar_t cv_scr_height = CVAR_INIT ("scr_height", "800", NULL, CV_SAVE, CV_Unsigned, NULL); consvar_t cv_scr_width_w = CVAR_INIT ("scr_width_w", "640", NULL, CV_SAVE, CV_Unsigned, NULL); consvar_t cv_scr_height_w = CVAR_INIT ("scr_height_w", "400", NULL, CV_SAVE, CV_Unsigned, NULL); -consvar_t cv_scr_depth = CVAR_INIT ("scr_depth", "16 bits", NULL, CV_SAVE, scr_depth_cons_t, NULL); +consvar_t cv_scr_depth = CVAR_INIT ("scr_depth", "16 bits", "Bit depth of textures", CV_SAVE, scr_depth_cons_t, NULL); CV_PossibleValue_t cv_renderer_t[] = { {1, "Software"}, diff --git a/src/v_video.c b/src/v_video.c index 3e2a59a3a7e12b11dadca76410b21a8a76e91672..53791eb0df42cafeca16d1934476e699cad9f05b 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -52,7 +52,7 @@ static CV_PossibleValue_t gamma_cons_t[] = {{-15, "MIN"}, {5, "MAX"}, {0, NULL}} consvar_t cv_globalgamma = CVAR_INIT ("gamma", "0", "Sets the game brightness", CV_SAVE|CV_CALL, gamma_cons_t, CV_palette_OnChange); static CV_PossibleValue_t saturation_cons_t[] = {{0, "MIN"}, {10, "MAX"}, {0, NULL}}; -consvar_t cv_globalsaturation = CVAR_INIT ("saturation", "10", NULL, CV_SAVE|CV_CALL, saturation_cons_t, CV_palette_OnChange); +consvar_t cv_globalsaturation = CVAR_INIT ("saturation", "10", "Sets the game saturation, or how bright the colors are", CV_SAVE|CV_CALL, saturation_cons_t, CV_palette_OnChange); #define huecoloursteps 4