g_raceMode
jaPRO
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
0=Noracemode, 1=forcedracemode, 2=player can toggle race mode with /racecommand.
At a glance
| Field | Value |
|---|---|
| Category | Gameplay & combat |
| Module | game |
| Also registered in | game |
| Renderer | All / not renderer-specific |
| Network scope | server-authoritative — Owned or enforced by the server. |
| Derivation | documented |
| Confidence | medium |
| In-game xdocs | No |
| In-game menu | No |
| Default | 0 |
| Value type | bitmask |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Noracemode. | docs/japro_docs.md:121 |
1 |
Forcedracemode. | docs/japro_docs.md:121 |
2 |
Player can toggle race mode with /racecommand. | docs/japro_docs.md:121 |
Flags
CVAR_ARCHIVE— saved to the user configuration
Provenance
Origin: jaPRO
- Ultimate-origin introduction:
d9d510063ce6in jaPRO (content authored2014-01-19, integrated2018-01-01) - Upstream registration evidence: codemp/game/g_xcvar.h:322
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by eternaljk, taystjk, japro, vulkan; fork-lineage order selects eternaljk. The identifier’s single-prefix squash feature group explicitly credits japro.
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 | 2014-01-19 |
— | 2018-01-01 |
d9d510063ce6 |
Shared integration commit |
| TaystJK | 2014-01-19 |
— | 2018-01-01 |
d9d510063ce6 |
Shared integration commit |
| jaPRO | 2014-01-19 |
— | 2018-01-01 |
d9d510063ce6 |
Ultimate origin |
| Vulkan | 2014-01-19 |
— | 2018-01-01 |
d9d510063ce6 |
Shared integration commit |
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 |
|---|---|---|---|---|
2018-02-05 |
EternalJK | 675e97128f48Merge remote-tracking branch ‘eternalcodes/master’ |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c |
medium |
2018-09-10 |
EternalJK | dbfd735d1da2Added jcinfo2 to allow UI to only show Race button when relevant |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/game/g_cvar.c, codemp/game/g_xcvar.h |
medium |
2018-09-11 |
jaPRO | 879b06083542Merge remote-tracking branch ‘videoP-jaPRO/master’ |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/game/g_cvar.c, codemp/game/g_xcvar.h |
high |
2018-09-11 |
EternalJK | 8f30394e6606Fix compile |
Changed an exact bound cvar-variable reference. codemp/game/g_cvar.c |
medium |
2018-11-04 |
EternalJK | ad634ee5d2ffMerge branch ‘master’ of https://github.com/eternalcodes/EternalJK |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c |
high |
2020-06-17 |
EternalJK | 0d51e4b09fdeUpdate race command to work in team gametypes with g_raceMode 2 |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c |
medium |
2023-09-25 |
OpenJK | 405022446ca4[OpenJK] Re-merge OpenJK into EJK [1] |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c |
medium |
2023-12-11 |
jaPRO | 9b57ee1b8566 · PR #55Japro update (#55) |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c, codemp/game/g_main.c, codemp/game/g_weapon.c |
high |
2024-01-11 |
jaPRO | 7a38e0e45170 · PR #87Japro update (#87) |
Changed an exact bound cvar-variable reference. codemp/game/g_client.c |
high |
Evidence
- registration: codemp/game/g_xcvar.h:321 (XCVAR_DEF)
- behavior: codemp/game/g_active.c:3764
- behavior: codemp/game/g_client.c:3167
- behavior: codemp/game/g_client.c:3169
- behavior: codemp/game/g_client.c:4242
- behavior: codemp/game/g_client.c:4244
- documentation: docs/japro_docs.md:121