smallmodel
187079842f
Add cg_cheats to check if cheats are enabled
2025-01-22 21:26:29 +01:00
smallmodel
ef2c5d2df6
Check and verify that selected player models are valid
...
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
85c401496a
Add a client-game variable for customizing the FOV client-side
2024-12-23 22:53:31 +01:00
smallmodel
861338b0fc
Add support for smaller lightmaps
...
Large lightmap can be disabled for very low-end hardware. A BSP file with a smaller lightmap (_sml.bsp) will be used instead of the standard one if the map supports it
2024-12-02 20:36:45 +01:00
smallmodel
4775f29194
Fix build warnings and errors
2024-11-30 23:36:37 +01:00
smallmodel
6fe1e86b31
Automatically scale UI elements for high resolutions
...
This fixes UI elements being tiny on high resolutions like 4K. Now most UI elements will scale automatically with resolutions above 1920x1080.
2024-11-30 22:40:00 +01:00
smallmodel
6ff92f0a7e
Process the ubersound folder differently depending on the target version
...
- On 1.11 and below, the ubersound folder is parsed either only in dedicated server mode or in client-only mode
- On 2.0 and above, alias are cleared and the ubersound folder is always parsed in multiplayer on both client and server
2024-10-31 23:57:18 +01:00
smallmodel
d3212c55a0
Properly parse and cache ubersounds, and don't cache resources that must be always loaded to avoid filling up sound indexes
2024-10-29 21:02:16 +01:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy
2024-09-20 23:08:53 +02:00
smallmodel
08e09c3b4c
Avoid setting variables with the same value
...
This prevents the console from being spammed with constant variable change when `developer` is set to 2
2024-09-18 20:55:02 +02:00
smallmodel
cd9b1a741f
Match CG_PermanentMark parameters
...
This fixes #355
2024-09-07 23:57:17 +02:00
smallmodel
551fccb761
Fixes wrong handle being compared for uniqueness
...
This should fix invisible models (fixes #322 )
2024-07-02 22:47:41 +02:00
smallmodel
e08b2fe382
Added cg_target_game
2024-06-09 20:10:30 +02:00
smallmodel
40035f4df3
Fixed multi-shaders snow
2024-03-02 14:23:32 +01:00
smallmodel
e55f5902d5
Avoid using constant values
2024-02-21 20:12:05 +01:00
smallmodel
fce0f7b357
Better rain handlijng
2024-02-04 19:36:34 +01:00
smallmodel
0fabdc8c44
Added current objective index
2024-02-04 19:25:03 +01:00
smallmodel
0a42fd79d2
Clear radar on cgame shutdown
2023-11-26 19:30:28 +01:00
smallmodel
2f43e5c5ea
Fixed crosshair friend icon on mohaa 1.11
2023-11-07 23:01:49 +01:00
smallmodel
a5ba02c2bb
Added crosshair variables
2023-11-07 19:30:46 +01:00
smallmodel
7de31a776b
Added a check to avoid freeing a model that is used more than once
2023-10-29 20:40:37 +01:00
smallmodel
503320d13f
Added modelOnly parameter to CG_ProcessConfigString + added votes
2023-10-29 20:40:07 +01:00
smallmodel
0ef2dccd90
Don't replace cgi.Malloc and cgi.Free with malloc/free
2023-09-04 21:24:17 +02:00
smallmodel
8c1145bb9f
Clear all unsupported farplane fields in protocol below version 15
2023-08-28 20:59:02 +02:00
smallmodel
99ba396c24
Make sure to not error out if the map checksum isn't used. Also fixed cg.farclipOverride, must be -1 if the server is a mohaa server
2023-08-28 20:46:48 +02:00
smallmodel
2afda6a470
Check the map checksum in CG_GameStateReceived
2023-08-28 20:29:18 +02:00
smallmodel
7433677ead
CG_Init(): clear fog overrides
2023-08-28 20:22:43 +02:00
smallmodel
2c1f341099
Initialize cg.farplaneColorOverride values to -1
2023-08-28 17:53:47 +02:00
smallmodel
21d41ce14b
Use facfont-20 for objective font
2023-08-27 17:48:18 +02:00
smallmodel
8d6b3d0bd8
Added cg_archive and cg_radar (unimplemented)
2023-08-13 23:20:00 +02:00
smallmodel
f930d39a42
Used clang-format on cgame module
2023-07-05 21:24:23 +02:00
OM
36dce22071
Moved cgi.protocol to a new variable called cg_protocol
instead, due to issues like GetCGameAPI being loaded before having client imports (cgi)
2023-07-02 19:16:48 +02:00
OM
9603f8e38a
Parse the fog info depending on the game version
2023-07-01 21:20:15 +02:00
OM
00b926db29
Init the client game export for scores and CG message
2023-07-01 21:18:30 +02:00
OM
420161095f
Parse **CS_PLAYERS**
2023-05-22 01:44:59 +02:00
OM
ab2a26a14e
Added support for *Team Assault* and *Team Tactics*
2023-05-21 19:59:36 +02:00
OM
5ec8c901e2
Using float instead of long double in *CG_RegisterSounds*
2023-05-19 21:34:18 +02:00
L
2f2a4d0ad6
Fixed rain float values
2023-05-07 17:45:01 +02:00
L
288b208921
Added a way to debug memory allocations
2023-05-07 14:43:30 +02:00
L
c87cce4091
Added more cvars
...
CG_Init fixes
Added more CG_Shutdown logic
2023-05-01 15:12:42 +02:00
L
1d28e9f4f3
Added all client game exports
2023-05-01 00:17:30 +02:00
L
d8cffd6adf
Added GetCGameAPI export
2023-04-30 23:29:21 +02:00
L
12a53f36cc
CG_ProcessConfigString: Process rain and tiki
...
CG_PrepRefresh: Avoid clearing scene, and added more shaders
CG_GameStateReceived: Initialize special effects manager and objectives
CG_ServerRestarted: Reset VSS sources and objectives
2023-04-30 14:48:55 +02:00
L
abfb82f340
Multiple compilation errors fixes #1
2023-04-30 01:42:57 +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