| 257 | |
| 258 | |
| 259 | FilesystemView Game_Config::GetFontFilesystem() { |
| 260 | std::string path = font_path; |
| 261 | if (path.empty()) { |
| 262 | path = FileFinder::MakePath(GetGlobalConfigFilesystem().GetFullPath(), "Font"); |
| 263 | } |
| 264 | |
| 265 | if (!FileFinder::Root().MakeDirectory(path, true)) { |
| 266 | Output::Warning("Could not create fount path {}", path); |
| 267 | return {}; |
| 268 | } |
| 269 | |
| 270 | return FileFinder::Root().Create(path); |
| 271 | } |
| 272 | |
| 273 | Filesystem_Stream::OutputStream Game_Config::GetGlobalConfigFileOutput() { |
| 274 | auto fs = GetGlobalConfigFilesystem(); |
nothing calls this directly
no test coverage detected