diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-28 18:30:36 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-28 18:30:36 +0100 |
commit | c9b5e6dfdfc7d97183786279bbe68675a83d83f4 (patch) | |
tree | b121c25d2fa56dc45331d952948bf9cea7a64e8b /src/ft_select_get.c | |
parent | In progress (diff) | |
download | 42-cub3d-c9b5e6dfdfc7d97183786279bbe68675a83d83f4.tar.gz 42-cub3d-c9b5e6dfdfc7d97183786279bbe68675a83d83f4.tar.bz2 42-cub3d-c9b5e6dfdfc7d97183786279bbe68675a83d83f4.tar.xz 42-cub3d-c9b5e6dfdfc7d97183786279bbe68675a83d83f4.tar.zst 42-cub3d-c9b5e6dfdfc7d97183786279bbe68675a83d83f4.zip |
In progress
Diffstat (limited to 'src/ft_select_get.c')
-rw-r--r-- | src/ft_select_get.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c index 4b82430..b5df1bc 100644 --- a/src/ft_select_get.c +++ b/src/ft_select_get.c @@ -67,7 +67,7 @@ static int8_t int8_t ft_select_get(char **words, t_cub *clist) { - int8_t (*fun_ptr[8])(char**, t_cub*); + int8_t (*fun_ptr[10])(char**, t_cub*); int8_t id; fun_ptr[0] = ft_get_res; @@ -78,6 +78,8 @@ int8_t fun_ptr[5] = ft_get_sprite; fun_ptr[6] = ft_get_f_color; fun_ptr[7] = ft_get_c_color; + fun_ptr[8] = ft_get_path_nl; + fun_ptr[9] = ft_get_tex_nl; if ((id = ft_get_id(words, clist)) == 12) { ft_free_words(words); |