diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-01-29 19:14:24 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-01-29 19:14:24 +0100 |
commit | 38a81ff5a1dcb2cd07e10330fcbedf665ff7bc05 (patch) | |
tree | 6023bb970371c979e1051393989fcba11cb09a3d /inc | |
parent | Changed names (diff) | |
download | 42-cub3d-38a81ff5a1dcb2cd07e10330fcbedf665ff7bc05.tar.gz 42-cub3d-38a81ff5a1dcb2cd07e10330fcbedf665ff7bc05.tar.bz2 42-cub3d-38a81ff5a1dcb2cd07e10330fcbedf665ff7bc05.tar.xz 42-cub3d-38a81ff5a1dcb2cd07e10330fcbedf665ff7bc05.tar.zst 42-cub3d-38a81ff5a1dcb2cd07e10330fcbedf665ff7bc05.zip |
C'est bav
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 40475eb..c8bf278 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -1,8 +1,8 @@ #ifndef CUB3D_H #define CUB3D_H -#include <stdint.h> #include <stddef.h> +#include <stdint.h> #ifndef FT_W_KEY #define FT_W_KEY 13 @@ -38,6 +38,7 @@ typedef struct s_cub char *sprite_path; int f_color; int c_color; + char *mapl; char **map; size_t map_w; size_t line_chk; @@ -63,6 +64,8 @@ int ft_get_c_color(char **words, t_cub *clist); int ft_get_map_first_line(char *line, t_cub *clist); int ft_get_map_core(int fd, t_cub *clist); int ft_check_missing(t_cub *clist); +int8_t ft_check_map_line(char *line, uint8_t l, t_cub *clist); +size_t ft_get_line_len(char *line); int ft_missing_error(const char *err, t_cub *clist); void ft_free_words(char **words); int ft_map_error(t_cub *clist); |