g_charRestrictRGB
OpenJK
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Controls g_charRestrictRGB in the game module. Consult the cited behavior reads before relying on values not listed here.
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 | code-trace |
| Confidence | medium |
| In-game xdocs | No |
| In-game menu | No |
| Default | 1 |
| Value type | bitmask |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_ARCHIVE— saved to the user configuration
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
b319c52fd4edin OpenJK (content authored2013-04-07, integrated2013-04-07) - Upstream registration evidence: codemp/game/g_xcvar.h:79
- Attribution method:
shared-earliest-commit-lineage-order - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by openjk, eternaljk, rend2, taystjk, japro, newjk, vulkan; fork-lineage order selects openjk.
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 |
|---|---|---|---|---|---|
| OpenJK | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Ultimate origin |
| EternalJK | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| rend2 | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| TaystJK | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| jaPRO | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| NewJK / NewMod | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| Vulkan | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
Evidence
- registration: codemp/game/g_xcvar.h:77 (XCVAR_DEF)
- behavior: codemp/game/g_client.c:2554
- behavior: codemp/game/g_client.c:4124