cg_raceTimer
jaPRO
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Show the race timer onscreen
At a glance
| Field | Value |
|---|---|
| Category | Movement & race |
| Feature family | Race timer |
| Module | cgame |
| Also registered in | cgame |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | documented |
| Confidence | medium |
| In-game xdocs | Yes — codemp/ui/ui_xdocs.h:165 |
| In-game menu | No |
| Default | 2 |
| Value type | enum |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Race timer is hidden | codemp/ui/ui_xdocs.h:165 |
1 |
Race timer is shown | codemp/ui/ui_xdocs.h:165 |
2 |
Race timer is shown with average and max speed | codemp/ui/ui_xdocs.h:166 |
3 |
Race timer is shown with ms, average speed, and max speed | codemp/ui/ui_xdocs.h:168 |
Flags
CVAR_ARCHIVE— saved to the user configuration
Provenance
Origin: jaPRO
- Ultimate-origin introduction:
bdcd618c6771in jaPRO (content authored2018-09-03, integrated2018-09-03) - Upstream registration evidence: codemp/cgame/cg_xcvar.h:58
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: 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 | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
Shared integration commit |
| TaystJK | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
Shared integration commit |
| jaPRO | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
Ultimate origin |
| Vulkan | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
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-10-11 |
EternalJK | 5975ed54e1d7timer show start speed |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
2018-10-12 |
EternalJK | 1b4736895d89cg_racetimer 1 fix |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
2018-11-04 |
EternalJK | ead7c2c37109cg_speedometersettings -> cg_speedometer defaults to off cg_speedometer 1 = normal speedometer like ppl would expect |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
2018-11-04 |
EternalJK | 0b6764d0171ecg_showpos |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
2022-04-20 |
TaystJK | 1dd571383a0dMerge remote-tracking branch ‘origin/master’ |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
2023-10-12 |
TaystJK | a07b984fe408Merge remote-tracking branch ‘origin/master’ |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c, codemp/cgame/hud_strafehelper.c |
medium |
2024-03-02 |
TaystJK | 1d4c081cb762 · PR #46SnapHUD, PitchHUD, MV_OCPM & MV_TRIBES, Strafehelper refactors, movestyle constants usage (#46) |
Changed an exact bound cvar-variable reference. codemp/cgame/hud_strafehelper.c |
medium |
Evidence
- registration: codemp/cgame/cg_xcvar.h:61 (XCVAR_DEF)
- behavior: codemp/cgame/cg_draw.c:1962
- behavior: codemp/cgame/hud_strafehelper.c:2398
- behavior: codemp/cgame/hud_strafehelper.c:2410
- behavior: codemp/cgame/hud_strafehelper.c:2411
- behavior: codemp/cgame/hud_strafehelper.c:2416
- documentation: codemp/ui/ui_xdocs.h:165