From 4cacaad9e392bf5fe63a90019411f21a72db0e7a Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 27 Jul 2024 15:44:45 +1000 Subject: WIP raycasting --- render.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'render.h') 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 -- cgit v1.2.3-54-g00ecf