From 7970e427f46a4d40f4b367c3d722a94352c533b3 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Mar 2020 16:32:31 +0100 Subject: More tab --- inc/cub3d_structs.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'inc/cub3d_structs.h') diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index af39fdd..1eb6f08 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -30,6 +30,15 @@ typedef struct s_win # pragma pack(push, 1) +typedef struct s_bmp_file +{ + uint16_t file_type; + uint32_t file_size; + uint16_t reserv_one; + uint16_t reserv_two; + uint32_t offset_data; +} t_bmp_file; + typedef struct s_bmp_info { uint32_t size; @@ -55,17 +64,6 @@ typedef struct s_bmp_colors uint32_t unused[16]; } t_bmp_colors; -typedef struct s_bmp_file -{ - uint16_t file_type; - uint32_t file_size; - uint16_t reserv_one; - uint16_t reserv_two; - uint32_t offset_data; - struct s_bmp_info bmp_info; - struct s_bmp_colors bmp_colors; -} t_bmp_file; - # pragma pack(pop) typedef struct s_img -- cgit v1.2.3