copy shaders from game to engine

This commit is contained in:
Dynamitos committed 2025-04-11 13:49:37 +02:00
1 parent 5a54530a48
commit 708ab36377
10 files changed
+17 -14

No files matched your search

+3 -2
View File
@@ -1,18 +1,19 @@
#pragma once
#include "Game.h"
#include "filesystem"
#include "dlfcn.h"
namespace Seele {
class GameInterface {
public:
GameInterface(std::string soPath);
GameInterface(std::filesystem::path soPath);
~GameInterface();
Game* getGame();
void reload();
private:
void* lib;
std::string soPath;
std::filesystem::path soPath;
Game* game;
Game* (*createInstance)() = nullptr;
void (*destroyInstance)(Game*) = nullptr;