Alug
cf14f285a3
simplify this and make its own function P_ResetLocalCamAiming
...
no more if else and weird checks c:
2024-03-30 03:26:17 +01:00
Alu Folie
9ecc4682a1
Merge branch Kart-Public:master into speccenter
2024-03-30 02:05:45 +00:00
Sal
b96a86a289
Merge branch 'softlock' into 'master'
...
Fix overflow check overflowing in R_DrawRepeatMaskedColumn
See merge request KartKrew/Kart-Public!346
2024-03-30 01:25:10 +00:00
Sal
447af8a0c8
Merge branch 'oglshearfix' into 'master'
...
Fix OGL shearing visually breaking when looking 90 degrees up or down
See merge request KartKrew/Kart-Public!344
2024-03-30 01:24:20 +00:00
Sal
2000917c3a
Merge branch 'shadowcrash' into 'master'
...
Run P_RunShadows also in preticker
See merge request KartKrew/Kart-Public!340
2024-03-30 01:23:56 +00:00
Sal
c4a31f99d5
Merge branch 'musicfadefix' into 'master'
...
Do music fade callback on main thread
See merge request KartKrew/Kart-Public!336
2024-03-30 01:23:43 +00:00
Sal
62082761c7
Merge branch 'mipcolorfix' into 'master'
...
Fix FreeMipmapColormap Crash
See merge request KartKrew/Kart-Public!335
2024-03-30 01:23:13 +00:00
Sal
87f2bdeb55
Merge branch 'resynctext' into 'master'
...
Fix broken resynch text
See merge request KartKrew/Kart-Public!338
2024-03-30 01:22:59 +00:00
Alug
65c3d90340
forgot about splitscreen oops
2024-03-30 02:17:30 +01:00
Sal
b9c47bf40e
Merge branch 'precipinterpfix' into 'master'
...
Fix Weather Z coordinate not being interpolated in OpenGL
See merge request KartKrew/Kart-Public!343
2024-03-30 01:02:21 +00:00
Sal
1116df5776
Merge branch 'pingcmdfix' into 'master'
...
Fix ping command showing a random players ms ping instead of your ping
See merge request KartKrew/Kart-Public!342
2024-03-30 01:02:04 +00:00
Alug
17e24bb8e2
Fix OGL shearing visually breaking when looking 90 degrees up or down
2024-03-30 00:14:48 +01:00
Alug
64f91846af
Fix Weather Z coordinate not being interpolated in OpenGL
...
makes precip smooth like software
2024-03-30 00:09:22 +01:00
Alug
2172c9ddb2
fix overflow check overflowing in R_DrawRepeatMaskedColumn
...
fixes renderer lock ups with transparent textures in software renderer
2024-03-30 00:04:42 +01:00
Alug
3dce66a5c5
fix ping command showing a random players ms ping instead of your ping
2024-03-30 00:01:40 +01:00
Alug
3485c116c8
run P_RunShadows also in preticker
...
so the game wont crash randomly at mapload sometimes
2024-03-29 23:57:30 +01:00
Alug
aaaf09aea3
somehow forgor this in center camera
2024-03-29 23:56:11 +01:00
Alug
e2605ff16c
center camera when joining from spec
...
the camera never gets centered proper if you join from spectator
2024-03-29 23:56:05 +01:00
Alug
a68a1d7ef9
fix broken resynch text
2024-03-29 23:55:11 +01:00
alufolie91
a7164a5d8f
Do music fade callback on main thread
...
Fixes music fades crashing the game sometimes
Backport from SRB2
See: 0aa763df85
Credits to Lactozilla
2024-03-29 23:50:24 +01:00
Alug
e3c42b3ba2
add more safety
2024-03-29 23:48:33 +01:00
alufolie91
4df9749570
Fix FreeMipmapColormap Crash
...
Backport from SRB2
See: e9e0683d5e
Credits go to Lactozilla
2024-03-29 23:45:23 +01:00
Sal
62294dfe35
Merge branch 'master' into 'master'
...
Fix segmentation faults on 32-bit ARM devices running GNU/Linux
See merge request KartKrew/Kart-Public!332
2024-03-29 21:51:49 +00:00
Sal
8b557c724e
Merge branch 'fix-cv-call-segfault' into 'master'
...
Fix possible segfault for cvars registered from lua with flag CV_CALL
See merge request KartKrew/Kart-Public!328
2024-03-29 21:50:16 +00:00
Sal
fbe20b3805
Merge branch 'fix-freebsd-build-errors' into 'master'
...
Fix FreeBSD build errors
See merge request KartKrew/Kart-Public!333
2024-03-29 21:48:42 +00:00
Gustaf Alhäll
656758fc40
Fix FreeBSD build errors
2023-10-24 16:42:35 +02:00
Christian Angel
44ac5ded31
Fix segmentation faults on ODROID-XU3/XU4 running GNU/Linux, and probably other 32-bit ARM devices like older Raspberry Pis
2023-10-19 17:13:09 -04:00
James R
684b016487
Merge branch 'fix-ban-txt-crash' into 'master'
...
Fix ban.txt crashing game
See merge request KartKrew/Kart-Public!329
2023-08-14 11:41:53 +00:00
James R
0b55e8df7b
Rename HAVE_STRLCPY to SRB2_HAVE_STRLCPY, fix non-glibc compile
...
- Fix compile with msvcrt
- Fix compile with SDL 2.28.2
2023-08-14 04:40:00 -07:00
Indev
f9880e8413
Fix ban.txt crashing game
2023-08-05 14:50:12 +03:00
James R
c499a8387e
Fix glibc 2.38 compile
...
glibc 2.38 added strlcpy and strlcat.
2023-08-03 16:45:34 -07:00
Indev
5da6d14aa1
Fix possible segfault for cvars registered from lua with flag CV_CALL
2023-07-29 18:40:48 +03:00
Sal
20a5adde02
Merge branch 'sound-refactor-backport' into 'master'
...
Sound refactor backport
Closes #22
See merge request KartKrew/Kart-Public!325
2022-12-20 10:06:25 +00:00
Sal
e8dee82341
Merge branch 'no-multi-fopen' into 'master'
...
Prevent multiple nodes fopen-ing the same file
See merge request KartKrew/Kart-Public!326
2022-12-20 10:06:14 +00:00
Sally Coolatta
c332d48e9d
Only reseek if we have to
...
Makes it act similarly to before if only 1 node needs the file.
2022-12-19 09:55:52 -05:00
Sally Coolatta
cc54d98a39
New system to prevent multiple fopen
...
Instead of FILE pointer stored in the transfer, they go in their own array. The number of nodes accessing a file is kept track of, and it's only fully closed after everyone who needs it is done with it.
Means that will unfortunately do a lot more seeking, but multiple users can download the same file now without it being implementation specific.
2022-12-19 09:48:03 -05:00
Sally Coolatta
533dc7d668
Use strerror when file transfer can't be opened
2022-12-19 09:02:39 -05:00
toaster
73ef04b5e0
Merge branch 'bigger-antigrief' into 'master'
...
Increase range of anti-grief cvar
Closes #20
See merge request KartKrew/Kart-Public!327
2022-12-19 11:32:11 +00:00
Sally Coolatta
d9e7272ff8
Increase range of anti-grief cvar
2022-12-19 06:15:14 -05:00
toaster
fcddbdeaa1
Merge branch 'buildtitle-memory-leak' into 'master'
...
Consistently free G_BuildMapTitle
See merge request KartKrew/Kart-Public!323
2022-12-17 14:50:01 +00:00
James R
fe7e9ec266
Let S_StopSound, S_StopSoundByID, S_StopSoundByNum stop multiple sounds
...
Previously stopped only one, probably the first that
started playing.
2022-12-17 13:12:19 +00:00
toaster
91a424a034
Minor refactor: Handle *sep entirely within S_AdjustSoundParams, instead of having a component partly outside.
2022-12-17 13:05:34 +00:00
toaster
64189da28f
Sound refactor backport step 2: flattened split-somethings
branch
2022-12-17 13:05:14 +00:00
toaster
732861f0d4
Sound refactor backport step 1: flattened splitscreen-sound-fix
branch
2022-12-17 12:58:28 +00:00
Sal
80abf38648
Merge branch 'axis-brake-broken' into 'master'
...
Fix gamepad axis brake behaviour
See merge request KartKrew/Kart-Public!324
2022-12-15 23:01:22 +00:00
toaster
99c1a51772
Fix gamepad axis brake behaviour
...
- It was actually ACCELERATION axis input that was predominantly broken!
- It was inexplicably slightly under double what it should be (98 instead of the digital value of 50), which meant brake analog input struggled to dampen it.
- Analog brake deceleration also gets a slight buff, from 24 to 25 (previously off from the digital value of 25 due to integer division rounding)
- Remove a pointless, always-true condition for brake handling.
- Checked whether accel was held down OR whether `cmd->forwardmove` was less than or equal 0...
- But further up the same function, `cmd` was invariably overwritten with a blank `I_BaseTiccmd`!
- Therefore, `cmd->forwardmove` would always equal 0, and the `forwardmove` subtraction would always occur.
2022-12-15 21:21:43 +00:00
toaster
455177a3e1
G_BuildMapTitle creates Zone memory that must be freed
2022-12-15 19:23:06 +00:00
Sal
5008558633
Merge branch 'unfuck-icon-mac' into 'master'
...
Use SDL version of executable icon at runtime on macOS
See merge request KartKrew/Kart-Public!321
2022-11-12 22:37:06 +00:00
Sal
7dcc7aaa2d
Merge branch 'map-search-fix' into 'master'
...
Fix game trying to load nothing when music and sound files are not present.
See merge request KartKrew/Kart-Public!322
2022-11-12 22:36:17 +00:00
Callmore
7e7d45e209
No more fucking arbitrary numbers
2022-11-04 21:15:19 +00:00