cg_drawStatus
Base Jedi Academy
Controls whether the main HUD status elements are drawn
At a glance
| Field | Value |
|---|---|
| Category | HUD & interface |
| Module | cgame |
| Also registered in | cgame |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | documented |
| Confidence | high |
| In-game xdocs | Yes — codemp/ui/ui_xdocs.h:286 |
| In-game menu | No |
| Default | 1 |
| Value type | enum |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
HUD disabled; no status elements are drawn | codemp/ui/ui_xdocs.h:286 |
1 |
Draws the main HUD (health, armor, ammo, force power), the weapon/force/inventory selection panel, and the default CTF flag status indicators | codemp/ui/ui_xdocs.h:286 |
2 |
Same as 1, but replaces the CTF flag status with a new style | codemp/ui/ui_xdocs.h:288 |
3 |
Same as 1, but draws both the default and new style CTF flag status indicators | codemp/ui/ui_xdocs.h:289 |
Flags
CVAR_ARCHIVE— saved to the user configuration
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: code/cgame/cg_main.cpp:342
- Attribution method:
present-in-openjk-initial-source-import - Attribution confidence:
high - Notes: Identifier is present in OpenJK’s initial Raven source-import snapshot. Dated commit evidence identifies later registration changes relative to the origin snapshot.
Later changes
These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.
| Date | Change source | Commit / subject | Evidence | Confidence |
|---|---|---|---|---|
2013-04-07 |
OpenJK | a09d4827fb0dAdded /codeJK2/ for JK2. Also did a whole bunch of other crap which I shouldn’t have, in hindsight. Have fun! |
Changed registration, default, flags, module, renderer scope, handler, or gating. codeJK2/cgame/cg_main.cpp |
medium |
2013-04-07 |
OpenJK | b319c52fd4edMajor codemp cleanup. Ported modbase. Restructured VS2010 projects. |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/cgame/cg_main.c, codemp/cgame/cg_newDraw.c, codemp/cgame/cg_xcvar.h |
medium |
2015-11-24 |
EternalJK | c8f6ea17a324Remove SP code |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/cgame/cg_main.cpp, codeJK2/cgame/cg_main.cpp |
medium |
2018-09-03 |
jaPRO | bdcd618c6771Import japro cgame |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
high |
2024-02-27 |
TaystJK | baa02905f40f · PR #130Merge pull request #130 from taysta/tribes-clientside |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
2024-03-22 |
TaystJK | 02b8a825b64dTweak top center timer font and fix bug of ctf hud showing in tffa |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
2026-02-28 |
TaystJK | 168729602a5b · PR #292Merge pull request #292 from taysta/draw-status |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c, codemp/ui/ui_xdocs.h |
medium |
Evidence
- registration: codemp/cgame/cg_xcvar.h:285 (XCVAR_DEF)
- behavior: codemp/cgame/cg_draw.c:3675
- behavior: codemp/cgame/cg_draw.c:6935
- behavior: codemp/cgame/cg_draw.c:11656
- behavior: codemp/cgame/cg_newDraw.c:570
- behavior: codemp/cgame/cg_draw.c:9987
- documentation: codemp/ui/ui_xdocs.h:286