mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add pseudopack 'core'
This commit is contained in:
parent
1a50e69769
commit
e19ed3d239
5 changed files with 22 additions and 22 deletions
|
|
@ -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"};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue