-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.c
25 lines (22 loc) · 1.11 KB
/
main.c
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: moel-asr <moel-asr@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/06/09 10:00:24 by kmahdi #+# #+# */
/* Updated: 2023/07/09 23:30:51 by moel-asr ### ########.fr */
/* */
/* ************************************************************************** */
#include "includes/cub3d.h"
int main(int argc, char **argv)
{
t_map_info data;
data.args = argc;
data.map_path = argv[1];
check_path_errors(&data);
check_map_and_texture_errors(&data);
get_textures_path(&data);
rey_casting(&data);
}