cg_predictItems
Base Jedi Academy
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Controls cg_predictItems in the cgame module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Category | Gameplay & combat |
| Module | cgame |
| Also registered in | cgame, engine-client |
| Renderer | All / not renderer-specific |
| Network scope | needs-server-support — Sent to, or only useful with, a supporting game server. |
| Derivation | code-trace |
| Confidence | high |
| In-game xdocs | No |
| In-game menu | No |
| Default | 1 |
| Value type | bool |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Disabled. | codemp/cgame/cg_predict.c:623 |
1 |
Enabled. | codemp/cgame/cg_predict.c:623 |
Flags
CVAR_ARCHIVE— saved to the user configurationCVAR_USERINFO— sent in the client’s userinfo
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
1 |
cgame |
— |
always |
1 |
engine-client |
— |
always |
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: codemp/cgame/cg_main.c:1003
- Attribution method:
present-in-openjk-initial-source-import - Attribution confidence:
high - Notes: Identifier is present in OpenJK’s initial Raven source-import snapshot. Dated commit evidence identifies later registration changes relative to the origin snapshot.
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 |
|---|---|---|---|---|
2013-04-07 |
OpenJK | b319c52fd4edMajor codemp cleanup. Ported modbase. Restructured VS2010 projects. |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/cgame/cg_main.c, codemp/cgame/cg_xcvar.h, codemp/game/g_bot.c and 1 more |
medium |
2013-04-24 |
OpenJK | f6cadd34c6abMerge branch ‘master’ of https://github.com/Razish/OpenJK into modrender-port |
Changed an exact bound cvar-variable reference. codemp/game/g_client.c |
high |
Evidence
- registration: codemp/cgame/cg_xcvar.h:325 (XCVAR_DEF)
- registration: codemp/client/cl_main.cpp:3428 (Cvar_Get)
- behavior: codemp/cgame/cg_predict.c:623
- behavior: codemp/game/g_bot.c:948
- behavior: codemp/game/g_client.c:2106
- behavior: codemp/game/g_client.c:2337
- behavior: codemp/game/g_local.h:809