Commit graph

7418 commits

Author SHA1 Message Date
Eidolon
76b719ae90 Use precip interp if gl sprite is for precip 2022-10-31 20:23:49 -05:00
toaster
8d2d926e70 Const qualifier warning 2022-10-31 23:24:23 +00:00
toaster
d52c77dba4 Enable experimental dedicated idle system
There's enough confidence among krew that there's zero apparent downside to this, but made sure to do it as a seperate commit if we have to hit the emergency switch and revert
2022-10-31 23:22:15 +00:00
toaster
9974a58252 Catch the player in 4k if they try to use the SPB-eggbox combo trick
Same rules as thunder shield - the SPBis coming out again ASAP.
2022-10-31 23:18:06 +00:00
toaster
8d9f684708 Fix "NO CONTEST" support for exitlevel-replay hut interaction 2022-10-31 23:15:17 +00:00
toaster
2dca300891 Update maps.kart hash again 2022-10-31 21:23:16 +00:00
toaster
cbe5479712 EXPERIMENTAL: Dedicated server idling system
- If no clients at server start or after 10 seconds of GS_LEVEL, and no Netxcmd waiting to be digested, halt all SV_MakeTic.
- Currently #define'd out, but if we don't get to test it before 1.6 release, I fully encourage community build developers to enable this codepath and trial it on their servers.
- It's absolutely netsafe to only have enabled on the host's end, the only risk is that a dedicated server might not re-awaken when presented with certain stimuli.
2022-10-31 20:55:52 +00:00
James R
2d8794a8b5 Use AsciiChar to get the input from windows console window 2022-10-31 19:59:58 +00:00
toaster
a7ae0e8677 Fixes interpolated z for portals (x and y were fixed already) 2022-10-31 18:20:21 +00:00
toaster
3cce3ec2ce Use Partial Addfile for G_LoadDemoExtraFiles as well
Still cope compared to the MP addfile codepath, but not the n^2 time cope of before.
2022-10-31 18:06:34 +00:00
toaster
b19004ae3b Enable extended legacy downloader
Tested with a full 255 WAD server, it's a LITTLE silly but I think it's inexplicably safe to ship!?
2022-10-31 17:51:25 +00:00
toaster
a679e7a9e1 Legacy download code recieves more attention.
- Make all the I_Errors return false and print to the console instead.
- New prints for missing files if you can't fit it all into one packet.
- Make the startmessage warning less specific and direct you to the logfile, to accomodate all the different ways legacy downloads can fail.
2022-10-31 17:49:52 +00:00
toaster
5ab988dc3e Legacy downloader requests have recieved a little TLC.
- Catch buffer overrun opportunities and fail early.
- Add #define MORELEGACYDOWNLOADER for the equivalent of MOREFILENEEDED, but disabled for now because honestly we really shouldn't be encouraging people to use this thing by making it support 255 WADs at once, but also because that'd be MISERABLE to test
- Add a menu report for when legacy downloader attempts fail
2022-10-31 12:43:25 +00:00
toaster
fbf696a38a Update maps.kart hash 2022-10-31 11:03:01 +00:00
toaster
163bf9e491 Resolve mixed declarations
It's the collective opinion of Kart Krew's coders that sticking to C90 spec isn't healthy... but while the compiler still warns for it in the v1 buildflags, avoid undesired reports.
2022-10-31 10:51:20 +00:00
Eidolon
d814674d81 Use interp position in GL billboarding 2022-10-31 10:38:40 +00:00
toaster
8ae551e6bc Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart-Public into internal16fixes
# Conflicts:
#	src/p_tick.c
2022-10-31 10:35:31 +00:00
Eidolon
65737cd4bd Only call SetupFrame in T-1 hack with player->mo 2022-10-30 21:03:00 -05:00
toaster
461a80d357 Only do view interpolation hack if renderer exists 2022-10-30 21:01:54 -05:00
toaster
21bfb9753f Only read/write luavars from demos if Lua state has been initialised. 2022-10-30 13:29:27 +00:00
toaster
a6c825dd16 More consistent netreplay wadfile list writing
Fixes crashes for newly-written demos that have files with absurdly long names attached
2022-10-30 13:13:42 +00:00
toaster
e931f2bec2 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart-Public into internal16fixes
# Conflicts:
#	src/p_tick.c
2022-10-30 12:55:52 +00:00
Eidolon
fcdb098b9c Ensure player mo exists in T-1 hack skybox update 2022-10-29 22:56:47 -05:00
AJ Martinez
144795c22c Don't antigrief players alone in local freeplay 2022-10-29 15:37:45 -07:00
toaster
17bde07bda Only do view interpolation hack if renderer exists 2022-10-29 13:06:25 +01:00
toaster
de51d065b0 Fix an issue with reading invalid memory when loading a map inside a pk3 that has no REJECT table. 2022-10-29 12:51:00 +01:00
toaster
0df494d30d Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart-Public into internal16fixes 2022-10-29 12:48:12 +01:00
toaster
ca69b5f2ca Merge branch 'replayhut-skin255-crash' into 'master'
Another spot that needs guarding

See merge request KartKrew/Kart-Public!320
2022-10-29 11:47:21 +00:00
Ashnal
8b0ed17690 Another spot that needs guarding 2022-10-28 17:15:50 -04:00
toaster
8d2d91a3bf Fix mixed declarations and code warning 2022-10-28 21:26:31 +01:00
toaster
b84d4a6bd2 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart-Public into internal16fixes 2022-10-28 21:24:45 +01:00
Eidolon
6db1496aaa Disambiguate skyVisible from global variable 2022-10-28 15:19:20 -05:00
toaster
cb575bcde9 Add additional external contributors. 2022-10-28 18:02:50 +01:00
toaster
4680094dd5 Update credits again 2022-10-28 15:50:50 +01:00
toaster
8a49fa5ec0 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart-Public into internal16fixes 2022-10-28 15:47:21 +01:00
toaster
1b884dd8f2 Merge branch 'replayhut-skin255-crash' into 'master'
Ensure skin index read from replay file is within numskins before drawing face

See merge request KartKrew/Kart-Public!319
2022-10-28 14:45:51 +00:00
Eidolon
4b61bcdb81 Correct local variable boolean type 2022-10-27 20:08:49 -05:00
Eidolon
661f06e1ef Correct local variable boolean type 2022-10-27 20:07:56 -05:00
Ashnal
19403d2889 Ensure skin index read from replay file is within numskins before drawing face 2022-10-27 20:28:14 -04:00
Eidolon
1b96c8b40f Net-save/load turnobjs field on rotating polyobjs
Fixes desyncs with rotating polyobjs
2022-10-27 18:13:25 -05:00
toaster
33989f56e5 Version is now 1.6
If you're looking to this commit to figure out what a hypothetical 1.7 should change, also increment MODVERSION - in this commit's case it was already incremented by another branch.
2022-10-27 15:32:43 +01:00
toaster
2bab452268 Add R_RelativeTeleportViewInterpolation
Adjusts pview_old for relative teleport to attempt a contigious motion
2022-10-27 13:38:13 +01:00
toaster
054bbd7745 Fix undesired interpolation for regular teleport 2022-10-27 13:36:14 +01:00
toaster
b6eb21c5e2 Make all the join/leave sound effects have a singularity of true so that they don't stack super loud during major net interruption or multiple splitscreen player joins. 2022-10-27 12:38:53 +01:00
toaster
60b8916a96 Merge branch 'map-by-name' of https://git.do.srb2.org/KartKrew/Kart into internal16fixes 2022-10-27 12:16:11 +01:00
toaster
7e668f99b3 Fix spectators spawning at world origin on sectionrace maps. 2022-10-27 12:13:06 +01:00
toaster
63a5bed7d8 Adjust antigrief
Instead of not running for server or admin, run for ALL players, but only avoid *kicking* local or admin players.
Fixes a bug where having a non-interacting splitscreen player could take down your server.
2022-10-27 11:54:52 +01:00
toaster
c2f9a40593 New asset hashes for gfx.kart and maps.kart 2022-10-26 21:09:44 +01:00
toaster
33c6dba5af Repair bad manual cherrypick of vsync repair 2022-10-26 20:53:16 +01:00
toaster
d13c1f83e8 SDL: OpenGL instead of Direct3D11 for Software blitter
Repaired performance regression under certain play conditions
2022-10-26 20:47:56 +01:00