diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 7c1f4bbed..eb246a199 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -412,7 +412,7 @@ consvar_t cv_kartdebugcheckpoint = {"kartdebugcheckpoint", "Off", CV_NOSHOWHELP, consvar_t cv_kartdebugnodes = {"kartdebugnodes", "Off", CV_NOSHOWHELP, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL}; consvar_t cv_kartdebugcolorize = {"kartdebugcolorize", "Off", CV_NOSHOWHELP, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL}; -static CV_PossibleValue_t votetime_cons_t[] = {{10, "MIN"}, {3600, "MAX"}, {0, NULL}}; +static CV_PossibleValue_t votetime_cons_t[] = {{1, "MIN"}, {3600, "MAX"}, {0, NULL}}; consvar_t cv_votetime = {"votetime", "20", CV_NETVAR, votetime_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL}; consvar_t cv_ringslinger = {"ringslinger", "No", CV_NETVAR|CV_NOSHOWHELP|CV_CALL|CV_CHEAT, CV_YesNo, diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 705f52288..bfab25199 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -133,7 +133,7 @@ static INT32 current_bsp_culling_distance = 0; // - water and heat wave effects // - intermission background // - full screen scaling (use native resolution or windowed mode to avoid this) -consvar_t cv_grscreentextures = {"gr_screentextures", "On", CV_CALL, CV_OnOff, +consvar_t cv_grscreentextures = {"gr_screentextures", "On", CV_CALL|CV_SAVE, CV_OnOff, CV_screentextures_ONChange, 0, NULL, NULL, 0, 0, NULL}; consvar_t cv_grshaders = {"gr_shaders", "On", CV_CALL|CV_SAVE, CV_OnOff, CV_grshaders_OnChange, 0, NULL, NULL, 0, 0, NULL}; diff --git a/src/hardware/hw_main.h b/src/hardware/hw_main.h index 8f24cabe0..70d368c95 100644 --- a/src/hardware/hw_main.h +++ b/src/hardware/hw_main.h @@ -184,6 +184,7 @@ extern consvar_t cv_grbatching; extern consvar_t cv_grrenderdistance; extern consvar_t cv_grusecustomshaders; extern consvar_t cv_grpaletteshader; +extern consvar_t cv_grscreentextures; extern consvar_t cv_grflashpal; extern consvar_t cv_grportals; extern consvar_t cv_nostencil; diff --git a/src/m_menu.c b/src/m_menu.c index bdcd540b4..9bbb0bcaa 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -1405,6 +1405,28 @@ static menuitem_t OP_VideoModeMenu[] = {IT_KEYHANDLER | IT_NOTHING, NULL, "", M_HandleVideoMode, '\0'}, // dummy menuitem for the control func }; +static menuitem_t OP_ExpOptionsMenu[] = +{ + {IT_HEADER, NULL, "Experimental Options", NULL, 10}, + {IT_STRING|IT_CVAR, NULL, "Interpolation Distance", &cv_grmaxinterpdist, 35}, + {IT_STRING | IT_CVAR, NULL, "Weather Interpolation", &cv_precipinterp, 55}, + {IT_STRING | IT_CVAR, NULL, "Less Weather Effects", &cv_lessprecip, 65}, + + {IT_STRING | IT_CVAR, NULL, "Screen Textures", &cv_grscreentextures, 85}, + +}; + + +static const char* OP_ExpTooltips[] = +{ + NULL, + "How far interpolation should take effect.", + "Should weather be interpolated? Weather should look about the\nsame but perform a bit better when disabled.", + "When weather is on this will cut the object amount used in half.", + "Should the game do Screen Textures? Provides a good boost to frames\nat the cost of some visual effects not working when disabled.", + +}; + #ifdef HWRENDER static menuitem_t OP_OpenGLOptionsMenu[] = {