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

Method GetFileFullName

source/common/filesystem/source/filesystem.cpp:1054–1063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1052//==========================================================================
1053
1054const char *FileSystem::GetFileFullName (int lump, bool returnshort) const
1055{
1056 if ((size_t)lump >= NumEntries)
1057 return NULL;
1058 else if (FileInfo[lump].LongName[0] != 0)
1059 return FileInfo[lump].LongName;
1060 else if (returnshort)
1061 return FileInfo[lump].shortName.String;
1062 else return nullptr;
1063}
1064
1065//==========================================================================
1066//

Callers 15

ReportErrorMethod · 0.80
transwordMethod · 0.80
transnumMethod · 0.80
parsecommandMethod · 0.80
sndInitFunction · 0.80
DefFileFunction · 0.80
DeleteStuffFunction · 0.80
InitFileSystemFunction · 0.80
SetupUserMapFunction · 0.80
InsertMapFunction · 0.80
ValidateMapFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected