From 93e9d655f14a89477e495aece6d91b07594076d8 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Mar 2020 16:24:10 +0100 Subject: Structs inited --- inc/cub3d_structs.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'inc/cub3d_structs.h') diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 19e211e..af39fdd 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -47,8 +47,13 @@ typedef struct s_bmp_info typedef struct s_bmp_colors { - -} t_bmp_color; + uint32_t red_mask; + uint32_t green_mask; + uint32_t blue_mask; + uint32_t alpha_mask; + uint32_t color_space_type; + uint32_t unused[16]; +} t_bmp_colors; typedef struct s_bmp_file { @@ -57,8 +62,9 @@ typedef struct s_bmp_file uint16_t reserv_one; uint16_t reserv_two; uint32_t offset_data; - struct s_bmp_info -} t_bmp_file_head; + struct s_bmp_info bmp_info; + struct s_bmp_colors bmp_colors; +} t_bmp_file; # pragma pack(pop) -- cgit v1.2.3