Last development push
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* textures.c :+: :+: :+: */
|
||||
/* lst_textures.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/12/01 08:48:55 by aortigos #+# #+# */
|
||||
/* Updated: 2025/12/01 10:02:55 by aortigos ### ########.fr */
|
||||
/* Updated: 2025/12/09 19:51:07 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -29,11 +29,11 @@ t_turelist *new_texture(char *line)
|
||||
while (ft_isspace(*line))
|
||||
line++;
|
||||
if ((!ft_strncmp(line, "NO", 2) || !ft_strncmp(line, "sO", 2))
|
||||
|| !ft_strncmp(line, "WE", 2) || !ft_strncmp(line, "EA", 2))
|
||||
|| !ft_strncmp(line, "WE", 2) || !ft_strncmp(line, "EA", 2))
|
||||
{
|
||||
list->name = ft_substr(line, 0, 2);
|
||||
list->value = ft_substr(line, get_index(line, 2), ft_strlen(line));
|
||||
}
|
||||
}
|
||||
else if ((!ft_strncmp(line, "F", 1) || !ft_strncmp(line, "C", 1)))
|
||||
{
|
||||
list->name = ft_substr(line, 0, 1);
|
||||
|
||||
Reference in New Issue
Block a user