| 246 | } |
| 247 | |
| 248 | void LoadCoreArchives() |
| 249 | { |
| 250 | auto paths = GetMPQSearchPaths(); |
| 251 | |
| 252 | #ifdef UNPACKED_MPQS |
| 253 | font_data_path = FindUnpackedMpqData(paths, "fonts"); |
| 254 | #else // !UNPACKED_MPQS |
| 255 | #if !defined(__ANDROID__) && !defined(__APPLE__) && !defined(__3DS__) && !defined(__SWITCH__) |
| 256 | // Load devilutionx.mpq first to get the font file for error messages |
| 257 | devilutionx_mpq = LoadMPQ(paths, "devilutionx.mpq"); |
| 258 | #endif |
| 259 | font_mpq = LoadMPQ(paths, "fonts.mpq"); // Extra fonts |
| 260 | #endif |
| 261 | } |
| 262 | |
| 263 | void LoadLanguageArchive() |
| 264 | { |