smallmodel
667c50f9b2
fix(cgame): draw svlag only if developer mode is enabled
2026-04-13 22:10:46 +02:00
.Crimewavez
969311274f
fix(cgame): crosshair centering at hi-res UI scaling ( #908 )
2026-03-29 21:41:05 +02:00
smallmodel
a09132b9fd
fix(cgame): always use the same crosshair_friend value across base and expansions
...
This prevents expansions from inheriting the default crosshair texture on first launch, avoiding the crosshair turning green when hovering over a teammate.
2026-01-21 23:29:50 +01:00
smallmodel
d7a2e5bc65
Clear the time message on liberation
...
There is no clock on liberation game mode.
2025-09-03 20:37:13 +02:00
smallmodel
19e12701f3
Fix HUD scaling for spectator text, and vote text on 4K
2025-01-21 20:15:43 +01:00
smallmodel
499fe44bde
Call R_RegisterShaderNoMip for the crosshair
...
This prevents the crosshair texture from being altered by the texture quality settings
2024-12-02 19:00:43 +01:00
smallmodel
aa74934ae0
Fix huddraw scaling with high resolutions
2024-11-30 23:21:20 +01:00
smallmodel
0534482c22
Fix a small mistake where it uses vidWidth rather than vidHeight
2024-11-30 23:08:23 +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
862af012cb
Fix infinite loop while getting the number of lines in objectives
2024-11-19 20:26:23 +01:00
smallmodel
05e14f6364
Adjust the objectives menu accordingly depending on the game message box which depends on the compass scale
2024-11-19 19:41:46 +01:00
smallmodel
f23dfa091e
Fix wrong flag used for checking for PMF_NO_HUD
2024-11-02 13:48:03 +01:00
smallmodel
374b8b9ae7
Add fuse stopwatch
2024-10-20 18:52:50 +02: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
74ccb03e54
Reduced compilation warnings
2024-06-07 20:34:13 +02:00
smallmodel
5568d160ab
Fixed uninitialized shader variable in CG_DrawCrosshair()
2023-11-13 22:18:38 +01:00
smallmodel
96748b3fbc
Fixed vote's last text position
2023-11-07 23:06:11 +01:00
smallmodel
f1325048e9
Fixed crosshair's endpos friend test
2023-11-07 23:05:54 +01:00
smallmodel
deee21eb68
Fixed vote string alignment position
2023-11-07 23:02:07 +01:00
smallmodel
4766067edb
Fixed crosshair incorrectly hiding
2023-11-07 22:54:05 +01:00
smallmodel
20c8c87e79
Draw vote and crosshair
2023-11-07 22:43:13 +01:00
smallmodel
e1554efc08
Fixed paused icon location
2023-11-07 19:20:52 +01:00
smallmodel
503320d13f
Added modelOnly parameter to CG_ProcessConfigString + added votes
2023-10-29 20:40:07 +01:00
smallmodel
e634fb5022
Using objective flags enum
2023-08-14 02:34:06 +02:00
smallmodel
7258a2e972
Fixed CG_DrawObjectives stack overflow
2023-08-13 22:07:19 +02:00
smallmodel
3fd87f90a2
Fixed objectives not showing properly
2023-08-13 20:17:23 +02:00
smallmodel
415a5e60da
Fixed uninitialized variables
2023-07-18 21:19:01 +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
cb95284d0c
Draw spectator view depending on the protocol version
2023-07-01 21:18:58 +02:00
OM
19716b20c0
Fixed kar98 zoom overlay
2023-05-29 21:14:43 +02:00
OM
9a6e7f23f9
**CG_DrawStopwatch** Refactor
2023-05-22 12:30:20 +02:00
OM
c4aca55b1a
Minor fixes
2023-05-22 02:38:43 +02:00
OM
ff587a8444
Health draw fix
2023-05-22 01:58:51 +02:00
OM
c3e98ed681
Fixed **CG_DrawSpectatorView** for Spearhead and Breakthrough
2023-05-22 01:50:53 +02:00
L
7030c23994
Fixed compilation issues
2023-05-07 20:38:08 +02:00
L
f30b1cb409
Implemented all 2D functions
2023-05-07 19:37:56 +02:00
L
161c5f9b84
Implemented CG_RefreshHudDrawElements
...
Added more stubs
2023-05-01 15:12:01 +02:00
L
4b020c54ee
Added stub functions
2023-04-30 14:47:27 +02:00
L
29f328abf0
Added Ubertools CGAME module
2023-04-30 00:02:16 +02:00