Commit graph

7477 commits

Author SHA1 Message Date
Lach
481369cc6c Use SDL version of executable icon at runtime on macOS 2022-11-02 23:25:30 +11:00
toaster
024a140e8d Do not include spurious noticedownload aborting sendfile reports 2022-11-01 22:57:04 +00:00
SteelT
74421b7700 Set curl_failedwebdownload to true for corrupt or modified HTTP downloads.
So that it actually falls back to direct downloading
2022-11-01 18:52:49 -04:00
SteelT
17444e195d Merge branch 'internal16fixes' of https://git.do.srb2.org/KartKrew/Kart into internal16fixes 2022-11-01 18:16:43 -04:00
SteelT
3a720a61cd Add MD5 checking to HTTP downloading
In cases of where the file mismatches from what the server expects, it will fall back to direct downloading of the file.
2022-11-01 18:15:13 -04:00
toaster
234bdc90bf Legacy downloader adjustments
- Fixed off by one in Got_RequestFilePak that could cause correct, maximised-space-usage packets to be rejected
- More verbose printing for aborting send files
- More verbose printing for client request files (behind a define for troubleshooting)
2022-11-01 21:30:10 +00:00
toaster
f30f1bf163 Do a little more short circuiting if dedicated idle time is occouring
Skips resync, clearticcmd, and sendtics, since all they're doing with no nodes in game is writing the same value to the same address again and again
2022-11-01 13:45:31 +00:00
toaster
0604073351 Update maps.kart hash again again 2022-11-01 13:41:19 +00:00
toaster
4bc482bdf5 Explicit pointer cast for R_InterpolatePrecipMobjState 2022-11-01 13:41:04 +00:00
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