- renamed more stuff and also moved the Strife teaser voice handling out of the file system.

This commit is contained in:
Christoph Oelckers 2020-04-11 13:27:19 +02:00
commit 80c6d5b276
91 changed files with 538 additions and 499 deletions

View file

@ -854,11 +854,11 @@ CCMD (wdir)
Printf ("%s must be loaded to view its directory.\n", argv[1]);
return;
}
for (int i = 0; i < fileSystem.GetNumLumps(); ++i)
for (int i = 0; i < fileSystem.GetNumEntries(); ++i)
{
if (fileSystem.GetLumpFile(i) == wadnum)
if (fileSystem.GetFileContainer(i) == wadnum)
{
Printf ("%s\n", fileSystem.GetLumpFullName(i));
Printf ("%s\n", fileSystem.GetFileFullName(i));
}
}
}
@ -1224,7 +1224,7 @@ CCMD(secret)
int lumpno=fileSystem.CheckNumForName("SECRETS");
if (lumpno < 0) return;
auto lump = fileSystem.OpenLumpReader(lumpno);
auto lump = fileSystem.OpenFileReader(lumpno);
FString maphdr;
maphdr.Format("[%s]", mapname);