MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / openTextFileInAbsolutePath

Method openTextFileInAbsolutePath

radiantcore/vfs/Doom3FileSystem.cpp:259–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259ArchiveTextFilePtr Doom3FileSystem::openTextFileInAbsolutePath(const std::string& filename)
260{
261 auto file = std::make_shared<archive::DirectoryArchiveTextFile>(filename, filename, filename);
262
263 if (!file->failed())
264 {
265 return file;
266 }
267
268 return ArchiveTextFilePtr();
269}
270
271IArchive::Ptr Doom3FileSystem::openArchiveInAbsolutePath(const std::string& pathToArchive)
272{

Callers 6

ensureAasFileLoadedMethod · 0.80
TEST_FFunction · 0.80
LoadForCurrentModMethod · 0.80
LoadForCurrentModMethod · 0.80
loadModelFromPathMethod · 0.80
getAasFilesForMapMethod · 0.80

Calls 1

failedMethod · 0.45

Tested by

no test coverage detected