-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfillit.h
32 lines (29 loc) · 1.5 KB
/
fillit.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* fillit.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: schaaban <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/29 12:58:09 by schaaban #+# #+# */
/* Updated: 2017/12/16 19:11:46 by msabwat ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FILLIT_H
# define FILLIT_H
# define NUMTETRI 26
# include <string.h>
# include "tetri.h"
# include "map.h"
int check_valid(char **tab, t_tetri ***tetri_list, t_map ***map_list);
int check_file_content(int fd, char ***tab);
int **ft_strtobin(char *str);
void ft_freeall(t_tetri ***list, t_map ***map_list, char ***tab);
char **fillit(int i, char **tab, char **temp, t_map *map_list);
int tetri_count(t_tetri **tab);
void tetri_id(t_tetri *self);
void solve(t_tetri ***tetri_list, t_map ***map_list);
int ft_atoi_base(const char *str, int str_base);
char *ft_itoa_base(int value, int base);
int ft_sqrt(int nb);
#endif