aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-01-29 18:12:33 +0100
committerRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-01-29 18:12:33 +0100
commitfe802c525db1ffa07f5cd6c6f0957566ed5ffdb0 (patch)
treee4219af8ed215dd9b8879ebae7623183c2274e26 /inc
parentBetter error management (diff)
download42-cub3d-fe802c525db1ffa07f5cd6c6f0957566ed5ffdb0.tar.gz
42-cub3d-fe802c525db1ffa07f5cd6c6f0957566ed5ffdb0.tar.bz2
42-cub3d-fe802c525db1ffa07f5cd6c6f0957566ed5ffdb0.tar.xz
42-cub3d-fe802c525db1ffa07f5cd6c6f0957566ed5ffdb0.tar.zst
42-cub3d-fe802c525db1ffa07f5cd6c6f0957566ed5ffdb0.zip
dur dur
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index 60bcd58..01dcd76 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -41,6 +41,7 @@ typedef struct s_cub
char **map;
size_t map_w;
size_t line_chk;
+ uint8_t nsew;
struct s_win *wlist;
} t_cub;
@@ -59,6 +60,7 @@ int ft_get_tex_we(char **words, t_cub *clist);
int ft_get_sprite(char **words, t_cub *clist);
int ft_get_f_color(char **words, t_cub *clist);
int ft_get_c_color(char **words, t_cub *clist);
+int ft_get_first_line(char *line, t_cub *clist);
int ft_get_map(int fd, t_cub *clist);
int ft_check_missing(t_cub *clist);
int ft_missing_error(const char *err, t_cub *clist);