aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 16:32:31 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 16:32:31 +0100
commit7970e427f46a4d40f4b367c3d722a94352c533b3 (patch)
tree9268d062a3b9dbb5f81bdef72268c91e76e367d9 /inc/cub3d_structs.h
parentStructs inited (diff)
download42-cub3d-7970e427f46a4d40f4b367c3d722a94352c533b3.tar.gz
42-cub3d-7970e427f46a4d40f4b367c3d722a94352c533b3.tar.bz2
42-cub3d-7970e427f46a4d40f4b367c3d722a94352c533b3.tar.xz
42-cub3d-7970e427f46a4d40f4b367c3d722a94352c533b3.tar.zst
42-cub3d-7970e427f46a4d40f4b367c3d722a94352c533b3.zip
More tab
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h20
1 files changed, 9 insertions, 11 deletions
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