-
Notifications
You must be signed in to change notification settings - Fork 0
/
filler.h
42 lines (38 loc) · 1.38 KB
/
filler.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
39
40
41
42
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* filler.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: vnakonec <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/03/24 13:21:18 by vnakonec #+# #+# */
/* Updated: 2017/04/03 18:30:38 by vnakonec ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FILLER_H
# define FILLER_H
# include "ft_printf/ft_printf.h"
# include <stdbool.h>
typedef struct s_fil
{
int pl;
int x;
int y;
int fig_y;
int fig_x;
int co;
int find_plase;
char *fig;
char sym;
char sym2;
char sym4;
char sym3;
int *imap;
char *map;
} t_fil;
int save_fig(t_fil *ph, int fd);
int save_map(t_fil *phars, int fd);
int save_all(t_fil *phars, int fd);
int check_koef(t_fil *ph, int i);
void make_koef(t_fil *ph);
#endif