ui_raceMode
EternalJK
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Engine-managed. The game maintains this value itself, so it is not a setting to change by hand: no registration exists; every cited site only writes it with Cvar_Set, so a value you set is replaced the next time that code runs.
Menu-only state the UI keeps while reading server info. UI_UpdateCurrentServerInfo clears it on every refresh and sets it to 1 when a jaPRO server advertises JAPRO_CINFO2_RACEMODE in its jcinfo2 key. A value set by hand is replaced at the next refresh.
At a glance
| Field | Value |
|---|---|
| Default | 0 |
| Value type | bool |
| Restart | No latch flag is registered. |
| Manually settable | No; the game writes this value. |
| Cheat protected | No |
| Network scope | client-only: Local to the client/UI/renderer. |
| Category | HUD & interface |
| Module | ui |
| Renderer | All / not renderer-specific |
| Derivation | code-trace |
| Confidence | medium |
| Added | 2018-09-10 in dbfd735d1 needs review (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | Yes: ingame.menu:151, ingame.menu:184, ingame.menu:805 |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
The server does not advertise race mode, or its info has not been read yet. | codemp/ui/ui_main.c:629 |
1 |
The connected jaPRO server advertises race mode. | codemp/ui/ui_main.c:656 |
Flags
No cvar flags are registered at the cited site.
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
0 |
ui |
— |
always |
1 |
ui |
— |
always |
Provenance
Origin: EternalJK
- Ultimate-origin introduction:
dbfd735d1da2in EternalJK (content authored2018-09-10, integrated2018-09-10) - Upstream registration evidence: codemp/ui/ui_main.c:626
- Attribution method:
shared-earliest-commit-lineage-order - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by eternaljk, taystjk, japro, vulkan; fork-lineage order selects eternaljk.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| EternalJK | 2018-09-10 |
— | 2018-09-10 |
dbfd735d1da2 |
Ultimate origin |
| TaystJK | 2018-09-10 |
— | 2018-09-10 |
dbfd735d1da2 |
Shared integration commit |
| jaPRO | 2018-09-10 |
— | 2018-09-10 |
dbfd735d1da2 |
Shared integration commit |
| Vulkan | 2018-09-10 |
— | 2018-09-10 |
dbfd735d1da2 |
Shared integration commit |
Evidence
- registration: codemp/ui/ui_main.c:629 (implicit Cvar_Set)
- registration: codemp/ui/ui_main.c:656 (implicit Cvar_Set)
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.