]> git.lizzy.rs Git - shadowclad.git/blobdiff - level.h
Refactor handling of imported assets a bit
[shadowclad.git] / level.h
diff --git a/level.h b/level.h
index 96fcb7aa47b862de68d1378227bb4bf8e29940a2..b36c2bb88738b3550593d2126c518b5118279762 100644 (file)
--- a/level.h
+++ b/level.h
@@ -1,17 +1,18 @@
 #ifndef LEVEL_H_
 #define LEVEL_H_
 
-#include <GL/gl.h>
+#include <stdint.h>
+
+#include "assimp_types.h"
 
 #include "tga.h"
 
-typedef GLuint Block;
+typedef uint32_t Block;
 
-const Block BLOCK_EMPTY;
-const Block BLOCK_WALL01;
+const AiScene* levelScene;
 
-Block getBlock(GLushort x, GLushort y);
+void initLevel();
 void setImage(TgaImage* image);
-const struct aiScene* importModel(const char* path);
+const AiScene* importScene(const char* path);
 
 #endif