Commit graph

18408 commits

Author SHA1 Message Date
Sally Coolatta
225590b7ba Draw framerate counter properly in uncapped 2021-12-01 13:52:51 -05:00
Sally Coolatta
3e227654c7 Little unneeded semicolon 2021-12-01 12:46:41 -05:00
Sally Coolatta
7238a1be83 Interpolate camera roll, fix skybox in opengl 2021-12-01 10:53:15 -05:00
Sally Coolatta
0c8a6ccf40 Merge branch 'master' into uncapped 2021-12-01 07:55:22 -05:00
Sally Coolatta
55f48be6ab Missing parenthesis. 2021-12-01 07:55:09 -05:00
Sally Coolatta
362f779f26 Merge branch 'master' into uncapped 2021-12-01 06:46:41 -05:00
Sally Coolatta
6ecac4159a This seems to fix the camera stuttering in netgames when I try it on my own
Feel like this might be wrong so TRY IT first!!
2021-12-01 06:45:02 -05:00
lachablock
87c31cb89f Fix drift clips suddenly inverting gravity 2021-12-01 22:42:49 +11:00
Sal
0bba6d0c62 Merge branch 'toastmiiisc' into 'master'
toastmiiisc

See merge request KartKrew/Kart!464
2021-12-01 11:22:32 +00:00
SteelT
2c1dd6efbf Merge branch 'capsules' into 'master'
Fix item capsules in reverse gravity

See merge request KartKrew/Kart!443
2021-12-01 03:45:15 +00:00
SteelT
4cf01bf549 Merge branch 'fix-followers' into 'master'
Fix followers

See merge request KartKrew/Kart!446
2021-12-01 03:32:08 +00:00
Sally Coolatta
43356ca73e Nope, it actually just causes camera hitches even when alone, even if this fixes the problem its not the solution 2021-11-30 18:10:51 -05:00
toaster
b716e142a8 Some fixes for bad player info on joining servers.
* Don't overwrite the first player's name when joining with multiple local splitscreen players. (resolves #151)
* The defaults for unprovided names are now consistently "Player A/B/C/D" as opposed to some being letter-based and some being number-based.
* Send local player info once per local splitscreen player, rather than n^2 times (where n is the number of local splitscreen players).
* Since the packet *requires* four names to be sent every time you join a server, send dummy names for local splitscreen players who aren't connecting, instead of your actual cvars (no data leakage you didn't ask for!)
2021-11-30 21:24:00 +00:00
Sally Coolatta
4a8222d397 Just set default renderdelta when paused
Supports multiple pause types too
2021-11-30 14:28:27 -05:00
Sally Coolatta
f19e8be3a0 Enable lagless cam
I left it off because I think Kart intentionally removed it, but the reason we did might not apply anymore...?
2021-11-30 14:03:56 -05:00
toaster
e29f113047 Merge branch 'master' into capsules 2021-11-30 13:50:46 +00:00
toaster
2ca195961b Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into fix-followers 2021-11-30 13:43:10 +00:00
James R
182527db8b Merge branch 'gentlemens-2' into 'master'
Instead of gentlemens dropping packets, it simply delays what it sends

See merge request KartKrew/Kart!467
2021-11-30 04:51:01 +00:00
James R
7180027c9f Merge branch 'ceiling-bump' into 'master'
Ceiling clipping is satisfying

See merge request KartKrew/Kart!466
2021-11-30 04:09:19 +00:00
James R
b479fdcef6 Merge branch 'jelly-racers' into 'master'
Squashing and stretching

See merge request KartKrew/Kart!420
2021-11-30 04:00:03 +00:00
James R
6457ab0a9c Raise squish max 2021-11-29 19:56:33 -08:00
Sal
031a1105ff Merge branch 'cmake-develop-flag' into 'master'
Add cmake config option to compile a dev build

See merge request KartKrew/Kart!460
2021-11-30 02:29:21 +00:00
Sal
a326e180ca Merge branch 'replayfixes' into 'master'
Replay fixes mark whatever

See merge request KartKrew/Kart!463
2021-11-30 02:28:57 +00:00
Sal
7f8a9dc4e5 Merge branch 'uncapped' into 'master'
Eidolon's interpolation

See merge request KartKrew/Kart!468
2021-11-30 02:28:38 +00:00
Sally Coolatta
a52dc0f845 Copy interpolation data to afterimages 2021-11-29 20:47:28 -05:00
Sally Coolatta
e5244c7e8c Lap start HUD interpolates 2021-11-29 20:36:17 -05:00
Sally Coolatta
8f11cd6603 Interpolate FINISH hud scroll 2021-11-29 20:18:17 -05:00
Sally Coolatta
c4ca097224 Interpolate minimap icons
Was this completely unnecessary? Yes. Is it cool? Hell yeah
2021-11-29 20:12:51 -05:00
Sally Coolatta
c6bf534f29 HUD items with V_SLIDEIN interpolate 2021-11-29 20:00:41 -05:00
Sally Coolatta
bea5d9dce7 Fix trick timing efx in uncapped 2021-11-29 19:28:41 -05:00
James R
f917c60637 Remove MF_NOTHINK from sign pieces
Without a thinker, interpolation doesn't change state.
2021-11-29 15:29:01 -08:00
Sally Coolatta
3d2ad0b95e Fix water trails not interpolating properly 2021-11-29 17:59:15 -05:00
James R
aaeaef5223 Do not set hu_stopped on interpolated frame 2021-11-29 14:40:30 -08:00
toaster
9e12195840 Fix two more minor issues with reading and writing replays.
* DXD_PLAYSTATE and DXD_WEAPONPREF no longer conflict when both are read during the same tic. (VERY rare bug, but was possible)
* Fixed G_WriteDemoTiccmd not considering the sign of forwardmove properly. (Of basically no consequence r/n, but could bite us down the line if not caught)
2021-11-29 19:45:01 +00:00
toaster
4b42f99ca7 Fix player removal not being recorded in netreplays. (Will not work with existing replays that lack this data) 2021-11-29 19:41:11 +00:00
Sally Coolatta
5fea80c61b Apply interp to models, apply sprite world offsets properly 2021-11-29 08:46:56 -05:00
Sally Coolatta
c43f8da5e6 P_SetOrigin & P_MoveOrigin to replace P_TeleportMove 2021-11-29 08:20:27 -05:00
Eidolon
f398004a18 Ensure + commands get executed before map start 2021-11-29 07:25:46 -05:00
Eidolon
e2482edce3 Ensure viewsector is accurate to viewx/viewy
This fixes a potential crash in OpenGL when changing between levels.
2021-11-29 07:24:27 -05:00
Sally Coolatta
f16b567319 Menu interpolation (renderdeltatics)
`renderdeltatics` can be used as a standard delta time in any place,
allowing for smooth menus. It will always be equal to `realtics`
when frame interpolation is turned off, producing consistent
framerate behavior everywhere it is used.

Co-Authored-By: Eidolon <furyhunter600@gmail.com>
2021-11-29 07:23:04 -05:00
Sally Coolatta
5325431450 Fix crash on level load 2021-11-29 07:15:02 -05:00
Eidolon
1550210188 Implement interpolation at the renderer level
Instead of interpolating thinkers, we interpolate mobjs inside the
renderer. Further interpolation is TBI.
2021-11-29 06:43:46 -05:00
Sally Coolatta
0e25de897d Instead of gentlemens dropping packets, it simply delays what it sends 2021-11-29 05:27:44 -05:00
James R
1e73c842e2 Run squish effect for players too
This is ironic.
2021-11-28 23:14:53 -08:00
James R
696ca049d8 Apply momentum based squash and stretch to every object
Also netsave.
2021-11-28 22:43:48 -08:00
James R
5b86a70db2 Merge remote-tracking branch 'origin/master' into jelly-racers 2021-11-28 22:03:37 -08:00
James R
72ded01ac8 Smoother ceiling clipping
- Apply some gravity immediately.
- Play the bump (like against walls) effect.
2021-11-28 21:45:31 -08:00
James R
0fad5f5a23 Merge branch 'tripwire' into 'master'
Tripwire

See merge request KartKrew/Kart!462
2021-11-29 03:20:56 +00:00
James R
332d3bfa12 Fix passing tripwire not triggering SOMETIMES 2021-11-28 18:48:27 -08:00
James R
9750e2cd07 Tumble when passing tripwire while spinning out and with >200% speed 2021-11-28 17:27:06 -08:00