forked from Dynamitos/Seele
copy shaders from game to engine
This commit is contained in:
1 parent
5a54530a48
commit
708ab36377
10 files changed
+17
-14
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user