summaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'render.h')
-rw-r--r--render.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/render.h b/render.h
index 2299a30..9ce3015 100644
--- a/render.h
+++ b/render.h
@@ -3,6 +3,8 @@
#include "rect.h"
+struct Map;
+
typedef struct {
unsigned char r, g, b, a;
} Colour;
@@ -125,4 +127,12 @@ void ren_mesh(
const Texture* tex
);
+void ren_map(
+ Renderer* r,
+ const struct Map* map,
+ const int* pos,
+ const int* dir,
+ const int* left
+);
+
#endif