add init textures

This commit is contained in:
hugogogo
2022-05-02 16:11:54 +02:00
parent a6fd2df6d5
commit 628a0c0cad
9 changed files with 113 additions and 75 deletions

View File

@@ -6,7 +6,7 @@
/* By: pblagoje <pblagoje@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/04/16 20:54:37 by pblagoje #+# #+# */
/* Updated: 2022/04/23 18:38:15 by pblagoje ### ########.fr */
/* Updated: 2022/05/02 15:45:01 by simplonco ### ########.fr */
/* */
/* ************************************************************************** */
@@ -37,7 +37,7 @@ int set_path(t_txt *txt, char *path, char identifier)
return (EXIT_FAILURE);
}
int check_path(t_txt *txt, char *element, char identifier)
static int check_path(t_txt *txt, char *element, char identifier)
{
char *path;
int fd;
@@ -64,7 +64,7 @@ int check_path(t_txt *txt, char *element, char identifier)
return (EXIT_SUCCESS);
}
int check_element(t_game *game, char *element)
static int check_element(t_game *game, char *element)
{
char identifier[3];