Eidolon
c79df7d58e
Interpolate afterimages further back
2022-04-26 20:56:35 -05:00
Eidolon
f418c6476f
Add drawerlib deltaTime function
2022-04-26 20:56:35 -05:00
Eidolon
4095ef599b
Delta time choose player menu animations
2022-04-26 20:56:35 -05:00
Monster Iestyn
d719e081dc
Adjust 1up monitor icon z offsets
...
Fixes interpolation issues with 1up monitors.
2022-04-26 20:56:35 -05:00
Sally Coolatta
400c6e0891
Move intro ticking out of the drawer
2022-04-26 20:56:35 -05:00
Eidolon
9276637db0
Revert "Reset overlays interp states each TryRunTics"
...
This reverts commit a71a216faa20e8751b3bd0157354e8d748940c92.
2022-04-26 20:56:35 -05:00
Sally Coolatta
fa12c51fcf
Fix a bunch of ticking in hu_ drawing functions
2022-04-26 20:56:35 -05:00
Sally Coolatta
48b3ea31c4
Bring back shadows on polyobjects
...
Also optimizes the method used so rings can show their shadows too. Using just the subsector is a tad bit imprecise admittedly but any more precise methods get really laggy.
2022-04-26 20:56:35 -05:00
Eidolon
8597f3876c
Move intermission emerald bounce to ticker
2022-04-26 20:56:35 -05:00
Sally Coolatta
f34a61156c
Papersprite angle interpolation
...
Makes the ending signpost smooth
2022-04-26 20:56:35 -05:00
Eidolon
7dd7cccd79
Use interp tracer pos for GL linkdraw
2022-04-26 20:56:34 -05:00
Sally Coolatta
f330374c1f
Interpolate model interpolation (lol)
2022-04-26 20:56:34 -05:00
Eidolon
6fe25f7dbb
Reset overlays interp states each TryRunTics
2022-04-26 20:56:34 -05:00
Sally Coolatta
dbd5ddf95d
Add interpolation to more moving plane types
...
Adds interpolation to the following:
- Crumbling platforms
- Mario blocks
- Floatbob platforms (this one works really strangely due to two thinkers, maybe double-check this one?)
2022-04-26 20:56:34 -05:00
Sally Coolatta
873af23f22
Waypoint polyobjects interpolate z & children
2022-04-26 20:56:34 -05:00
Eidolon
9f845622cd
Revert "P_InitAngle, to fix angle interpolation on spawning objects"
...
This reverts commit a80c98bd164a2748cbbfad9027b34601185d93f5.
2022-04-26 20:56:34 -05:00
Eidolon
5790168194
Convert P_TeleportMove use to origin funcs
2022-04-26 20:56:34 -05:00
Sally Coolatta
d476b41dfa
P_SetOrigin & P_MoveOrigin to replace P_TeleportMove
2022-04-26 20:56:33 -05:00
Sally Coolatta
2f46725984
Fix flickering plane interpolation for OpenGL in the exact same way
...
Funny OpenGL renderer being at least 50% copy-pasted Software code :)
2022-04-26 20:56:33 -05:00
Sally Coolatta
b98207035d
Fix plane interpolation light level flickering
2022-04-26 20:56:33 -05:00
Sally Coolatta
80cb9994d5
Move I_FinishUpdate to D_SRB2Loop to sync screen updates with FPS cap, use timestamps in I_FrameCapSleep to simplify the code
2022-04-26 20:56:33 -05:00
Sally Coolatta
f482218913
I_GetFrameTime to try and improve frame pace
...
(It doesn't feel that much better though.)
2022-04-26 20:56:33 -05:00
Sally Coolatta
3da9852d2a
Dynamic slope interpolators
2022-04-26 20:56:33 -05:00
Eidolon
568677edc1
Move mobj interpolators to r_fps
2022-04-26 20:56:33 -05:00
Eidolon
a67432a415
Add mobj interpolator on load netgame
2022-04-26 20:56:33 -05:00
Eidolon
5e4a57b45c
Reset mobj interp state on add
2022-04-26 20:56:33 -05:00
Sally Coolatta
b18e53417a
Handle the sleep at the end of D_SRB2Loop instead of the start
...
Simplifies logic in the other parts of the loop, and fixes problems with it frequently waiting too long.
2022-04-26 20:56:33 -05:00
Sally Coolatta
685190fe40
Improve the framerate limiter's timing for extreme stable FPS
2022-04-26 20:56:32 -05:00
Eidolon
66cc234be6
Fix precip crash from missing vars
2022-04-26 20:56:32 -05:00
Sally Coolatta
53c71d35bc
Adjust how FPS cap is checked to improve FPS stability
2022-04-26 20:56:32 -05:00
Sally Coolatta
6e5e74b25f
Allow FPS cap values
2022-04-26 20:56:32 -05:00
Eidolon
0e1b01f206
Update mobj oldstates before all thinkers
2022-04-26 20:56:32 -05:00
Eidolon
84f62f91f4
Fix renderdeltatics with new timing data
2022-04-26 20:56:32 -05:00
Eidolon
a56a57b3d1
Misc changes after Kart cherry-picks
2022-04-26 20:56:32 -05:00
Sally Coolatta
c186d6402b
Lots of FPS stuff
...
- Disabled VSync, due to the numerous problems it has.
- Instead, added an FPS cap.
- Frame interpolation is now tied to fpscap != 35.
- By default, the FPS cap is set to the monitor's refresh rate.
- Rewrote the FPS counter.
(This also consolidates several more commits ahead of this
fixing various issues. -eid)
2022-04-26 20:56:32 -05:00
Sally Coolatta
41997c4549
Keep rect in memory
...
Feel better about this than creating one all da time
2022-04-26 20:56:32 -05:00
Sally Coolatta
40b021d6e4
Calculate FPS stuff even if frame is skipped
...
I decided ultimately to actually keep the frame skip optimization disabled, because I think it is actually a little bit helpful that you can still get accurate rendering perfstats while paused, however if we decide otherwise then we can have this optimization back without making the game act like it's lagging.
2022-04-26 20:56:32 -05:00
James R
1b49a96eed
Interpolate from time of previous tic
...
Previously interpolated from last 35th of a second, which
may be offset from game time due to connection lag.
Consider this the proper fix to 54148a0dd0 too.
2022-04-26 20:56:31 -05:00
James R
e6dff8eedc
Closer OpenGL underwater/heatwave effect to Software
2022-04-26 20:56:31 -05:00
James R
56c0c1f415
Do not speed up underwater/heatwave effect in OpenGL
2022-04-26 20:56:31 -05:00
Sally Coolatta
cd70b499bd
Fully fix drop shadows
...
It used the thing's floorz / ceilingz directly -- that wouldn't account for interpolated coordinates.
2022-04-26 20:56:31 -05:00
Sally Coolatta
e4930535f3
P_InitAngle, to fix angle interpolation on spawning objects
2022-04-26 20:56:31 -05:00
Sally Coolatta
8fb939df79
Add functions to handle interpolation
...
Much less code duplication
2022-04-26 20:56:31 -05:00
Eidolon
ca8698d13e
Interpolate HWR_DrawModel
2022-04-26 20:56:31 -05:00
Eidolon
ab7c2dfb3d
Interpolate mobj angles and player drawangle
2022-04-26 20:56:31 -05:00
Eidolon
5fda1b297f
Delete interpolators associated with thinkers
2022-04-26 20:56:31 -05:00
Eidolon
3e5cec7e72
Intialize interpolator list at a better time
2022-04-26 20:56:31 -05:00
Eidolon
2aa34f0273
Add Polyobj interpolator
2022-04-26 20:56:30 -05:00
Eidolon
330b34ee6b
Add SideScroll interpolator
2022-04-26 20:56:30 -05:00
Eidolon
ba110852a7
Add SectorScroll interpolator
2022-04-26 20:56:30 -05:00