From 29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede Mon Sep 17 00:00:00 2001
From: JozanLeClerc <bousset.rudy@gmail.com>
Date: Sun, 26 Jan 2020 22:28:11 +0100
Subject: Can't believe it

---
 inc/cub3d.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'inc')

diff --git a/inc/cub3d.h b/inc/cub3d.h
index ead1b52..7df93ad 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -28,6 +28,7 @@ typedef struct		s_cub
 	char			*sprite_path;
 	int				f_color;
 	int				c_color;
+	char			**map;
 }					t_cub;
 
 typedef struct		s_win
@@ -44,11 +45,12 @@ t_cub				*ft_init_cub(void);
 void				ft_parse_map(const char *map_path, t_win *wlist);
 int					ft_key_event(int keycode, void *param);
 int					ft_exit(uint8_t exit_code, t_win *wlist);
-void				ft_drawsquare(t_win *wlist, int a, int b);
+void				ft_drawsquare(int a, int b, int rgb, t_win *wlist);
 int					ft_get_res(int fd, t_win *wlist);
 int					ft_get_tex(int fd, t_win *wlist);
 int					ft_get_sprite_tex(int fd, t_win *wlist);
 int					ft_get_colors(int fd, t_win *wlist);
+int					ft_get_map(int fd, t_win *wlist);
 void				ft_check_empty_line(int fd,
 										unsigned int linum,
 										t_win *wlist);
-- 
cgit v1.2.3