Commit graph

4337 commits

Author SHA1 Message Date
smallmodel
ce38cf9040
Add missing newline for the health pickup message 2025-01-07 00:09:44 +01:00
smallmodel
adc2704da0
Improve code clarity 2025-01-07 00:09:28 +01:00
smallmodel
f999d87f68
Set the subtitle regardless of g_subtitle if the alias indicate it's forced
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 1m12s
2025-01-06 13:37:19 +01:00
smallmodel
7f8446ab82
If random alias name is NULL, use one from global aliases 2025-01-06 13:32:50 +01:00
smallmodel
4d2b61a766
Server-side subtitles must only work on single-player mode 2025-01-06 13:29:12 +01:00
smallmodel
1f3661238a
Check for valid player 0 before setting subtitle 2025-01-06 13:26:29 +01:00
smallmodel
5f236d4d42
Fix projectiles having an unassigned weapon owner
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 1m43s
This fixes weapons that shoot projectiles not being taken into account for being the preferred weapon
2025-01-05 23:57:08 +01:00
smallmodel
8fb3856ea6
Add a centerprint message when joining a team that is full 2025-01-05 20:19:52 +01:00
smallmodel
418985f90b
Fix animation not looping in the same state 2025-01-05 20:02:50 +01:00
smallmodel
2c738fa28e
Fix occasional errors related to SV_FindIndex
Some maps (and mods) declare many sounds, sounds with the same name would be present more than once because the case was taken into account
2025-01-05 19:54:32 +01:00
smallmodel
8a8ac2e3d1
Fix newline in win message 2025-01-05 18:36:45 +01:00
smallmodel
cf65fd890d
Fix incorrect number of wins in the scoreboard 2025-01-05 18:20:00 +01:00
smallmodel
6a86fc8067
Fix num voters when calling vote 2025-01-05 17:50:06 +01:00
smallmodel
528039f80b
Don't sanitize semicolon 2025-01-05 17:49:27 +01:00
smallmodel
b5875ae890
Allow the same torso animation to play again
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 15s
This allows replaying the same torso animation, like when activating a new weapon of the same weapon class
2025-01-05 02:29:02 +01:00
smallmodel
8801834804
Don't restart the legs animation from the beginning in the same state
This prevent walking silently by switching weapons indefinitely
2025-01-05 02:20:59 +01:00
smallmodel
a14a2c9684
Fix inconsistent torso animation cross-blending 2025-01-05 02:10:01 +01:00
smallmodel
269e73168e
Fix an issue where animations (legs) would not loop 2025-01-05 02:00:49 +01:00
smallmodel
19eec6305b
Use "idle" anim when in noclip mode 2025-01-04 21:15:32 +01:00
smallmodel
9930d50f99
Fix inconsistent player animation debug print 2025-01-04 20:37:15 +01:00
smallmodel
9427137dbd
Properly increment the packet number before sending the gamespy reply
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 32s
Some programs parse the packet number and stop working properly if the packet number is an incorrect value
2025-01-04 19:43:47 +01:00
smallmodel
c10fd17d19
Bump patch number 2025-01-04 18:01:52 +01:00
smallmodel
3c26b98b65
Generate checksum with noncompat protocol 2025-01-04 17:55:33 +01:00
smallmodel
6e357459e6
Fix fragments being sent too fast
This prevented players with low connection speed unable to connect due to UDP packets being lost. The rate of connecting clients will be properly taken into account
2025-01-04 17:55:11 +01:00
smallmodel
fe42511c54
Changed the color of UIListBox elements
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
2025-01-03 22:08:59 +01:00
smallmodel
32f507ce15
Fix pulldown menu container using the wrong foreground color 2025-01-03 22:08:26 +01:00
smallmodel
efeda23627
Fix player losing part torso animation during pain
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 39s
2025-01-02 18:04:32 +01:00
smallmodel
465d462756
Automatically adjust the FOV depending on the aspect ratio 2025-01-02 15:52:45 +01:00
smallmodel
df22895b94
Fix compile error 2025-01-02 15:30:34 +01:00
smallmodel
6b2160c876
Add putaway getter for Weapon
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
2025-01-02 14:27:39 +01:00
smallmodel
088b44e2cc
Don't use the same weapon and add getters for the newActiveWeapon 2025-01-02 14:27:31 +01:00
smallmodel
3f299610fc
Also try to find weapon by name in useWeapon() 2025-01-02 13:33:04 +01:00
smallmodel
713e361d85
Fix DM box position with resolutions above 1920x1080
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 14s
2025-01-02 01:46:34 +01:00
smallmodel
869075f47b
Disable audio virtualization on special audio sources such as music and ambient sounds
This prevents the music from being muffled by HRTF virtualization
2025-01-01 23:58:48 +01:00
smallmodel
a067c58b3d
Add EV_ScriptThread_FileClose2 to call fclose() without getting the return value 2025-01-01 23:38:49 +01:00
smallmodel
b16aaa5adc
Use a scripted object to store the C file handle for file functions
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 15s
2025-01-01 12:40:59 +01:00
smallmodel
f4a412cc24
Fix reverb toggle at runtime even if reverb is unimplemented
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
2024-12-31 13:04:33 +01:00
smallmodel
d83ad43b0b
Fix FPS model not being set correctly to match the world model
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 3m46s
2024-12-30 20:24:49 +01:00
smallmodel
aa9847cf90
Use clean Radix sort code from ioquake3 to sort draw surfaces 2024-12-30 19:18:54 +01:00
smallmodel
18a3658935
Ignore fast path if the drawsurf is a sprite 2024-12-30 19:18:20 +01:00
smallmodel
716a574abe
Clean up terrain when shutting the Ref down 2024-12-30 18:51:10 +01:00
smallmodel
e0dee12578
Clamp LOD terrain values 2024-12-30 16:16:17 +01:00
smallmodel
04b1e88077
Clamp r_subdivisions value 2024-12-30 16:13:50 +01:00
smallmodel
51a2f7d479
Use an enumeration for weapon commands and a function to get the weapon command
This improves clarity for using weapon commands. Also the mask was incorrect for protocol above version 8 (mohaas and mohaab)
2024-12-30 00:55:29 +01:00
smallmodel
2656000ce4
Print chat message from the game module instead of the server 2024-12-29 18:46:40 +01:00
smallmodel
4ec10af1fd
Fix private message not working 2024-12-29 15:43:41 +01:00
smallmodel
78cd0cf28b
Prevent firing weapon if there is a weapon command
This prevent tricks like firing and dropping weapon to shoot silently
2024-12-29 13:45:18 +01:00
smallmodel
3e9d2bf89a
Fix incompatible type being used for shadertext
Some checks failed
Build branch / build-all (push) Failing after 17s
CodeQL / Analyze (push) Has been cancelled
2024-12-27 17:33:29 +01:00
smallmodel
ebe9795bba
Select a random player skin when the bot dies
Some checks failed
Build branch / build-all (push) Failing after 17s
CodeQL / Analyze (push) Has been cancelled
2024-12-25 15:08:57 +01:00
smallmodel
3f2c2f7aa4
Spectate the next player in mohaa 1.0 (instead of random) when pressing use in spectator 2024-12-25 15:08:00 +01:00