aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_bmp.c
blob: 3236e2f83356ef6defd33a958c081607d6d17870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_init_bmp.c                                      :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: rbousset <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/14 17:28:46 by rbousset          #+#    #+#             */
/*   Updated: 2020/02/14 17:28:46 by rbousset         ###   ########lyon.fr   */
/*                                                                            */
/* ************************************************************************** */

#include <cub3d.h>
#include <stdint.h>

int8_t
	ft_init_bmp(t_bmp_file *bmp_file)
{
	t_bmp_file	bmp_file;

	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);
}