mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
minor refactor
This commit is contained in:
parent
ded80e0d4b
commit
bfe2e2557b
5 changed files with 53 additions and 65 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include <filesystem>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "definitions.h"
|
||||
#include "core_defs.h"
|
||||
#include "engine.h"
|
||||
#include "util/platform.h"
|
||||
#include "coders/toml.h"
|
||||
|
|
@ -38,7 +38,7 @@ int main(int argc, char** argv) {
|
|||
toml::Reader reader(wrapper.get(), settings_file.string(), text);
|
||||
reader.read();
|
||||
}
|
||||
setup_bindings();
|
||||
corecontent::setup_bindings();
|
||||
Engine engine(settings, &paths);
|
||||
if (fs::is_regular_file(controls_file)) {
|
||||
std::cout << "-- loading controls" << std::endl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue