diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-03-07 20:30:07 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-03-07 20:30:07 +0100 |
commit | ced2be0469537a5d21043325c9bc54762197ec30 (patch) | |
tree | 0147b95e157bec2b301e82badc1532d40335201b /inc | |
parent | The sky is nice (diff) | |
download | 42-cub3d-ced2be0469537a5d21043325c9bc54762197ec30.tar.gz 42-cub3d-ced2be0469537a5d21043325c9bc54762197ec30.tar.bz2 42-cub3d-ced2be0469537a5d21043325c9bc54762197ec30.tar.xz 42-cub3d-ced2be0469537a5d21043325c9bc54762197ec30.tar.zst 42-cub3d-ced2be0469537a5d21043325c9bc54762197ec30.zip |
qwe
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d.h | 3 | ||||
-rw-r--r-- | inc/cub3d_structs.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 692822a..5c37433 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -130,7 +130,8 @@ 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); uint32_t ft_rgb_to_hex(t_rgb rgb); -uint32_t ft_darken_rgb(t_rgb rgb, t_cub *cl); +uint32_t ft_darken_ceil(t_rgb rgb, t_cub *cl); +uint32_t ft_darken_floor(t_rgb rgb, t_cub *cl); t_bmp_rgb ft_hex_to_rgb(uint32_t color); # endif diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index d392f0c..4638030 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -192,6 +192,7 @@ typedef struct s_cub struct s_rgb c_rgb; struct s_img tlist[6]; struct s_sprite sp_list; + int32_t y; } t_cub; # endif |