Commit graph

29 commits

Author SHA1 Message Date
smallmodel
ef2c5d2df6
Check and verify that selected player models are valid
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
If the player model or the player german model is not valid, they will be reset to the default value. If the server doesn't have one or more of these models, force model feature will not work
2025-01-22 20:52:05 +01:00
smallmodel
465d462756
Automatically adjust the FOV depending on the aspect ratio 2025-01-02 15:52:45 +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
e15440af5e
Clear the view velocity when PMF_NO_MOVE is set 2024-12-12 22:52:28 +01:00
smallmodel
fb2f3bddaa
Fix the intermission screen (mission failed/success) not hiding immediately on the base game 2024-11-13 20:01:05 +01:00
smallmodel
923a6de394
Clear the velocity when both walking and frozen 2024-11-10 16:07:55 +01:00
smallmodel
df0cb87b35
Implement CG_AddLightShow (cg_acidtrip) 2024-09-08 18:48:15 +02:00
smallmodel
57ac7d8c19
Removed code that is already present in CG_SetupFog() and CG_SetupPortalSky() 2024-06-03 21:36:12 +02:00
smallmodel
825df20a72
Fixed game being stuck on mission stats screen in single-player 2023-11-26 19:30:54 +01:00
smallmodel
f19edac9ca
Fixed audio spatialization
The yaw was inverted specifically for the Miles Sound System. But as the engine was never using Miles, the yaw mustn't be inverted
2023-11-02 19:57:46 +01:00
smallmodel
a5b7c774c1
Added more clarity for PMF_DAMAGE_ANGLES 2023-10-13 19:33:03 +02:00
smallmodel
d6b93b712c
Fixed sound location when in camera view + subtract refdef viewangles when PMF_DAMAGE_ANGLES is set 2023-08-28 18:35:47 +02:00
smallmodel
52bb709ca5
Implemented CG_SetupFog() and CG_SetupPortalSky()
CG_SetupFog() must be called by CG_CalcViewValues()
CG_SetupPortalSky() must be called in CG_DrawActiveFrame()
2023-08-28 17:53:35 +02:00
smallmodel
c05403d5d3
Set fov sin/cos
Implemented CG_FrustumCullSphere (from BT code)
2023-07-15 20:41:14 +02:00
smallmodel
1ae812af96
Added CG_FrustumCullSphere 2023-07-15 20:18:20 +02:00
smallmodel
f930d39a42
Used clang-format on cgame module 2023-07-05 21:24:23 +02:00
OM
389da58ec5 Fixed the scoreboard still showing after the intermission 2023-05-22 12:31:38 +02:00
L
03d72d4240 Fixed viewkick 2023-05-06 17:50:41 +02:00
L
b6dfd7db06 Implemented viewkick 2023-05-06 16:15:28 +02:00
L
0fc3ecf67e CG_OffsetFirstPersonView: fixed height delta applied incorrectly 2023-05-03 19:32:19 +02:00
L
fc1392dfd6 Implemented CG_OffsetFirstPersonView (mostly) 2023-05-02 23:03:23 +02:00
L
8cf2dffb79 CG_OffsetFirstPersonView: removed assertion 2023-05-02 20:04:35 +02:00
L
cab948d988 Added CG_OffsetFirstPersonView declaration 2023-05-01 19:21:24 +02:00
L
5709800f1a Implemented CG_Eye* 2023-05-01 15:14:17 +02:00
L
493d11d404 Added CG_Eye* function stubs 2023-05-01 00:10:23 +02:00
L
6b8ffca431 CG_OffsetFirstPersonView: stub function
Removed CG_InterpolateView
CG_CalcViewValues implementation, todo damage angles and viewkick
CG_DrawActiveFrame: Added frameTime, removed info screen text check
2023-04-30 14:53:19 +02:00
L
29f328abf0 Added Ubertools CGAME module 2023-04-30 00:02:16 +02:00
Ley0k
09bed43f97 Hard reset 2016-03-27 11:49:47 +02:00