Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some interpolation related fixes #141

Merged
merged 16 commits into from
Nov 17, 2024
Merged

Some interpolation related fixes #141

merged 16 commits into from
Nov 17, 2024

Conversation

alufolie91
Copy link
Collaborator

@alufolie91 alufolie91 commented Nov 9, 2024

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 #140

@alufolie91
Copy link
Collaborator Author

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)

@Indev450
Copy link
Owner

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

src/r_fps.c Outdated Show resolved Hide resolved
src/r_fps.c Show resolved Hide resolved
}
}
else
{
oldview_invalid[p - 1]++;
oldview_invalid[p - 1] = t;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above x)

@alufolie91 alufolie91 merged commit a05aab1 into Saturn-Next Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants