diff options
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index ca12f8a..fa6a08f 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -1,22 +1,26 @@ #ifndef CUB3D_H #define CUB3D_H -typedef struct s_winlist +#include <inttypes.h> + +typedef struct s_win { void *wlx; void *winptr; int x_size; int y_size; -} t_winlist; +} t_win; -typedef struct s_cublist +typedef struct s_cub { char coolcub; -} t_cublist; +} t_cub; -t_cublist *ft_init_cublist(void); -t_winlist *ft_init_winlist(void); -void ft_parse_map(t_cublist *clist); +t_cub *ft_init_cub(void); +t_win *ft_init_win(void); +void ft_parse_map(t_cub *clist); int ft_key_event(int keycode, void *param); +void ft_exit(uint8_t exit_code); +void ft_drawsquare(t_win *wlist, int a, int b); #endif |