aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_bmp.c
blob: cc8d59bc4b721aa42167f05650b5f9219e6a3aee (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>

t_bmp
	ft_init_bmp(void)
{
	t_bmp	bmp;

	bmp.file_type = 0x4d42;
	bmp.file_size = 0;
	bmp.reserv_one = 0;
	bmp.reserv_two = 0;
	bmp.offset_data = 0;
	return (bmp);
}