staging some future refactoring, .h -> hpp, fix for rendering w/ audio

This commit is contained in:
shweet committed 2026-03-09 23:08:57 -04:00
1 parent 77f6e65b15
commit 2d27b7e8fb
76 files changed

No files matched your search

+33
View File
@@ -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();
};
}