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

Function UI_RegisterCvars

code/ui/ui_main.cpp:2788–2798  ·  view source on GitHub ↗

================= UI_RegisterCvars ================= */

Source from the content-addressed store, hash-verified

2786=================
2787*/
2788static void UI_RegisterCvars( void )
2789{
2790 size_t i = 0;
2791 const cvarTable_t *cv = NULL;
2792
2793 for ( i=0, cv=cvarTable; i<cvarTableSize; i++, cv++ ) {
2794 Cvar_Register( cv->vmCvar, cv->cvarName, cv->defaultString, cv->cvarFlags );
2795 if ( cv->update )
2796 cv->update();
2797 }
2798}
2799
2800/*
2801=================

Callers 1

_UI_InitFunction · 0.70

Calls 2

updateMethod · 0.80
Cvar_RegisterFunction · 0.50

Tested by

no test coverage detected