diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-13 02:35:49 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-13 02:35:49 +0100 |
commit | 8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7 (patch) | |
tree | 026b97aaa56ac87328d1fa7332872e86b1b15d32 /inc/cub3d.h | |
parent | Added sound effects files (diff) | |
download | 42-cub3d-8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7.tar.gz 42-cub3d-8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7.tar.bz2 42-cub3d-8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7.tar.xz 42-cub3d-8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7.tar.zst 42-cub3d-8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7.zip |
Freed leaks
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 2103295..a2d050c 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -81,7 +81,8 @@ void ft_draw_sprite(t_cub *cl, t_sprite *sprite); void ft_calc_trap(t_cub *cl); void ft_draw_traps(t_cub *cl, t_sprite *sprite); void ft_draw_skybox(t_cub *cl); -void ft_suffer_animation(t_cub *cl); +void ft_macos_suffer_animation(t_cub *cl); +void ft_linux_suffer_animation(t_cub *cl); void ft_draw_life_bar(t_win *wl, t_cub *cl); /* @@ -153,6 +154,7 @@ 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); |