diff options
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 459bbb7..d5ef69e 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -13,14 +13,22 @@ typedef struct s_win typedef struct s_cub { - char coolcub; + char *north_path; + char *south_path; + char *west_path; + char *east_path; + char *sprite_path; + int f_color; + int c_color; } t_cub; t_cub *ft_init_cub(void); t_win *ft_init_win(void); -void ft_parse_map(t_cub *clist); +void ft_parse_map(t_win *wlist, t_cub *clist, const char *map_path); int ft_key_event(int keycode, void *param); -void ft_exit(uint8_t exit_code); +int ft_exit(uint8_t exit_code); void ft_drawsquare(t_win *wlist, t_cub *clist, int a, int b); +int ft_get_res(int fd, t_win *wlist); +int ft_map_error(unsigned int line); #endif |