Zwip-Zwap Zapony
f42c2403f9
Interpolate radius/height when scaling mobjs
2023-08-25 10:42:12 +02:00
Nev3r
022ddcf363
Merge branch 'models-plus-final' into 'next'
...
3D models support for spritexoffset, spriteyoffset, spritexscale, spriteyscale, parity with sprite rollangle
See merge request STJr/SRB2!1840
2023-07-24 12:46:10 +00:00
Sal
13c30ace2e
Merge branch 'lua-texture-offsets-expose' into 'next'
...
Exposed floor/ceiling offsets and light reference to Lua.
See merge request STJr/SRB2!1884
2023-07-24 10:42:07 +00:00
Sally Coolatta
7c2a241042
Remove the need for setting rotation axis in spriteinfo for models
...
Now it just does it like Software
2023-07-24 04:40:15 -04:00
Gustaf Alhäll
bfbbaf9f56
Make sure all allocations are properly aligned
2023-07-14 13:25:09 +02:00
Ace Lite
c5daa248d1
r_fps.c ceiling_y/xoffs renamed
2022-11-25 23:06:07 +00:00
Ace Lite
3217984f55
c-side offset/angle variable renamed
2022-11-25 23:01:27 +00:00
X.organic
b03ef98753
Fix use-after-frees around mobjs
...
# Conflicts:
# src/k_kart.c
# src/p_enemy.c
# src/p_mobj.c
# src/p_saveg.c
# src/p_tick.c
2022-11-12 17:04:25 -06:00
Alam Arias
1b5dd687d2
Cleanup whitespace changes from master branch
2022-11-11 20:31:41 -05:00
Eidolon
7c00cea1fc
Add per-split player view resets
2022-05-05 20:11:37 -05:00
Eidolon
7d7564b7f9
Disable sprite offset interpolation (for now)
2022-04-30 21:56:42 -05:00
Eidolon
48d8c83540
Ensure view is not interpolated on first frame
2022-04-30 19:10:07 -05:00
Eidolon
1259f1be40
Interpolate spritescale/offset x/y
2022-04-29 14:21:30 -05:00
Eidolon
42ebf163e6
Don't interpolate mobj state if frac = 1.0
2022-04-28 21:07:06 -05:00
Eidolon
50b0c29db9
Disable angle interp on fresh mobjs
2022-04-28 18:46:02 -05:00
Eidolon
51553e7f75
Interpolate mobj scale
2022-04-27 21:39:47 -05:00
Sally Coolatta
f66cedf1fc
Force interpolation when timescale != 1.0
2022-04-27 18:37:45 -05:00
Sally Coolatta
f2a19b29d9
Put interpdebug stuff in perfstats instead
2022-04-27 18:37:45 -05:00
Sally Coolatta
c83d1be21f
Add interpdebug
2022-04-27 18:37:45 -05:00
Sally Coolatta
eb6b1f375a
Allow dedicated to use precise sleep timing again
...
Instead of only using one old sleep, just enforce framerate cap to match TICRATE.
2022-04-27 16:33:05 -05:00
Eidolon
c79df7d58e
Interpolate afterimages further back
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
9f845622cd
Revert "P_InitAngle, to fix angle interpolation on spawning objects"
...
This reverts commit a80c98bd164a2748cbbfad9027b34601185d93f5.
2022-04-26 20:56:34 -05:00
Sally Coolatta
b98207035d
Fix plane interpolation light level flickering
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
Sally Coolatta
6e5e74b25f
Allow FPS cap values
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
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
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
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
Eidolon
9c8d0a3b6f
Add sector plane level interpolations
2022-04-26 20:56:30 -05:00
Eidolon
ac2510f284
Homogenize mobj interpolations
2022-04-26 20:56:27 -05:00
Eidolon
8908dcccde
Only swap view interp state if a tick is run
2022-04-26 20:31:39 -05:00
Eidolon
d34ec2ef06
Reset view interpolation on level load
2022-04-26 20:31:38 -05:00
Eidolon
88207e18f9
Ensure viewsector is accurate to viewx/viewy
...
This fixes a potential crash in OpenGL when changing between levels.
2022-04-26 20:31:38 -05:00
Eidolon
b625076c87
Implement interpolation at the renderer level
...
Instead of interpolating thinkers, we interpolate mobjs inside the
renderer. Further interpolation is TBI.
2022-04-26 20:31:37 -05:00