aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 15:30:59 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 15:30:59 +0100
commitb15be48033300c00ed2981fb69928905e3a85e86 (patch)
tree83820c3fb66f4f610751ef92780cc1ec53ef7d53 /inc/cub3d_structs.h
parenttryna save (diff)
download42-cub3d-b15be48033300c00ed2981fb69928905e3a85e86.tar.gz
42-cub3d-b15be48033300c00ed2981fb69928905e3a85e86.tar.bz2
42-cub3d-b15be48033300c00ed2981fb69928905e3a85e86.tar.xz
42-cub3d-b15be48033300c00ed2981fb69928905e3a85e86.tar.zst
42-cub3d-b15be48033300c00ed2981fb69928905e3a85e86.zip
Init bmp
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index ae5ee02..df26c26 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -28,6 +28,15 @@ typedef struct s_win
uint32_t y_size;
} t_win;
+typedef struct s_bmp
+{
+ uint16_t file_type;
+ uint32_t file_size;
+ uint16_t reserv_one;
+ uint16_t reserv_two;
+ uint32_t offset_data;
+} t_bmp;
+
typedef struct s_img
{
void *img;