diff options
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r-- | inc/cub3d_structs.h | 14 |
1 files changed, 10 insertions, 4 deletions
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) |