MCPcopy Create free account
hub / github.com/ZDoom/Raze / GetFileFlags

Method GetFileFlags

source/common/filesystem/source/filesystem.cpp:751–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749//==========================================================================
750
751int FileSystem::GetFileFlags (int lump)
752{
753 if ((size_t)lump >= NumEntries)
754 {
755 return 0;
756 }
757
758 const auto& lump_p = FileInfo[lump];
759 return lump_p.resfile->GetEntryFlags(lump_p.resindex) ^ lump_p.flags;
760}
761
762//==========================================================================
763//

Callers 3

AddGroupMethod · 0.80
AddTexturesForWadMethod · 0.80

Calls 1

GetEntryFlagsMethod · 0.80

Tested by

no test coverage detected