MCPcopy Create free account
hub / github.com/ZDoom/Raze / MatchString

Method MatchString

source/common/engine/sc_man.cpp:889–906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

887//==========================================================================
888
889int FScanner::MatchString (const char * const *strings, size_t stride)
890{
891 int i;
892
893 assert(stride % sizeof(const char*) == 0);
894
895 stride /= sizeof(const char*);
896
897 for (i = 0; *strings != NULL; i++)
898 {
899 if (Compare (*strings))
900 {
901 return i;
902 }
903 strings += stride;
904 }
905 return -1;
906}
907
908//==========================================================================
909//

Callers 13

ParseSwitchesMethod · 0.45
ParseMapDefinitionMethod · 0.45
S_AddSNDINFOFunction · 0.45
ParsePointLightMethod · 0.45
ParsePulseLightMethod · 0.45
ParseFlickerLightMethod · 0.45
ParseFlickerLight2Method · 0.45
ParseSectorLightMethod · 0.45
ParseFrameMethod · 0.45
ParseObjectMethod · 0.45
DoParseDefsMethod · 0.45
DoParseListMenuBodyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected