- more file system refactoring.
* moved the sprite renaming out of the file system entirely into a caller-provided callback. * renamed several functions to closer match the terms of a file system. * moved the VM interface out of the implementation.
This commit is contained in:
parent
6bccde3b51
commit
c1bb7de23a
61 changed files with 927 additions and 765 deletions
|
|
@ -752,7 +752,7 @@ static int FindGLNodesInWAD(int labellump)
|
|||
{
|
||||
if (fileSystem.GetLumpFile(lump)==wadfile)
|
||||
{
|
||||
FMemLump mem = fileSystem.ReadLump(lump);
|
||||
FileData mem = fileSystem.ReadLump(lump);
|
||||
if (MatchHeader(fileSystem.GetLumpFullName(labellump), (const char *)mem.GetMem())) return lump;
|
||||
}
|
||||
}
|
||||
|
|
@ -858,7 +858,7 @@ bool MapLoader::LoadGLNodes(MapData * map)
|
|||
bool mapinwad = map->InWad;
|
||||
FResourceFile * f_gwa = map->resource;
|
||||
|
||||
const char * name = fileSystem.GetWadFullName(lumpfile);
|
||||
const char * name = fileSystem.GetResourceFileFullName(lumpfile);
|
||||
|
||||
if (mapinwad)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue