diff options
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 12 |
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); |