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

Method FindSubGroup

codemp/qcommon/GenericParser2.cpp:668–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666}
667
668CGPGroup *CGPGroup::FindSubGroup(const char *name)
669{
670 CGPGroup *group;
671
672 group = mSubGroups;
673 while(group)
674 {
675 if(!Q_stricmp(name, group->GetName()))
676 {
677 return(group);
678 }
679 group = (CGPGroup *)group->GetNext();
680 }
681 return(NULL);
682}
683
684bool CGPGroup::Parse(char **dataPtr, CTextPool **textPool)
685{

Callers 3

Music_ParseMusicFunction · 0.45
Music_ParseLeveldataFunction · 0.45
GPG_FindSubGroupFunction · 0.45

Calls 3

Q_stricmpFunction · 0.85
GetNameMethod · 0.45
GetNextMethod · 0.45

Tested by

no test coverage detected