#pragma once #include #include #include #include #include #include "settings.h" #include "socket.h" namespace anm2ed { class Loader { std::filesystem::path settings_path(); public: Socket socket{}; std::thread socketThread{}; std::atomic_bool isSocketRunning{}; SDL_Window* window{}; SDL_GLContext glContext{}; Settings settings; std::vector arguments; bool isError{}; bool isSocketThread{}; Loader(int, const char**); ~Loader(); }; }