aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 20:59:02 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 20:59:02 +0100
commitf63e12e2f7aca68d867e362223804afdc987af73 (patch)
tree9a3c02963378f55982d590a78831017067c094c3 /inc/cub3d.h
parentStarting sfx rework (diff)
download42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.gz
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.bz2
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.xz
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.zst
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.zip
Rework in progress
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r--inc/cub3d.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index c91f97f..d543dbb 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -34,7 +34,7 @@ int8_t ft_init_map(t_map *mlist);
t_bmp_file ft_init_bmp(void);
t_bmp_info ft_init_bmp_info(void);
t_rgb ft_hex_to_og_rgb(uint32_t color);
-int8_t ft_init_sfx(t_sfx *sfx);
+int8_t ft_init_sfx(t_cub *cl);
int8_t ft_init_sprites(t_sprite ***sprites);
/*
@@ -159,11 +159,11 @@ void ft_floor_cast_inits(uint16_t y, t_ray *rl, t_cub *cl);
** ====== SFX ======
*/
-void ft_sfx_death(t_cub *cl);
-void ft_sfx_footstep(t_cub *cl);
-void ft_sfx_new_level(t_cub *cl);
-void ft_sfx_pain(t_cub *cl);
-void ft_sfx_trap(t_cub *cl);
+void ft_sfx_death(t_sfx *sfx);
+void ft_sfx_footstep(t_sfx *sfx);
+void ft_sfx_new_level(t_sfx *sfx);
+void ft_sfx_pain(t_sfx *sfx);
+void ft_sfx_trap(t_sfx *sfx);
void *ft_sfx_death_thread(void *vargp);
void *ft_sfx_footstep_thread(void *vargp);
void *ft_sfx_new_lvl_thread(void *vargp);