should prob put this on git sometime

This commit is contained in:
2026-01-03 01:48:40 +01:00
commit 1b8cc96164
52 changed files with 12002 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#include <cstdio>
#include <SDL.h>
#include "Lightkeeper.h"
#include "spdlog/spdlog.h"
int main(int argc, char* argv[]) {
if (SDL_Init(SDL_INIT_VIDEO) != 0) {
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Error", SDL_GetError(), nullptr);
return 1;
}
std::filesystem::path exeDir = SDL_GetBasePath();
spdlog::set_level(spdlog::level::debug);
LightKeeper app;
app.init({
.windowSize = {800, 600},
.renderSize = {800, 600},
.appName = "Astro Engine",
.windowTitle = "Lightkeeper",
.exeDir = exeDir,
});
app.run();
SDL_Quit();
return 0;
}