Implemented basic game dll interaction

This commit is contained in:
Dynamitos
2023-01-29 18:58:59 +01:00
parent 2208ab438a
commit 0dce84459e
72 changed files with 1297 additions and 350 deletions
+3 -2
View File
@@ -3,6 +3,7 @@
namespace Seele
{
DECLARE_NAME_REF(Gfx, Graphics)
class Asset
{
public:
@@ -17,8 +18,8 @@ public:
Asset(const std::filesystem::path& path);
virtual ~Asset();
virtual void save() = 0;
virtual void load() = 0;
virtual void save(Gfx::PGraphics graphics) = 0;
virtual void load(Gfx::PGraphics graphics) = 0;
// returns the name of the file, without extension
std::string getFileName() const;