diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-19 21:59:13 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-19 21:59:13 +0100 |
commit | b135ba89ccceffa88356cc25f256b0cb2adbd88c (patch) | |
tree | 1e87c98d28857abfea2c5199dfdf77516ab28898 /inc/cub3d_structs.h | |
parent | Rework in progress (diff) | |
download | 42-cub3d-b135ba89ccceffa88356cc25f256b0cb2adbd88c.tar.gz 42-cub3d-b135ba89ccceffa88356cc25f256b0cb2adbd88c.tar.bz2 42-cub3d-b135ba89ccceffa88356cc25f256b0cb2adbd88c.tar.xz 42-cub3d-b135ba89ccceffa88356cc25f256b0cb2adbd88c.tar.zst 42-cub3d-b135ba89ccceffa88356cc25f256b0cb2adbd88c.zip |
The og OOP
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r-- | inc/cub3d_structs.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 3ad9eec..4532a3d 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -62,27 +62,7 @@ typedef struct s_sfx char *cmd_alt; pthread_t tid; pthread_mutex_t mutex; - void (*ft_sfx_play)(struct s_sfx*); - - /* old */ - /* ========= */ - /* char *death; */ - /* char *footstep_one; */ - /* char *footstep_two; */ - /* char *new_lvl; */ - /* char *pain_one; */ - /* char *pain_two; */ - /* char *trap; */ - /* pthread_t death_tid; */ - /* pthread_t footstep_tid; */ - /* pthread_t new_lvl_tid; */ - /* pthread_t pain_tid; */ - /* pthread_t trap_tid; */ - /* pthread_mutex_t death_mutex; */ - /* pthread_mutex_t footstep_mutex; */ - /* pthread_mutex_t new_lvl_mutex; */ - /* pthread_mutex_t pain_mutex; */ - /* pthread_mutex_t trap_mutex; */ + void (*sfx_play)(struct s_sfx *); } t_sfx; typedef struct s_bmp_rgb |