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

Method OpenFileReader

source/common/filesystem/source/filesystem.cpp:1269–1278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1267
1268
1269FileReader FileSystem::OpenFileReader(int lump, int readertype, int readerflags)
1270{
1271 if ((unsigned)lump >= (unsigned)FileInfo.size())
1272 {
1273 throw FileSystemException("OpenFileReader: %u >= NumEntries", lump);
1274 }
1275
1276 auto file = FileInfo[lump].resfile;
1277 return file->GetEntryReader(FileInfo[lump].resindex, readertype, readerflags);
1278}
1279
1280FileReader FileSystem::OpenFileReader(const char* name)
1281{

Callers 15

genspriteremapsFunction · 0.45
loadPaletteMethod · 0.45
LoadScriptFileFunction · 0.45
InitSpiritHeadFunction · 0.45
LoadPaletteLookupsFunction · 0.45
movie.cppFile · 0.45
IdentifyLMFFunction · 0.45
uploadCinemaPalettesFunction · 0.45
dbReadMapCRCFunction · 0.45
dbLoadMapFunction · 0.45
getSequenceFunction · 0.45
OpenMethod · 0.45

Calls 3

FileSystemExceptionClass · 0.85
sizeMethod · 0.45
GetEntryReaderMethod · 0.45

Tested by

no test coverage detected