Most are from RR
we had some of this in saturn before tho this time its minus moving R_UpdateViewInterpolation into G_Ticker as that caused issues in netgames
This def needs a bit of testing esp in netgames and under poor netconditions, as the stuff we had before sometimes caused jitter on mobjs
but this would fix some underlying issues with how view interpolation works
The code in p_telpt.c was supposed to use P_SetOrigin but that may not be netsafe so i set the interp values manually
also fixes https://github.com/Indev450/SRB2Kart-Saturn/issues/140
Most are from RR
we had some of this in saturn before tho this time its minus moving R_UpdateViewInterpolation into G_Ticker as that caused issues in netgames
This def needs a bit of testing esp in netgames and under poor netconditions, as the stuff we had before sometimes caused jitter on mobjs
but this would fix some underlying issues with how view interpolation works
The code in p_telpt.c was supposed to use P_SetOrigin but that may not be netsafe so i set the interp values manually
also fixes https://github.com/Indev450/SRB2Kart-Saturn/issues/140
im a bit unsure actually about the stuff in y_inter mainly cause i dont really understand whats even going on there lol, would be cool if you would look at that @Indev450 X)
im a bit unsure actually about the stuff in y_inter mainly cause i dont really understand whats even going on there lol, would be cool if you would look at that @Indev450 X)
I don't know what's going on in y_inter either x)
I dunno what that jitter does but i think changing it like that will change behaviour, since it will not be reset like it used to. Which is probably fine but dunno if that's intended
I don't know what's going on in y_inter either x)
I dunno what that jitter does but i think changing it like that will change behaviour, since it will not be reset like it used to. Which is probably fine but dunno if that's intended
This probably should have parentheses around == ((last_view_update == I_GetTime()) ? 1 : 2;). Not sure about order of operations here but just to be safe
This probably should have parentheses around == (`(last_view_update == I_GetTime()) ? 1 : 2;`). Not sure about order of operations here but just to be safe
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Most are from RR
we had some of this in saturn before tho this time its minus moving R_UpdateViewInterpolation into G_Ticker as that caused issues in netgames
This def needs a bit of testing esp in netgames and under poor netconditions, as the stuff we had before sometimes caused jitter on mobjs
but this would fix some underlying issues with how view interpolation works
The code in p_telpt.c was supposed to use P_SetOrigin but that may not be netsafe so i set the interp values manually
also fixes https://github.com/Indev450/SRB2Kart-Saturn/issues/140
im a bit unsure actually about the stuff in y_inter mainly cause i dont really understand whats even going on there lol, would be cool if you would look at that @Indev450 X)
I don't know what's going on in y_inter either x)
I dunno what that jitter does but i think changing it like that will change behaviour, since it will not be reset like it used to. Which is probably fine but dunno if that's intended
@@ -207,21 +209,27 @@ void R_UpdateViewInterpolation(void)This probably should have parentheses around == (
(last_view_update == I_GetTime()) ? 1 : 2;). Not sure about order of operations here but just to be safe@@ -240,5 +240,5 @@pview_old[p].z += zdiff;pview_old[p].angle += angdiff;}void R_SetViewContext(enum viewcontext_e _viewcontext)Shouldn't that be
+=instead of=?@@ -246,5 +246,5 @@UINT8 i = 0;I_Assert(_viewcontext >= VIEWCONTEXT_PLAYER1&& _viewcontext <= VIEWCONTEXT_SKY4);viewcontext = _viewcontext;Same as above x)
@@ -240,5 +240,5 @@pview_old[p].z += zdiff;pview_old[p].angle += angdiff;}void R_SetViewContext(enum viewcontext_e _viewcontext)well lol https://github.com/KartKrewDev/RingRacers/blob/dd45f3cd61a6afa83cac876a0ae7d43fa2d1ab43/src/r_fps.c#L175
@@ -207,21 +209,27 @@ void R_UpdateViewInterpolation(void)added some there
@@ -240,5 +240,5 @@pview_old[p].z += zdiff;pview_old[p].angle += angdiff;}void R_SetViewContext(enum viewcontext_e _viewcontext)actually testing with += currently
@@ -240,5 +240,5 @@pview_old[p].z += zdiff;pview_old[p].angle += angdiff;}void R_SetViewContext(enum viewcontext_e _viewcontext)ye uh lmao its intentional so
"do not add extra time for subsequent calls"