client sources moved to C++20

This commit is contained in:
d1str4ught
2025-09-22 00:45:08 +02:00
parent 5b1d3c6bce
commit b4637e4782
3 changed files with 22 additions and 8 deletions

View File

@@ -15,6 +15,7 @@
#include "PackLib/PackManager.h"
#include <filesystem>
#include <format>
extern "C" {
extern int _fltused;
@@ -250,11 +251,9 @@ bool PackInitialize(const char * c_pszFolder)
"uiloading",
};
std::filesystem::path folderPath = c_pszFolder;
CPackManager::instance().AddPack((folderPath / "root.pck").generic_string());
CPackManager::instance().AddPack(std::format("{}/root.pck", c_pszFolder));
for (const std::string& packFileName : packFiles) {
CPackManager::instance().AddPack((folderPath / (packFileName + ".pck")).generic_string());
CPackManager::instance().AddPack(std::format("{}/{}.pck", c_pszFolder, packFileName));
}
NANOEND