staging some future refactoring, .h -> hpp, fix for rendering w/ audio
This commit is contained in:
1 parent
77f6e65b15
commit
2d27b7e8fb
76 files changed
No files matched your search
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
|
||||
#include <atomic>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
|
||||
#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<std::string> arguments;
|
||||
bool isError{};
|
||||
bool isSocketThread{};
|
||||
|
||||
Loader(int, const char**);
|
||||
~Loader();
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user