aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 16:24:10 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 16:24:10 +0100
commit93e9d655f14a89477e495aece6d91b07594076d8 (patch)
treee75e792139891fb6007cef8e68cd7f022672c2c0 /inc/cub3d_structs.h
parentTab (diff)
download42-cub3d-93e9d655f14a89477e495aece6d91b07594076d8.tar.gz
42-cub3d-93e9d655f14a89477e495aece6d91b07594076d8.tar.bz2
42-cub3d-93e9d655f14a89477e495aece6d91b07594076d8.tar.xz
42-cub3d-93e9d655f14a89477e495aece6d91b07594076d8.tar.zst
42-cub3d-93e9d655f14a89477e495aece6d91b07594076d8.zip
Structs inited
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h14
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)