always interpolate weather when using interpolation
same here, a fix, not a feature
This commit is contained in:
1 parent
fbb77e8428
commit
e1ad48ec16
4 files changed
+13
-20
No files matched your search
+12
-15
@@ -933,29 +933,28 @@ static menuitem_t OP_ExpOptionsMenu[] =
|
||||
{
|
||||
{IT_HEADER, NULL, "Advanced Video Options", NULL, 0},
|
||||
{IT_STRING|IT_CVAR, NULL, "Interpolation Distance", &cv_maxinterpdist, 10},
|
||||
{IT_STRING | IT_CVAR, NULL, "Weather Interpolation", &cv_precipinterp, 15},
|
||||
|
||||
{IT_STRING | IT_CVAR, NULL, "Less Weather Effects", &cv_lessprecip, 25},
|
||||
{IT_STRING | IT_CVAR, NULL, "Less Weather Effects", &cv_lessprecip, 20},
|
||||
|
||||
{IT_STRING | IT_CVAR, NULL, "Minimum Sector Brightness", &cv_secbright, 35},
|
||||
{IT_STRING | IT_CVAR, NULL, "Minimum Sector Brightness", &cv_secbright, 30},
|
||||
|
||||
//{IT_STRING | IT_CVAR, NULL, "Randomized Directional Light", &cv_randomdirlight, 50}, // should this ever come back
|
||||
//{IT_STRING | IT_CVAR, NULL, "Randomized Directional Light", &cv_randomdirlight, 45}, // should this ever come back
|
||||
|
||||
{IT_STRING | IT_CVAR, NULL, "Skyboxes", &cv_skybox, 45},
|
||||
{IT_STRING | IT_CVAR, NULL, "Skyboxes", &cv_skybox, 40},
|
||||
|
||||
{IT_STRING | IT_CVAR, NULL, "FPS counter sampling", &cv_accuratefps, 55},
|
||||
{IT_STRING | IT_CVAR, NULL, "FPS counter sampling", &cv_accuratefps, 50},
|
||||
|
||||
{IT_STRING | IT_CVAR, NULL, "Votescreen Scaling", &cv_votebgscaling, 65},
|
||||
{IT_STRING | IT_CVAR, NULL, "Votescreen Scaling", &cv_votebgscaling, 60},
|
||||
|
||||
#ifdef HWRENDER
|
||||
{IT_STRING | IT_CVAR, NULL, "Screen Textures", &cv_glscreentextures, 75},
|
||||
{IT_STRING | IT_CVAR, NULL, "Screen Textures", &cv_glscreentextures, 70},
|
||||
#ifdef USE_FBO_OGL
|
||||
{IT_STRING | IT_CVAR, NULL, "FBO Downsampling support", &cv_glframebuffer, 80},
|
||||
{IT_STRING | IT_CVAR, NULL, "Palette Depth", &cv_glpalettedepth, 90},
|
||||
{IT_DISABLED, NULL, "", NULL, 100}, // dummy text
|
||||
#else
|
||||
{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
|
||||
{IT_DISABLED, NULL, "", NULL, 95}, // dummy text
|
||||
#else
|
||||
{IT_STRING | IT_CVAR, NULL, "Palette Depth", &cv_glpalettedepth, 80},
|
||||
{IT_DISABLED, NULL, "", NULL, 90}, // dummy text
|
||||
#endif
|
||||
#endif
|
||||
};
|
||||
@@ -964,7 +963,6 @@ static const char* OP_ExpTooltips[] =
|
||||
{
|
||||
NULL,
|
||||
"How far Mobj 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.",
|
||||
"Sets minimum sector brightness, useful for dark areas",
|
||||
//"Should the directional lightning be randomized each map?\nTakes effect on next map load.",
|
||||
@@ -984,7 +982,6 @@ enum
|
||||
{
|
||||
op_exp_header,
|
||||
op_exp_interpdist,
|
||||
op_exp_precipinter,
|
||||
op_exp_lessprecip,
|
||||
op_exp_secbright,
|
||||
//op_exp_dirlight,
|
||||
|
||||
+1
-3
@@ -49,8 +49,6 @@ static CV_PossibleValue_t fpscap_cons_t[] = {
|
||||
consvar_t cv_fpscap = {"fpscap", "Match refresh rate", CV_SAVE, fpscap_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL};
|
||||
consvar_t cv_fpscapbg = {"fpscapbackground", "Match refresh rate", CV_SAVE, fpscap_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL};
|
||||
|
||||
consvar_t cv_precipinterp = {"precipinterpolation", "On", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
|
||||
|
||||
ps_metric_t ps_interp_frac = {};
|
||||
ps_metric_t ps_interp_lag = {};
|
||||
|
||||
@@ -380,7 +378,7 @@ void R_InterpolateMobjState(mobj_t *mobj, fixed_t frac, interpmobjstate_t *out)
|
||||
|
||||
void R_InterpolatePrecipMobjState(precipmobj_t *mobj, fixed_t frac, interpmobjstate_t *out)
|
||||
{
|
||||
if (frac == FRACUNIT || !cv_precipinterp.value)
|
||||
if (frac == FRACUNIT)
|
||||
{
|
||||
out->x = mobj->x;
|
||||
out->y = mobj->y;
|
||||
|
||||
@@ -26,7 +26,6 @@ extern "C" {
|
||||
#include "m_perfstats.h"
|
||||
|
||||
extern consvar_t cv_fpscap, cv_fpscapbg;
|
||||
extern consvar_t cv_precipinterp;
|
||||
|
||||
extern ps_metric_t ps_interp_frac;
|
||||
extern ps_metric_t ps_interp_lag;
|
||||
|
||||
@@ -1597,5 +1597,4 @@ void R_RegisterEngineStuff(void)
|
||||
// Frame interpolation/uncapped
|
||||
CV_RegisterVar(&cv_fpscap);
|
||||
CV_RegisterVar(&cv_fpscapbg);
|
||||
CV_RegisterVar(&cv_precipinterp);
|
||||
}
|
||||
Reference in new issue
Block a user