-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.c
26 lines (23 loc) · 1.13 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
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lpaulo-m <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/02/17 15:39:11 by lpaulo-m #+# #+# */
/* Updated: 2022/02/20 21:07:09 by lpaulo-m ### ########.fr */
/* */
/* ************************************************************************** */
#include <fractol.h>
int main(int argc, char **argv)
{
t_fractol ctl;
t_mlx_image buffer;
initialize_params(&ctl, &buffer);
handle_arguments(&ctl, argc, argv);
ft_putendl(WELCOME_MSG);
initialize_mlx(&ctl);
mlx_loop(ctl.mlx);
return (EXIT_SUCCESS);
}