cg_shadows

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_shadows in the cgame module. Consult the cited behavior reads before relying on values not listed here.

At a glance

Field Value
Category Graphics & rendering
Module cgame
Also registered in cgame, renderer
Renderer rd-dedicated, rd-rend2, rd-vanilla, rd-vulkan
Network scope client-only — Local to the client/UI/renderer.
Derivation code-trace
Confidence high
In-game xdocs No
In-game menu Yes — ingame_setup.menu:2979
Default 1
Value type enum
Restart No latch flag is registered.
Cheat protected No

Values

Value Meaning Evidence
0 Selects the code path tested for value 0. codemp/cgame/cg_players.c:5453
1 Selects the code path tested for value 1. codemp/cgame/cg_players.c:5477
2 Selects the code path tested for value 2. codemp/cgame/cg_players.c:5487

Flags

Registration-specific defaults

Default Module Renderer Compile condition
1 cgame always
1 renderer rd-dedicated always
1 renderer rd-rend2 always
1 renderer rd-vanilla always
1 renderer rd-vulkan always

Provenance

Origin: Base Jedi Academy

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 a09d4827fb0d
Added /codeJK2/ for JK2. Also did a whole bunch of other crap which I shouldn’t have, in hindsight. Have fun!
Changed registration, default, flags, module, renderer scope, handler, or gating. codeJK2/cgame/cg_main.cpp medium
2013-04-07 OpenJK b319c52fd4ed
Major codemp cleanup. Ported modbase. Restructured VS2010 projects.
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_main.c, codemp/cgame/cg_xcvar.h medium
2013-04-16 OpenJK 714c868b42c6
Merge branch ‘master’ of https://github.com/Razish/OpenJK
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/rd-dedicated/tr_init.cpp, codemp/rd-dedicated/tr_local.h, codemp/rd-vanilla/tr_backend.cpp and 8 more high
2013-04-19 OpenJK 16007a014e0b
19 externals left to fix in the SP modular renderer, doing a push/pull break here
Changed registration, default, flags, module, renderer scope, handler, or gating. code/rd-vanilla/tr_init.cpp medium
2013-08-02 OpenJK dd9bd9b9ae92
Refactored renderer API, fixed some Ghoul2 crashes
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-dedicated/tr_init.cpp, codemp/rd-vanilla/tr_init.cpp medium
2013-08-11 OpenJK 794718e3fdfb
Merge pull request #344 from Razish/qvmtest
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c medium
2014-01-30 OpenJK d3a6d2b9b9d2
[MP] Style: remove superfluous whitespace
Changed an exact bound cvar-variable reference. codemp/rd-vanilla/tr_ghoul2.cpp, codemp/rd-vanilla/tr_mesh.cpp medium
2015-11-24 EternalJK c8f6ea17a324
Remove SP code
Changed registration, default, flags, module, renderer scope, handler, or gating. code/cgame/cg_main.cpp, code/rd-vanilla/tr_init.cpp, codeJK2/cgame/cg_main.cpp medium
2016-03-24 EternalJK c9c6ab99fdd2
Merge branch ‘master’ of https://github.com/JACoders/OpenJK into japro
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-dedicated/tr_init.cpp, codemp/rd-vanilla/tr_init.cpp medium
2017-12-29 EternalJK 43b393062090
Merge remote-tracking branch ‘upstream/master’
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-dedicated/tr_init.cpp, codemp/rd-vanilla/tr_init.cpp medium
2018-09-03 jaPRO bdcd618c6771
Import japro cgame
Changed an exact bound cvar-variable reference. codemp/cgame/cg_players.c high
2018-12-24 EternalJK 7ccf8061df4f
Tweak cg_saberTrail 3 visual
Changed an exact bound cvar-variable reference. codemp/cgame/cg_players.c medium
2021-05-25 TaystJK d7d7ce3234e6
Added vanilla clone for code compare
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/rd-vulkan/tr_backend.cpp, codemp/rd-vulkan/tr_ghoul2.cpp, codemp/rd-vulkan/tr_init.cpp and 4 more medium
2021-05-25 Vulkan c4a9c87ef0e3
Added vulkan renderer
Changed an exact bound cvar-variable reference. codemp/rd-vulkan/tr_backend.cpp, codemp/rd-vulkan/tr_light.cpp, codemp/rd-vulkan/tr_local.h and 3 more high
2021-10-24 Vulkan bd3a458a8bb2
Various fixes and upstream changes from Quake3e
Changed an exact bound cvar-variable reference. codemp/rd-vulkan/tr_shadows.cpp high
2023-06-23 TaystJK b6f420fe4766
Merge branch ‘master’ of https://github.com/JKSunny/EternalJK
Changed an exact bound cvar-variable reference. codemp/rd-vulkan/tr_ghoul2.cpp medium
2023-10-03 TaystJK 86c0756385ef · PR #12
Rend2 (#12)
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/rd-rend2/tr_init.cpp medium
2024-02-03 TaystJK 0c789787f79c · PR #110
Rend2 updates (#110)
Changed an exact bound cvar-variable reference. shared/rd-rend2/tr_animation.cpp, shared/rd-rend2/tr_backend.cpp, shared/rd-rend2/tr_cmds.cpp and 8 more medium
2024-02-26 TaystJK cd784cbf26da · PR #157
Upstream update (#157)
Changed an exact bound cvar-variable reference. shared/rd-rend2/tr_model_iqm.cpp medium

Evidence