- put the entire filesystem code into a namespace and created some subdirectories.

This commit is contained in:
Christoph Oelckers 2023-08-22 21:20:28 +02:00
commit ebb71cebf1
108 changed files with 308 additions and 225 deletions

View file

@ -297,7 +297,7 @@ unsigned FSavegameManagerBase::ExtractSaveData(int index)
!node->bOldVersion &&
(resf = FResourceFile::OpenResourceFile(node->Filename.GetChars(), true)) != nullptr)
{
FResourceLump *info = resf->FindLump("info.json");
auto info = resf->FindLump("info.json");
if (info == nullptr)
{
// this should not happen because the file has already been verified.
@ -315,7 +315,7 @@ unsigned FSavegameManagerBase::ExtractSaveData(int index)
SaveCommentString = ExtractSaveComment(arc);
FResourceLump *pic = resf->FindLump("savepic.png");
auto pic = resf->FindLump("savepic.png");
if (pic != nullptr)
{
FileReader picreader;