mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
Vanilla 1.12 registers GetCVar/SetCVar/RegisterCVar/GetCVarDefault and RunScript only on the in-game FrameScript engine; GlueXML had no way to reach them. Mirroring is pointer-aliasing — same Script_* C functions registered on glue via RegisterGlueFunction. CVar storage is process-global so writes from either state are visible on the other. C_CVar.GetCVarBool (our existing polyfill) gets a GlueModuleAutoRegister alongside the existing in-game one.