Commit graph

6986 commits

Author SHA1 Message Date
Ashnal
55055b7536 Small logging improvements for addon loading
Adds back the "Loading file" message when a file is loaded
Adds individual file errors for things loaded with W_InitMultipleFiles (-file param)
Errors for a given file will now appear between "Loading file" and
the "Added file" or "not adding file" messages, making troubleshooting easier
2021-09-25 18:04:46 -04:00
Sal
8cd205cd28 Merge branch 'freeslot-errors' into 'master'
Error checking for running out of freeslots

See merge request KartKrew/Kart-Public!267
2021-09-12 00:09:01 +00:00
Ashnal
6e7bdc6031 Changed readfreeslots error checking to work like lib_freeslot
Uses loop variable to determine error condition
Also small change to lib_freeslot for SFX for consistent use of I_Error
2021-09-06 16:12:33 -04:00
Ashnal
4b750e0504 Adjust S_AddSoundFx to also use I_Error when exhausting Freeslots 2021-09-06 16:12:13 -04:00
Ashnal
f5bcfc6379 Add I_Errors for when the game exhausts all freeslots of any type. 2021-09-06 16:11:57 -04:00
Sal
e66eaf001e Merge branch 'james-full-name' into 'master'
Add my full name in the credits

See merge request KartKrew/Kart-Public!264
2021-08-31 04:31:14 +00:00
James R
64ff789f2f Add my full name 2021-08-30 18:45:56 -07:00
Sal
ff26ff9b61 Merge branch 'small-fixes-jug' into 'master'
Discord Invite Fixes + DUMPCONSISTENCY flag for makefile

See merge request KartKrew/Kart-Public!255
2021-04-20 15:12:48 -04:00
JugadorXEI
ea56bd472c Simply return address, don't allow self_ip to be possibly written as something else 2021-04-13 06:56:14 +02:00
JugadorXEI
d7e8642236 Discord Invite Fixes + DUMPCONSISTENCY flag for makefile 2021-04-13 00:33:06 +02:00
Sal
6e33b5281d Merge branch 'discord-invite-fix' into 'master'
DRPC: Wait for join secret to be ready

See merge request KartKrew/Kart-Public!248
2021-04-07 17:47:59 -04:00
Sal
977917e61d Merge branch 'no-gamma-shortcut-v1' into 'master'
Replace gamma shortcut with a fullscreen toggle

See merge request KartKrew/Kart-Public!254
2021-04-07 17:42:53 -04:00
Sal
967cff1281 Merge branch 'ogl-respawn-fix' into 'master'
Fix unnecessary texture reloads on respawn in opengl

See merge request KartKrew/Kart-Public!251
2021-03-21 04:02:37 -04:00
Sal
8e4171e2f9 Merge branch 'fix-ra-crash' into 'master'
Fix RA crash

See merge request KartKrew/Kart-Public!250
2021-03-21 04:02:28 -04:00
Sally Coolatta
6573904ec5 Fuck the gamma shortcut, replace it with a fullscreen toggle 2021-03-12 11:55:54 -05:00
Hannu Hanhi
dbf744845d Fix unnecessary texture reloads on respawn in opengl by removing unneeded V_SetPalette calls 2021-03-12 18:52:58 +02:00
Ashnal
f01697bfdb Prevent the connection from being canceled when in Record Attack
Fixes a crash that can happen when starting RA attempts if you press
keys/buttons that would cancel a netgame connection
2021-03-08 00:48:15 -05:00
Sally Coolatta
3f150fbe05 If the join secret isn't ready right away, wait for the next update instead of trying to loop for it again immediately
I believe this may be the cause of the invite crash some people have noticed in master, but I'm not sure, needs tested.
2021-02-27 00:37:15 -05:00
Sal
0241b73dbe Merge branch 'large-address-aware' into 'master'
Add large address aware flag

See merge request KartKrew/Kart-Public!246
2021-01-26 18:13:37 -05:00
himie
1f5e9fd802 Add large address aware flag
This allows the final exe to use more than 2gb of RAM in a 64-bit system
which should get rid of most out of memory errors on 32-bit builds
2021-01-25 17:00:09 -06:00
Sal
235c6cbf49 Merge branch 'fix-pause-refocus-mute' into 'master'
Fix pausing then refocusing the window causing the music to stay muted

See merge request KartKrew/Kart-Public!244
2020-11-27 16:45:02 -05:00
James R
6533a728db Always unmute music on refocus
If the game is paused, music will be resumed when unpause anyway.
2020-11-13 17:30:23 -08:00
Sal
6ed14a8dba Merge branch 'srb2-findplane-backport' into 'master'
R_FindPlane optimization

See merge request KartKrew/Kart-Public!242
2020-11-07 18:30:46 -05:00
Hannu Hanhi
8ee560f216 R_FindPlane optimization from SRB2 2020-11-07 20:32:44 +02:00
Sal
a5ff1bd99d Merge branch 'download-wrong-checksum' into 'master'
Download files if they are found with wrong checksum

See merge request KartKrew/Kart-Public!238
2020-11-03 13:05:26 -05:00
Sal
583eede2b8 Merge branch 'mute-music' into 'master'
Mute music instead of pausing if lose focus

See merge request KartKrew/Kart-Public!235
2020-11-03 13:05:06 -05:00
Sal
a8b37c6ec3 Merge branch 'http-downloads-auth' into 'master'
Command for http downloads with basic auth

See merge request KartKrew/Kart-Public!233
2020-11-03 13:04:43 -05:00
Sal
73d582ba85 Merge branch 'instant-askjoin' into 'master'
Fix servers having a long delay before starting

See merge request KartKrew/Kart-Public!236
2020-11-03 13:04:10 -05:00
Sal
4f9fcb8e90 Merge branch 'stun' into 'master'
Implement STUN for fetching your public IP address for RPC

See merge request KartKrew/Kart-Public!237
2020-11-03 13:03:54 -05:00
James R
dc86206c23 Count any files not already loaded toward filestoload? 2020-10-07 16:09:21 -07:00
James R
d96f93f8a9 Download files that were found with wrong checksum 2020-10-07 16:06:49 -07:00
James R
dc9466a7f4 Add STUN to CMakeLists.txt 2020-09-30 21:15:49 -07:00
James R
88c98970eb Reset asksent before CL_ASKJOIN
It gets pushed forward for ASKINFO.
2020-09-30 12:42:53 -07:00
James R
81a7103b73 Use rand_s for Windoze
unsigned int is always 4 bytes on windows btw, so this should align properly.
2020-09-30 12:22:09 -07:00
James R
b8bfe9b83a Use STUN instead of curl to fetch the public IP address for Discord
RFC 5389 is a standard protocol that can be used for this instead of ip4.me.

I may have gone overboard on the CSPRNG... It was fun though.
2020-09-30 03:57:50 -07:00
James R
a39762a8fd Mute music instead of pausing if lose focus 2020-09-28 11:58:24 -07:00
James R
e2749f8fdc Include d_main.h 2020-09-25 11:25:15 -07:00
Sal
2d7590ed39 Merge branch 'luafiles-srb2home' into 'master'
Open lua files in srb2home

See merge request KartKrew/Kart-Public!234
2020-09-24 23:23:02 -04:00
James R
b70d765144 Prepend srb2home to luafiles 2020-09-24 14:43:21 -07:00
Sal
680b8e3477 Merge branch 'engine-sounds-fix' into 'master'
Fix engine sound volume

See merge request KartKrew/Kart-Public!231
2020-09-20 17:07:31 -04:00
Sal
1906bf3817 Merge branch 'link-with-exchndl' into 'master'
Link with exchndl, instead of dynamically loading it.

See merge request KartKrew/Kart-Public!230
2020-09-19 15:42:00 -04:00
Sal
7c829dcb97 Merge branch 'silly-numbers' into 'master'
Kill some nonsense

See merge request KartKrew/Kart-Public!232
2020-09-19 15:41:51 -04:00
James R
0523114f56 Kill some nonsense 2020-09-18 13:11:49 -07:00
Sally Coolatta
eb0a3c9da3 Make it a bit louder 2020-09-18 01:10:59 -04:00
Sally Coolatta
21422703f5 Fix engine sounds' dampening to a sane value, now that the bug preventing it from working properly was fixed.
You can hear engines in 16P again, but it's not as obnoxiously loud as it was before. Additionally, I commented this function better.
2020-09-17 18:58:44 -04:00
Steel Titanium
13a34e2545 Link with exchndl, instead of dynamically loading it.
It caused problems with crash reports not being made if the current working directory gets changed. Not even recommended anymore per the drmingw readme
https://github.com/jrfonseca/drmingw#exchndl
2020-09-17 15:59:02 -04:00
Sal
ccf6584466 Merge branch 'disable-rpc-in-dedicated' into 'master'
Disable Discord Rich Presence on dedicated servers

See merge request KartKrew/Kart-Public!229
2020-09-16 01:43:40 -04:00
James R
fbfc305e47 Disable DRPC if dedicated 2020-09-15 19:56:08 -07:00
Sal
85726d7a55 Merge branch 'advertisement-for-rpc' into 'master'
Move master server presence updates to Advertise_OnChange

See merge request KartKrew/Kart-Public!227
2020-09-15 16:22:32 -04:00
Sal
c575bc0398 Merge branch 'more-helpful-lua-error' into 'master'
Make "divide by zero" or "modulo by zero" errors show the file and line of where it happened

See merge request KartKrew/Kart-Public!228
2020-09-15 16:22:13 -04:00