summaryrefslogtreecommitdiffstats
path: root/src/AssetManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/AssetManager.hpp')
-rw-r--r--src/AssetManager.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/AssetManager.hpp b/src/AssetManager.hpp
index de3881e..97e1d63 100644
--- a/src/AssetManager.hpp
+++ b/src/AssetManager.hpp
@@ -10,6 +10,7 @@
#include <glm/vec4.hpp>
#include <glm/vec3.hpp>
#include <glm/mat4x4.hpp>
+#include <sol_forward.hpp>
#include "Vector.hpp"
#include "Block.hpp"
@@ -167,6 +168,10 @@ struct AssetShader : Asset {
std::unique_ptr<Shader> shader;
};
+struct AssetScript : Asset {
+ std::string code;
+};
+
namespace AssetManager {
void InitAssetManager();