mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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();
|
||||
|
||||
scripting::initialize(this);
|
||||
|
||||
auto resdir = paths->getResources();
|
||||
basePacks = files::read_list(resdir/fs::path("config/builtins.list"));
|
||||
}
|
||||
|
||||
void Engine::loadSettings() {
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ class Engine : public util::ObjectsKeeper {
|
|||
std::recursive_mutex postRunnablesMutex;
|
||||
std::unique_ptr<EngineController> controller;
|
||||
std::unique_ptr<cmd::CommandsInterpreter> interpreter;
|
||||
std::vector<std::string> basePacks {"base"};
|
||||
std::vector<std::string> basePacks;
|
||||
|
||||
uint64_t frame = 0;
|
||||
double lastTime = 0.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue