take namespace enum out of namespace and added CheckNumForAnyName and CheckNumForFullNameInFile to clarify the meaning of CheckNumForFullName.
This is to take some renaming noise out of the upcoming refactoring.
This commit is contained in:
parent
ba2800d698
commit
634a646c2d
51 changed files with 118 additions and 122 deletions
|
|
@ -346,9 +346,9 @@ void SetDefaultColormap (const char *name)
|
|||
uint8_t unremap[256];
|
||||
uint8_t remap[256];
|
||||
|
||||
lump = fileSystem.CheckNumForFullName (name, true, FileSys::ns_colormaps);
|
||||
lump = fileSystem.CheckNumForAnyName (name, ns_colormaps);
|
||||
if (lump == -1)
|
||||
lump = fileSystem.CheckNumForName (name, FileSys::ns_global);
|
||||
lump = fileSystem.CheckNumForName (name, ns_global);
|
||||
|
||||
// [RH] If using BUILD's palette, generate the colormap
|
||||
if (lump == -1 || fileSystem.CheckNumForFullName("palette.dat") >= 0 || fileSystem.CheckNumForFullName("blood.pal") >= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue