aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_bmp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_init_bmp.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ft_init_bmp.c b/src/ft_init_bmp.c
index cc8d59b..3236e2f 100644
--- a/src/ft_init_bmp.c
+++ b/src/ft_init_bmp.c
@@ -13,15 +13,15 @@
#include <cub3d.h>
#include <stdint.h>
-t_bmp
- ft_init_bmp(void)
+int8_t
+ ft_init_bmp(t_bmp_file *bmp_file)
{
- t_bmp bmp;
+ t_bmp_file bmp_file;
- bmp.file_type = 0x4d42;
- bmp.file_size = 0;
- bmp.reserv_one = 0;
- bmp.reserv_two = 0;
- bmp.offset_data = 0;
- return (bmp);
+ bmp_file.file_type = 0x4d42;
+ bmp_file.file_size = 0;
+ bmp_file.reserv_one = 0;
+ bmp_file.reserv_two = 0;
+ bmp_file.offset_data = 0;
+ return (bmp_file);
}