321
This commit is contained in:
commit
7cc5410001
2 changed files with 6 additions and 14 deletions
18
inc/fillit.h
18
inc/fillit.h
|
@ -37,14 +37,6 @@ typedef struct s_ttrmn
|
|||
t_coord c[4];
|
||||
} t_ttrmn;
|
||||
|
||||
typedef struct s_col
|
||||
{
|
||||
struct s_col *left;
|
||||
struct s_col *right;
|
||||
void *up;
|
||||
void *down;
|
||||
} t_col;
|
||||
|
||||
typedef struct s_node
|
||||
{
|
||||
struct s_node *left;
|
||||
|
@ -52,7 +44,7 @@ typedef struct s_node
|
|||
struct s_node *up;
|
||||
struct s_node *down;
|
||||
int row;
|
||||
t_col *column;
|
||||
struct s_node *column;
|
||||
} t_node;
|
||||
|
||||
|
||||
|
@ -84,10 +76,10 @@ void to_letters(char **ttr);
|
|||
// create array of ttr structures
|
||||
int *to_strct_array(char **ttr, t_ttrmn *templates);
|
||||
|
||||
t_col *add_column(t_col *root);
|
||||
t_node *add_node(t_col *col, int row);
|
||||
void cover(t_col *to_cover);
|
||||
void uncover(t_col *to_uncover);
|
||||
t_node *add_column(t_node *root);
|
||||
t_node *add_node(t_node *col, int row);
|
||||
void cover(t_node *to_cover);
|
||||
void uncover(t_node *to_uncover);
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ t_node *add_node(t_node *col, int row)
|
|||
return (new_node);
|
||||
}
|
||||
|
||||
void cover(t_col *to_cover)
|
||||
void cover(t_node *to_cover)
|
||||
{
|
||||
void *step_vert;
|
||||
t_node *step_horiz;
|
||||
|
|
Loading…
Reference in a new issue