minor refactor

This commit is contained in:
MihailRis
2024-05-05 20:08:25 +03:00
parent 75e56ebd83
commit 7f8a86b740
35 changed files with 76 additions and 83 deletions
+1 -9
View File
@@ -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);