cg_drawTeamOverlay
Base Jedi Academy
Draw the team overlay for team-based gametypes
At a glance
| Field | Value |
|---|---|
| Category | Gameplay & combat |
| 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:133 |
| In-game menu | Yes — ingame_setup.menu:4152, setup.menu:2802 |
| Default | 0 |
| Value type | enum |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
The team overlay is not drawn | codemp/ui/ui_xdocs.h:133 |
1 |
The team overlay is drawn | codemp/ui/ui_xdocs.h:133 |
2 |
The team overlay is drawn, excluding the local client | codemp/ui/ui_xdocs.h:134 |
3 |
The new team overlay is drawn | codemp/ui/ui_xdocs.h:135 |
4 |
The new team overlay is drawn, excluding the local client | codemp/ui/ui_xdocs.h:136 |
5 |
The vertical team overlay is drawn | codemp/ui/ui_xdocs.h:138 |
6 |
The vertical team overlay is drawn, excluding the local client | codemp/ui/ui_xdocs.h:138 |
Flags
CVAR_ARCHIVE— saved to the user configuration
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: codemp/cgame/cg_main.c:1005
- 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 | b319c52fd4edMajor codemp cleanup. Ported modbase. Restructured VS2010 projects. |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_main.c, codemp/cgame/cg_xcvar.h |
medium |
2014-03-02 |
OpenJK | 6f4aadcbd269[MP] CGame: Moved some cvar code to cg_cvar.c |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_cvar.c |
medium |
2018-05-16 |
EternalJK | 5df1fad1b1f6Merge remote-tracking branch ‘bucky/master’ |
Changed an exact bound cvar-variable reference. codemp/ui/ui_xdocs.h |
medium |
2018-09-03 |
jaPRO | bdcd618c6771Import japro cgame |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/cgame/cg_draw.c, codemp/cgame/cg_xcvar.h |
high |
2022-04-24 |
TaystJK | 72f6921bb38ahud/timer tweaks |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
2022-04-24 |
TaystJK | 81882b7ee881#13 new team overlays - cg_drawTeamOverlay 3/4 |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
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 |
2025-09-29 |
TaystJK | c1db680833db · PR #257Merge pull request #257 from VincentMarnier/fix_drawteamoverlay2 |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
high |
2025-09-29 |
TaystJK | bc7b9fb3a9e9 · PR #258Merge pull request #258 from taysta/teamoverlay-new |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
2026-08-06 |
TaystJK | 17085eaeadd0 · PR #356Merge pull request #356 from taysta/teamoverlay3 |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c, codemp/ui/ui_xdocs.h |
high |
Evidence
- registration: codemp/cgame/cg_xcvar.h:53 (XCVAR_DEF)
- behavior: codemp/cgame/cg_cvar.c:50
- behavior: codemp/cgame/cg_draw.c:6109
- behavior: codemp/cgame/cg_draw.c:6129
- behavior: codemp/cgame/cg_draw.c:6211
- behavior: codemp/cgame/cg_draw.c:6335
- documentation: codemp/ui/ui_xdocs.h:133