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 /src/ft_init_lists.c | |
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-- | src/ft_init_lists.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index b6f2932..7a6eb79 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -3,12 +3,12 @@ #include <cub3d.h> #include <stdlib.h> -t_winlist -*ft_init_winlist(void) +t_win +*ft_init_win(void) { - t_winlist *wlist; + t_win *wlist; - wlist = (t_winlist*)malloc(sizeof(t_winlist)); + wlist = (t_win*)malloc(sizeof(t_win)); wlist->x_size = 800; wlist->y_size = 600; wlist->wlx = mlx_init(); @@ -18,11 +18,11 @@ t_winlist return (wlist); } -t_cublist -*ft_init_cublist(void) +t_cub +*ft_init_cub(void) { - t_cublist *clist; + t_cub *clist; - clist = (t_cublist*)malloc(sizeof(t_cublist)); + clist = (t_cub*)malloc(sizeof(t_cub)); return (clist); } |