diff --git a/Makefile b/Makefile index 4d16625..03930df 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ SRCS := ${SRCS_MAP} \ OBJS := ${SRCS:.c=.o} CC := clang LIBS := libftx/libftx.a MLX42/build/libmlx42.a -ldl -lglfw -lm -CFLAGS := -g -Wall -Wextra -Werror -Wno-conversion -Ofast +CFLAGS := -g -Wall -Wextra -Werror -Wno-conversion NAME := cub3D all: ${NAME} diff --git a/maps/test1.cub b/maps/test1.cub index 7a4b40a..59fab15 100644 --- a/maps/test1.cub +++ b/maps/test1.cub @@ -1,22 +1,22 @@ -NO ./path_to_the_north_texture SO ./path_to_the_south_texture -WE ./path_to_the_west_texture -EA ./path_to_the_east_texture - -F 200,100,0 C 225,30,0 +EA ./path_to_the_east_texture +NO ./path_to_the_north_texture - 1111111111111111111111111 - 1000000000110000000000001 - 1011000001110000000000001 - 1001000000000000000000001 -111111111011000001110000000000001 -100000000011000001110111111111111 -11110111111111011100000010001 -11110111111111011101010010001 -11000000110101011100000010001 -10000000000000001100000010001 -10000000000000001101010010001 -11000001110101011111011110N0111 -11110111 1110101 101111010001 -11111111 1111111 111111111111 + + +WE ./path_to_the_west_texture + +F 200,100,0 + + 11111111111111111111111111 + 101100000111000000000000001 N + 101100000111000000000000001 + 101100000111000000000000001 1111 + 1011000001110000000000000011111100001 + 1011000001110000000000000000000000001 + 1011000001110000000000000011111100001 + 101100000111000000000000001 10101 + 101100000111000000000000001 11111 + 101100000111000000000000001 + 111111111111111111111111111