MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / FindInternal

Method FindInternal

neo/framework/CVarSystem.cpp:527–535  ·  view source on GitHub ↗

============ idCVarSystemLocal::FindInternal ============ */

Source from the content-addressed store, hash-verified

525============
526*/
527idInternalCVar *idCVarSystemLocal::FindInternal( const char *name ) const {
528 int hash = cvarHash.GenerateKey( name, false );
529 for ( int i = cvarHash.First( hash ); i != -1; i = cvarHash.Next( i ) ) {
530 if ( cvars[i]->nameString.Icmp( name ) == 0 ) {
531 return cvars[i];
532 }
533 }
534 return NULL;
535}
536
537/*
538============

Callers 6

Toggle_fMethod · 0.80
SetS_fMethod · 0.80
SetU_fMethod · 0.80
SetT_fMethod · 0.80
SetA_fMethod · 0.80
Reset_fMethod · 0.80

Calls 4

GenerateKeyMethod · 0.80
FirstMethod · 0.80
IcmpMethod · 0.60
NextMethod · 0.45

Tested by

no test coverage detected