diff --git a/Makefile b/Makefile index 0ec05fe..ad5b931 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SRCS = draw.c main.c shape.c xpm.c +SRCS = draw.c main.c map.c shape.c xpm.c OBJ = ${SRCS:.c=.o} diff --git a/libftx/extra/Makefile b/libftx/extra/Makefile index 69984e5..be827e6 100644 --- a/libftx/extra/Makefile +++ b/libftx/extra/Makefile @@ -6,19 +6,19 @@ # By: cchauvet + +#include "libft.h" size_t ft_strlen(const char *s) { size_t length; + if (s == NULL) + return (0); length = 0; while (s[length]) length++; diff --git a/libftx/libft/ft_strlen.o b/libftx/libft/ft_strlen.o deleted file mode 100644 index 21722e6..0000000 Binary files a/libftx/libft/ft_strlen.o and /dev/null differ diff --git a/libftx/libft/ft_strmapi.o b/libftx/libft/ft_strmapi.o deleted file mode 100644 index 4ba2349..0000000 Binary files a/libftx/libft/ft_strmapi.o and /dev/null differ diff --git a/libftx/libft/ft_strncmp.o b/libftx/libft/ft_strncmp.o deleted file mode 100644 index 720e1a2..0000000 Binary files a/libftx/libft/ft_strncmp.o and /dev/null differ diff --git a/libftx/libft/ft_strnstr.o b/libftx/libft/ft_strnstr.o deleted file mode 100644 index 5e276a7..0000000 Binary files a/libftx/libft/ft_strnstr.o and /dev/null differ diff --git a/libftx/libft/ft_strrchr.o b/libftx/libft/ft_strrchr.o deleted file mode 100644 index e25c052..0000000 Binary files a/libftx/libft/ft_strrchr.o and /dev/null differ diff --git a/libftx/libft/ft_strtrim.o b/libftx/libft/ft_strtrim.o deleted file mode 100644 index fd72ed8..0000000 Binary files a/libftx/libft/ft_strtrim.o and /dev/null differ diff --git a/libftx/libft/ft_substr.o b/libftx/libft/ft_substr.o deleted file mode 100644 index 8846a88..0000000 Binary files a/libftx/libft/ft_substr.o and /dev/null differ diff --git a/libftx/libft/ft_tolower.o b/libftx/libft/ft_tolower.o deleted file mode 100644 index be48eb1..0000000 Binary files a/libftx/libft/ft_tolower.o and /dev/null differ diff --git a/libftx/libft/ft_toupper.o b/libftx/libft/ft_toupper.o deleted file mode 100644 index 97f7b64..0000000 Binary files a/libftx/libft/ft_toupper.o and /dev/null differ diff --git a/libftx/libft/libft.a b/libftx/libft/libft.a deleted file mode 100644 index cd0efd4..0000000 Binary files a/libftx/libft/libft.a and /dev/null differ diff --git a/libftx/libft/libft.h b/libftx/libft/libft.h index 9b46d8e..3254783 100644 --- a/libftx/libft/libft.h +++ b/libftx/libft/libft.h @@ -6,7 +6,7 @@ /* By: cchauvet -#include -#include - -int main(int ac, char **av) -{ - int fd; - - if (ac) - { - fd = open(av[1], O_RDONLY); - printf("%d", fd); - close(fd); - } - return (0); -} diff --git a/textures/pixel.xpm b/textures/pixel.xpm deleted file mode 100644 index a8af1cb..0000000 --- a/textures/pixel.xpm +++ /dev/null @@ -1,105 +0,0 @@ -/* XPM */ -static char * XFACE[] = {" -100 100 1 1", -"a c purple", -"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", -"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", -"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", -"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", -"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", -"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaa", -"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", -"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", -"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", -"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", -"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"" -}; diff --git a/textures/square_yellow_25x25.xpm b/textures/square_yellow_25x25.xpm new file mode 100644 index 0000000..5324a6a --- /dev/null +++ b/textures/square_yellow_25x25.xpm @@ -0,0 +1,30 @@ +/* XPM */ +static char * XFACE[] = {" +25 25 2 1", +"a c yellow", +"b c black", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa", +"aaaaaaaaaaaaaaaaaaaaaaaaa"}; \ No newline at end of file diff --git a/xpm.c b/xpm.c index 2981111..c12b6c5 100644 --- a/xpm.c +++ b/xpm.c @@ -6,7 +6,7 @@ /* By: cchauvet