-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit_grimly.c
More file actions
25 lines (23 loc) · 1.07 KB
/
init_grimly.c
File metadata and controls
25 lines (23 loc) · 1.07 KB
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* init_grimly.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: passef <passef@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/01/18 15:27:38 by passef #+# #+# */
/* Updated: 2018/01/19 14:54:57 by passef ### ########.fr */
/* */
/* ************************************************************************** */
#include "grimly.h"
void init_grimly(t_env *e)
{
e->status = 1;
e->buff_gnl = 1;
e->i = 0;
e->map_line = 0;
e->map_col = 0;
ft_bzero(e->n1, 6);
ft_bzero(e->n2, 6);
ft_bzero(e->carry, 10);
}