Commit graph

4061 commits

Author SHA1 Message Date
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
smallmodel
583c2720e2
Fix Info_RemoveKey not correctly removing the key 2024-12-25 15:00:32 +01:00
smallmodel
47d6843b70
Fix player model list never initialized 2024-12-25 14:50:11 +01:00
smallmodel
25fd01c46b
Automatically switch to another weapon when the current weapon has no ammo
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 22s
2024-12-24 20:19:08 +01:00
smallmodel
963b2a2bbd
Add getters for Sentient inventory and ammo inventory 2024-12-24 20:04:59 +01:00
smallmodel
7274ceb0ff
Make the bot melee when it is near the player 2024-12-24 19:53:20 +01:00
smallmodel
cb1c3c0b1c
Remove call to SV_WriteDownloadToClient() when sending snapshots, as it's already called when sending download messages 2024-12-24 18:42:05 +01:00
smallmodel
da5c35ec2b
Prevent connecting clients from receiving snapshots and CG messages while connecting
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
2024-12-24 18:30:08 +01:00
smallmodel
515beeafa7
Fix wrong fov clamping
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 19s
2024-12-23 22:57:26 +01:00
smallmodel
85c401496a
Add a client-game variable for customizing the FOV client-side 2024-12-23 22:53:31 +01:00
smallmodel
31278fba92
Make sure to bind to the renderer FBO when drawing
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
2024-12-22 22:41:54 +01:00
smallmodel
a760cb75a3
Use RE_AddPolyToScene2 for poly like beams 2024-12-22 20:27:59 +01:00
smallmodel
1d0b912f75
Make sure to check if the sprite is valid 2024-12-22 19:57:14 +01:00
smallmodel
439e0718ce
Fix sprite rendering causing crashes 2024-12-22 19:16:27 +01:00
smallmodel
4c57ba6ef3
Fix currentStaticModel assignment 2024-12-22 19:03:11 +01:00
smallmodel
b4bae40da8
Fix BSP minimum and maximum version on GL2 2024-12-22 19:00:15 +01:00
smallmodel
e04cbd57ea
Fix most shader errors, light rendering
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 18s
2024-12-21 22:49:38 +01:00
smallmodel
66664b7b46
Add tr_vis 2024-12-21 21:43:29 +01:00
smallmodel
546b90d75f
Add basic 3D GL2 rendering with static models and terrain 2024-12-21 17:04:31 +01:00
smallmodel
14e83a52a4
Add terrain rendering 2024-12-21 14:01:11 +01:00
smallmodel
dc9fec9d03
Load JPEG file first before TGA
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 28s
2024-12-20 23:35:14 +01:00
smallmodel
6d21d52d3e
Define USE_INTERNAL_JPEG macro for renderer when using the internal JPEG 2024-12-20 23:31:03 +01:00
smallmodel
3afb87486b
Add basic support for mohaa shaders for GL2 2024-12-20 23:21:28 +01:00
smallmodel
d0c0a55e6d
Fix drawing elements with color 2024-12-20 23:20:30 +01:00
smallmodel
1919b0efcb
Fix Cvar_SetValue not set for ref imports 2024-12-20 23:11:37 +01:00
smallmodel
954d096261
Fix font rendering 2024-12-20 21:53:33 +01:00
smallmodel
7e150c7a8a
Implement used draw functions 2024-12-20 21:27:10 +01:00