summaryrefslogtreecommitdiffstats
path: root/src/AssetManager.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-02-15 18:24:04 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-04-21 12:55:48 +0200
commit8a3d208ba81a7413607b0feb3e1414b03a3dde11 (patch)
tree8e91dd050c1a789d311f474b9e1f3c01fbe68817 /src/AssetManager.hpp
parentMerge pull request #36 from LaG1924/fix-windows-vs2019 (diff)
downloadAltCraft-8a3d208ba81a7413607b0feb3e1414b03a3dde11.tar
AltCraft-8a3d208ba81a7413607b0feb3e1414b03a3dde11.tar.gz
AltCraft-8a3d208ba81a7413607b0feb3e1414b03a3dde11.tar.bz2
AltCraft-8a3d208ba81a7413607b0feb3e1414b03a3dde11.tar.lz
AltCraft-8a3d208ba81a7413607b0feb3e1414b03a3dde11.tar.xz
AltCraft-8a3d208ba81a7413607b0feb3e1414b03a3dde11.tar.zst
AltCraft-8a3d208ba81a7413607b0feb3e1414b03a3dde11.zip
Diffstat (limited to '')
-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();