MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / FindVClipName

Function FindVClipName

Descent3/vclip.cpp:623–631  ·  view source on GitHub ↗

Searches thru all vclips for a specific name, returns -1 if not found or index of vclip with name

Source from the content-addressed store, hash-verified

621// Searches thru all vclips for a specific name, returns -1 if not found
622// or index of vclip with name
623int FindVClipName(const char *name) {
624 int i;
625
626 for (i = 0; i < MAX_VCLIPS; i++)
627 if (GameVClips[i].used && !stricmp(GameVClips[i].name, name))
628 return i;
629
630 return -1;
631}

Callers 3

ResaveVClipFunction · 0.85
AllocLoadVClipFunction · 0.85
AllocLoadIFLVClipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected