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
|
|
@ -81,9 +81,9 @@ FHexenStartScreen::FHexenStartScreen(int max_progress)
|
|||
: FStartScreen(max_progress)
|
||||
{
|
||||
// at this point we do not have a working texture manager yet, so we have to do the lookup via the file system
|
||||
int startup_lump = fileSystem.CheckNumForName("STARTUP", FileSys::ns_graphics);
|
||||
int netnotch_lump = fileSystem.CheckNumForName("NETNOTCH", FileSys::ns_graphics);
|
||||
int notch_lump = fileSystem.CheckNumForName("NOTCH", FileSys::ns_graphics);
|
||||
int startup_lump = fileSystem.CheckNumForName("STARTUP", ns_graphics);
|
||||
int netnotch_lump = fileSystem.CheckNumForName("NETNOTCH", ns_graphics);
|
||||
int notch_lump = fileSystem.CheckNumForName("NOTCH", ns_graphics);
|
||||
|
||||
// For backwards compatibility we also need to look in the default namespace, because these were previously not handled as graphics.
|
||||
if (startup_lump == -1) startup_lump = fileSystem.CheckNumForName("STARTUP");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue