-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
25 lines (22 loc) · 1.05 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: vispinos <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/20 19:03:18 by vispinos #+# #+# */
/* Updated: 2024/12/01 15:48:33 by vispinos ### ########.fr */
/* */
/* ************************************************************************** */
#include "cub3D.h"
int main(int ac, char **av)
{
t_state s;
if (ac < 2)
return (error_msg("Not enough arguments."));
init_state(&s);
parsing(&s, av);
exec(&s);
return (0);
}