renamed things in file system to reduce Doom specific terminology.

This commit is contained in:
Christoph Oelckers 2024-11-24 16:55:09 +01:00
commit d1abc3eb8c
50 changed files with 313 additions and 318 deletions

View file

@ -140,9 +140,9 @@ MapData *P_OpenMapData(const char * mapname, bool justcheck)
// Names with more than 8 characters will only be checked as .wad and .map.
if (strlen(mapname) <= 8) lump_name = fileSystem.CheckNumForName(mapname);
fmt.Format("maps/%s.wad", mapname);
lump_wad = fileSystem.CheckNumForFullName(fmt.GetChars());
lump_wad = fileSystem.FindFile(fmt.GetChars());
fmt.Format("maps/%s.map", mapname);
lump_map = fileSystem.CheckNumForFullName(fmt.GetChars());
lump_map = fileSystem.FindFile(fmt.GetChars());
if (lump_name > lump_wad && lump_name > lump_map && lump_name != -1)
{