got rid of FZipLump.

This commit is contained in:
Christoph Oelckers 2023-12-12 20:46:57 +01:00
commit e35b0f1453
6 changed files with 30 additions and 207 deletions

View file

@ -781,25 +781,6 @@ int FileSystem::FileLength (int lump) const
return lump_p.resfile->Length(lump_p.resindex);
}
//==========================================================================
//
// GetFileOffset
//
// Returns the offset from the beginning of the file to the lump.
// Returns -1 if the lump is compressed or can't be read directly
//
//==========================================================================
int FileSystem::GetFileOffset (int lump)
{
if ((size_t)lump >= NumEntries)
{
return -1;
}
const auto &lump_p = FileInfo[lump];
return lump_p.resfile->Offset(lump_p.resindex);
}
//==========================================================================
//
//