add pseudopack 'core'

This commit is contained in:
MihailRis
2024-08-14 00:24:22 +03:00
parent 1a50e69769
commit e19ed3d239
5 changed files with 22 additions and 22 deletions
+7
View File
@@ -4,6 +4,7 @@
#include <iostream>
#include <utility>
#include "constants.hpp"
#include "coders/json.hpp"
#include "data/dynamic.hpp"
#include "files/engine_paths.hpp"
@@ -11,6 +12,12 @@
namespace fs = std::filesystem;
ContentPack ContentPack::createCore(const EnginePaths* paths) {
return ContentPack {
"core", "Core", ENGINE_VERSION_STRING, "", "", paths->getResourcesFolder(), {}
};
}
const std::vector<std::string> ContentPack::RESERVED_NAMES = {
"res", "abs", "local", "core", "user", "world", "none", "null"};