aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-01-23 19:41:24 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-01-23 19:41:24 +0100
commit12faf5456d0f2356b6406a0d74ed4559c4a85a41 (patch)
treec5e352d3471d68ea99a90b60e282f6af65518a19 /src/main.c
parentI got colors (diff)
download42-cub3d-12faf5456d0f2356b6406a0d74ed4559c4a85a41.tar.gz
42-cub3d-12faf5456d0f2356b6406a0d74ed4559c4a85a41.tar.bz2
42-cub3d-12faf5456d0f2356b6406a0d74ed4559c4a85a41.tar.xz
42-cub3d-12faf5456d0f2356b6406a0d74ed4559c4a85a41.tar.zst
42-cub3d-12faf5456d0f2356b6406a0d74ed4559c4a85a41.zip
ok but might redo ft_split
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c7fbc58..d23320b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -11,8 +11,9 @@ int
wlist = ft_init_win();
clist = ft_init_cub();
+ ft_parse_map(wlist, clist, "map/map_one.cub");
mlx_key_hook(wlist->winptr, ft_key_event, wlist);
- ft_drawsquare(wlist, 80, 80);
+ ft_drawsquare(wlist, clist, 80, 80);
mlx_loop(wlist->wlx);
ft_memdel(clist);
return (0);