fillit/fillit.h

18 lines
320 B
C
Raw Normal View History

2016-12-14 12:06:38 +02:00
typedef struct s_tetraminos
{
uint16_t line[16];
int offset_y;
} t_tetraminos;
typedef struct s_map
{
uint16_t line[16];
unsigned int size;
t_tetraminos *figure[26];
unsigned int figure_amount;
} t_map;
t_tetraminos *convert_tetramino(char *s);
t_map *map_initialization(char **tetramino_table);