| 102 | //========================================================================== |
| 103 | |
| 104 | bool FResourceFile::IsFileInFolder(const char* const resPath) |
| 105 | { |
| 106 | // Checks a special case when <somefile.wad> was put in |
| 107 | // <myproject> directory inside <myproject.zip> |
| 108 | |
| 109 | const auto dirName = ExtractBaseName(FileName); |
| 110 | const auto fileName = ExtractBaseName(resPath, true); |
| 111 | const std::string filePath = dirName + '/' + fileName; |
| 112 | |
| 113 | return 0 == stricmp(filePath.c_str(), resPath); |
| 114 | } |
| 115 | |
| 116 | void FResourceFile::CheckEmbedded(uint32_t entry, LumpFilterInfo* lfi) |
| 117 | { |
nothing calls this directly
no test coverage detected