- Roll back filesystem changes. These were causing instabilities in the master branch that were interfering with development.
This commit is contained in:
parent
786bfa6419
commit
f3b0c3ac5e
90 changed files with 1349 additions and 1582 deletions
|
|
@ -134,7 +134,7 @@ static void ParseVavoomSkybox()
|
|||
sc.MustGetStringName("map");
|
||||
sc.MustGetString();
|
||||
|
||||
maplump = fileSystem.CheckNumForAnyName(sc.String);
|
||||
maplump = fileSystem.CheckNumForFullName(sc.String, true);
|
||||
|
||||
auto tex = TexMan.FindGameTexture(sc.String, ETextureType::Wall, FTextureManager::TEXMAN_TryAny);
|
||||
if (tex == NULL)
|
||||
|
|
@ -1234,7 +1234,7 @@ class GLDefsParser
|
|||
|
||||
if (lumpnum != -1)
|
||||
{
|
||||
if (iwad && fileSystem.GetFileContainer(lumpnum) <= fileSystem.GetMaxBaseNum()) useme = true;
|
||||
if (iwad && fileSystem.GetFileContainer(lumpnum) <= fileSystem.GetMaxIwadNum()) useme = true;
|
||||
if (thiswad && fileSystem.GetFileContainer(lumpnum) == fileSystem.GetFileContainer(workingLump)) useme = true;
|
||||
}
|
||||
if (!useme) return;
|
||||
|
|
@ -1421,7 +1421,7 @@ class GLDefsParser
|
|||
|
||||
if (lumpnum != -1)
|
||||
{
|
||||
if (iwad && fileSystem.GetFileContainer(lumpnum) <= fileSystem.GetMaxBaseNum()) useme = true;
|
||||
if (iwad && fileSystem.GetFileContainer(lumpnum) <= fileSystem.GetMaxIwadNum()) useme = true;
|
||||
if (thiswad && fileSystem.GetFileContainer(lumpnum) == fileSystem.GetFileContainer(workingLump)) useme = true;
|
||||
}
|
||||
if (!useme) return;
|
||||
|
|
@ -1928,7 +1928,7 @@ public:
|
|||
{
|
||||
sc.MustGetString();
|
||||
// This is not using sc.Open because it can print a more useful error message when done here
|
||||
lump = fileSystem.CheckNumForAnyName(sc.String);
|
||||
lump = fileSystem.CheckNumForFullName(sc.String, true);
|
||||
if (lump==-1)
|
||||
sc.ScriptError("Lump '%s' not found", sc.String);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue