aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 15:25:01 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 15:25:01 +0100
commitba7cbd8dbffac2b75ccac01d628ca493426ecf70 (patch)
treef2a09778ada9033522bf36206158c6130eb85365 /inc/cub3d.h
parentNormed so far (diff)
download42-cub3d-ba7cbd8dbffac2b75ccac01d628ca493426ecf70.tar.gz
42-cub3d-ba7cbd8dbffac2b75ccac01d628ca493426ecf70.tar.bz2
42-cub3d-ba7cbd8dbffac2b75ccac01d628ca493426ecf70.tar.xz
42-cub3d-ba7cbd8dbffac2b75ccac01d628ca493426ecf70.tar.zst
42-cub3d-ba7cbd8dbffac2b75ccac01d628ca493426ecf70.zip
Pretty bav
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r--inc/cub3d.h15
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);