MCPcopy Create free account
hub / github.com/JACoders/OpenJK / UI_UpdateCvars

Function UI_UpdateCvars

code/ui/ui_main.cpp:3662–3677  ·  view source on GitHub ↗

================= UI_UpdateCvars ================= */

Source from the content-addressed store, hash-verified

3660=================
3661*/
3662void UI_UpdateCvars( void )
3663{
3664 size_t i = 0;
3665 const cvarTable_t *cv = NULL;
3666
3667 for ( i=0, cv=cvarTable; i<cvarTableSize; i++, cv++ ) {
3668 if ( cv->vmCvar ) {
3669 int modCount = cv->vmCvar->modificationCount;
3670 Cvar_Update( cv->vmCvar );
3671 if ( cv->vmCvar->modificationCount != modCount ) {
3672 if ( cv->update )
3673 cv->update();
3674 }
3675 }
3676 }
3677}
3678
3679/*
3680=================

Callers 1

_UI_RefreshFunction · 0.70

Calls 2

updateMethod · 0.80
Cvar_UpdateFunction · 0.50

Tested by

no test coverage detected