diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-01-23 18:46:55 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-01-23 18:46:55 +0100 |
commit | dada4b12f07388262729a1b979e53e28bfb79db3 (patch) | |
tree | 4231057b3a7fc3fc2f4e100f9e188949df146023 /inc | |
parent | Pretty fine (diff) | |
download | 42-cub3d-dada4b12f07388262729a1b979e53e28bfb79db3.tar.gz 42-cub3d-dada4b12f07388262729a1b979e53e28bfb79db3.tar.bz2 42-cub3d-dada4b12f07388262729a1b979e53e28bfb79db3.tar.xz 42-cub3d-dada4b12f07388262729a1b979e53e28bfb79db3.tar.zst 42-cub3d-dada4b12f07388262729a1b979e53e28bfb79db3.zip |
Nice squares
Diffstat (limited to '')
-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 |