-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom_struct.h
38 lines (33 loc) · 1.2 KB
/
custom_struct.h
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
28
29
30
31
32
33
34
35
36
37
38
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* custom_struct.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hkrishna <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/08/25 18:55:29 by hkrishna #+# #+# */
/* Updated: 2021/08/25 18:55:30 by hkrishna ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef CUSTOM_STRUCT_H
# define CUSTOM_STRUCT_H
typedef struct s_map
{
int size_header;
int number_of_lines;
int line_length;
char empty_space;
char obstacle;
char seed;
} t_map;
typedef struct s_point
{
int y;
int x;
} t_point;
typedef struct s_square
{
t_point start;
int size;
} t_square;
#endif //CUSTOM_STRUCT_H