Big changes

This commit is contained in:
2026-08-26 03:18:05 -07:00
parent d09f01402d
commit 99e06bbbb1
22 changed files with 1127 additions and 135 deletions
+4 -2
View File
@@ -1,5 +1,6 @@
#pragma once
#include <memory>
#include <string>
#include "device.hpp"
@@ -13,6 +14,7 @@ class Engine {
int width;
int height;
std::string name;
bool headless = false;
};
Engine(const Engine&) = delete;
@@ -26,8 +28,8 @@ class Engine {
private:
Config config;
Window window;
Device device;
std::unique_ptr<Window> window;
std::unique_ptr<Device> device;
bool isRunning = true;
};