diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-05 13:38:50 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-05 13:38:50 +0100 |
commit | 0701cef3492d9c6d037abbe7c116dd22b9ab8a0c (patch) | |
tree | 616fbbe92c6edfdbc3f473fb90edf6da8d8737bb /inc | |
parent | Don't mess with me boy (diff) | |
download | 42-cub3d-0701cef3492d9c6d037abbe7c116dd22b9ab8a0c.tar.gz 42-cub3d-0701cef3492d9c6d037abbe7c116dd22b9ab8a0c.tar.bz2 42-cub3d-0701cef3492d9c6d037abbe7c116dd22b9ab8a0c.tar.xz 42-cub3d-0701cef3492d9c6d037abbe7c116dd22b9ab8a0c.tar.zst 42-cub3d-0701cef3492d9c6d037abbe7c116dd22b9ab8a0c.zip |
Better code
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index cf35d92..1abcd1e 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -107,16 +107,16 @@ int ft_key_event(int keycode, void *param); int ft_exit(uint8_t exit_code, t_cub *clist); void ft_drawsquare(int a, int b, int rgb, t_cub *clist); void ft_parse_map(const char *map_path, t_cub *clist); -uint8_t ft_select_get(char **words, t_cub *clist); +int8_t ft_select_get(char **words, t_cub *clist); int8_t ft_get_screen_size(t_win *wlist); -int ft_get_res(char **words, t_cub *clist); -int ft_get_tex_no(char **words, t_cub *clist); -int ft_get_tex_so(char **words, t_cub *clist); -int ft_get_tex_ea(char **words, t_cub *clist); -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); +int8_t ft_get_res(char **words, t_cub *clist); +int8_t ft_get_tex_no(char **words, t_cub *clist); +int8_t ft_get_tex_so(char **words, t_cub *clist); +int8_t ft_get_tex_ea(char **words, t_cub *clist); +int8_t ft_get_tex_we(char **words, t_cub *clist); +int8_t ft_get_sprite(char **words, t_cub *clist); +int8_t ft_get_f_color(char **words, t_cub *clist); +int8_t 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); void ft_get_player_spawn(t_player *plist, t_cub *clist); |