mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
res/config/builtins.list
This commit is contained in:
parent
4e2ba865f3
commit
b571179c8a
3 changed files with 5 additions and 1 deletions
1
res/config/builtins.list
Normal file
1
res/config/builtins.list
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
base
|
||||||
|
|
@ -95,6 +95,9 @@ Engine::Engine(EngineSettings& settings, SettingsHandler& settingsHandler, Engin
|
||||||
addWorldGenerators();
|
addWorldGenerators();
|
||||||
|
|
||||||
scripting::initialize(this);
|
scripting::initialize(this);
|
||||||
|
|
||||||
|
auto resdir = paths->getResources();
|
||||||
|
basePacks = files::read_list(resdir/fs::path("config/builtins.list"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Engine::loadSettings() {
|
void Engine::loadSettings() {
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ class Engine : public util::ObjectsKeeper {
|
||||||
std::recursive_mutex postRunnablesMutex;
|
std::recursive_mutex postRunnablesMutex;
|
||||||
std::unique_ptr<EngineController> controller;
|
std::unique_ptr<EngineController> controller;
|
||||||
std::unique_ptr<cmd::CommandsInterpreter> interpreter;
|
std::unique_ptr<cmd::CommandsInterpreter> interpreter;
|
||||||
std::vector<std::string> basePacks {"base"};
|
std::vector<std::string> basePacks;
|
||||||
|
|
||||||
uint64_t frame = 0;
|
uint64_t frame = 0;
|
||||||
double lastTime = 0.0;
|
double lastTime = 0.0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue