did some cleanup of the FResourceFile interface.

* making all members protected (but adding friend overrides for the classes which still need it)
* allowing to read data without retrieving the FResourceLump object.
This commit is contained in:
Christoph Oelckers 2023-12-10 10:22:07 +01:00
commit ebc808e2a9
12 changed files with 128 additions and 92 deletions

View file

@ -1421,7 +1421,7 @@ FileReader *FileSystem::GetFileReader(int rfnum)
return NULL;
}
return Files[rfnum]->GetReader();
return Files[rfnum]->GetContainerReader();
}
//==========================================================================