diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-28 20:51:54 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-28 20:51:54 +0100 |
commit | 733fd55d384eef1c89e0ad2a44beaee066182b50 (patch) | |
tree | 494e767707cd2bcecae33519f8d89f4888f5dde3 /inc | |
parent | GNL fix (diff) | |
download | 42-cub3d-733fd55d384eef1c89e0ad2a44beaee066182b50.tar.gz 42-cub3d-733fd55d384eef1c89e0ad2a44beaee066182b50.tar.bz2 42-cub3d-733fd55d384eef1c89e0ad2a44beaee066182b50.tar.xz 42-cub3d-733fd55d384eef1c89e0ad2a44beaee066182b50.tar.zst 42-cub3d-733fd55d384eef1c89e0ad2a44beaee066182b50.zip |
Right but not perfect
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d.h | 1 | ||||
-rw-r--r-- | inc/cub3d_structs.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 4f28a84..f534fe8 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -85,5 +85,6 @@ void ft_draw_life_bar(size_t map_w, void ft_music(t_cub *cl); void ft_draw_sprite(t_cub *cl, int i); int8_t ft_warp_level(t_cub *cl); +t_rgb ft_init_rgb(void); # endif diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 0ed8e63..26e7455 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -131,6 +131,7 @@ typedef struct s_cub { uint8_t w_side; uint8_t ishud; + uint16_t currlvl; char errmsg[40]; int32_t key_input[5]; int (*key_ptr[6])(struct s_cub*); |