MCPcopy Create free account
hub / github.com/ZDoom/gzdoom / CheckFileName

Method CheckFileName

src/common/filesystem/source/filesystem.cpp:1024–1030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1022//==========================================================================
1023
1024bool FileSystem::CheckFileName (int lump, const char *name)
1025{
1026 if ((size_t)lump >= NumEntries)
1027 return false;
1028
1029 return !strnicmp (FileInfo[lump].shortName.String, name, 8);
1030}
1031
1032//==========================================================================
1033//

Callers 5

RenameSpritesFunction · 0.80
S_ParseSndInfoFunction · 0.80
AddTexturesForWadMethod · 0.80
AutomapImage_TryCreateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected