diff options
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 6a1ed2d..b8b6681 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -183,6 +183,17 @@ void *ft_sfx_weapon_two_load_thread(void *vargp); void *ft_sfx_weapon_two_fire_thread(void *vargp); /* +** ====== DELETION ====== +*/ + +void ft_del_tex(t_cub *clist); +void ft_del_map(t_map *ml); +void ft_del_lists(t_cub *clist); +uint8_t ft_free_words(char **words); +uint8_t ft_free_sprites_path(char **sprites); +int ft_exit(uint8_t exit_code, t_cub *clist); + +/* ** ====== OTHER ====== */ @@ -191,11 +202,7 @@ void ft_enable_music(t_cub *cl); void ft_music_fork(char **mcmd_words, char *const envp[]); int8_t ft_save_to_bmp(t_cub *cl); int ft_error(uint8_t retval, const char *errmsg, t_cub *clist); -uint8_t ft_free_words(char **words); -uint8_t ft_free_sprites(char **sprites); -void ft_del_extra_sprites(t_cub *cl); int8_t ft_warp_level(char *path, t_cub *cl); -int ft_exit(uint8_t exit_code, t_cub *clist); uint32_t ft_rgb_to_hex(t_rgb rgb); t_bmp_rgb ft_hex_to_rgb(uint32_t color); uint32_t ft_darken(t_rgb rgb, t_cub *cl); |