mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
minor refactor
This commit is contained in:
parent
75e56ebd83
commit
7f8a86b740
35 changed files with 76 additions and 83 deletions
|
|
@ -1,8 +1,3 @@
|
|||
#include <iostream>
|
||||
#include <cmath>
|
||||
#include <stdint.h>
|
||||
#include <memory>
|
||||
#include <filesystem>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "core_defs.h"
|
||||
|
|
@ -12,13 +7,11 @@
|
|||
#include "files/engine_paths.h"
|
||||
#include "util/platform.h"
|
||||
#include "util/command_line.hpp"
|
||||
#include "window/Events.h"
|
||||
#include "window/Events.hpp"
|
||||
#include "debug/Logger.hpp"
|
||||
|
||||
static debug::Logger logger("main");
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
debug::Logger::init("latest.log");
|
||||
|
||||
|
|
@ -27,7 +20,6 @@ int main(int argc, char** argv) {
|
|||
return EXIT_SUCCESS;
|
||||
|
||||
platform::configure_encoding();
|
||||
fs::path userfiles = paths.getUserfiles();
|
||||
try {
|
||||
EngineSettings settings;
|
||||
SettingsHandler handler(settings);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue