diff options
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |