| 339 | } |
| 340 | |
| 341 | std::string Doom3FileSystem::findFile(const std::string& name) |
| 342 | { |
| 343 | for (const auto& descriptor : _archives) |
| 344 | { |
| 345 | if (!descriptor.is_pakfile && descriptor.archive->containsFile(name)) |
| 346 | { |
| 347 | return descriptor.name; |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | return std::string(); |
| 352 | } |
| 353 | |
| 354 | std::string Doom3FileSystem::findRoot(const std::string& name) |
| 355 | { |
no test coverage detected