From 5db7c4f7d445373d92c41a7cc9aa667e223e5507 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Mar 2020 15:21:10 +0100 Subject: tryna save --- inc/cub3d.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/cub3d.h') diff --git a/inc/cub3d.h b/inc/cub3d.h index e640a14..b1712c1 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -120,7 +120,8 @@ void ft_set_minimap_scale(t_cub *clist); void *ft_music_thread(void *vargp); void ft_detect(t_cub *cl); void ft_castray(t_cub *cl); -void ft_save_to_bmp(void); +int8_t ft_save_to_bmp(void *img, t_cub *cl); +int ft_error(const char *errmsg, t_cub *clist); uint8_t ft_free_words(char **words); int8_t ft_warp_level(t_cub *cl); int ft_exit(uint8_t exit_code, t_cub *clist); -- cgit v1.2.3