cg_snapHudDef
TaystJK
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Controls cg_snapHudDef in the cgame module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Default | 45 |
| Value type | float |
| Restart | No latch flag is registered. |
| Manually settable | Yes |
| Cheat protected | No |
| Network scope | client-only: Local to the client/UI/renderer. |
| Category | Movement & race |
| Feature family | SnapHUD |
| Module | cgame |
| Renderer | All / not renderer-specific |
| Derivation | code-trace |
| Confidence | high |
| Added | 2024-03-02 in 1d4c081cb (how to compare this against your build) |
| In-game xdocs | Yes: codemp/ui/ui_xdocs.h:575 |
| In-game menu | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_ARCHIVE: saved to the user configuration
Provenance
Origin: TaystJK
- Ultimate-origin introduction:
1d4c081cb762in TaystJK (content authored2024-03-02, PR opened2023-11-05, integrated2024-03-02) - Origin pull request: #46
- Upstream registration evidence: codemp/cgame/cg_xcvar.h:443
- Attribution method:
earliest-authored-project-introduction - Attribution confidence:
high
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 |
|---|---|---|---|---|---|
| TaystJK | 2024-03-02 |
2023-11-05 | 2024-03-02 |
1d4c081cb762 |
Ultimate origin |
| jaPRO | 2024-03-02 |
— | 2024-03-02 |
1d4c081cb762 |
Shared integration commit |
Evidence
- registration: codemp/cgame/cg_xcvar.h:444 (XCVAR_DEF)
- behavior: codemp/cgame/hud_strafehelper.c:2565
- behavior: codemp/cgame/hud_strafehelper.c:2572
- behavior: codemp/cgame/hud_strafehelper.c:2580
- behavior: codemp/ui/ui_xdocs.h:575
- documentation: codemp/ui/ui_xdocs.h:575
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.