Skip to content

Commit 6683a9f

Browse files
author
Karim DHRIF
committed
Tester done
1 parent 090557b commit 6683a9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+645
-13
lines changed
36 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# By: yboudoui <[email protected]> +#+ +:+ +#+ #
77
# +#+#+#+#+#+ +#+ #
88
# Created: 2022/06/19 14:53:15 by yboudoui #+# #+# #
9-
# Updated: 2023/05/07 17:30:46 by kdhrif ### ########.fr #
9+
# Updated: 2023/05/08 13:15:55 by kdhrif ### ########.fr #
1010
# #
1111
# **************************************************************************** #
1212

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/* By: yboudoui <[email protected]> +#+ +:+ +#+ */
77
/* +#+#+#+#+#+ +#+ */
88
/* Created: 2022/06/19 14:51:33 by yboudoui #+# #+# */
9-
/* Updated: 2023/05/07 20:09:05 by kdhrif ### ########.fr */
9+
/* Updated: 2023/05/08 13:46:47 by kdhrif ### ########.fr */
1010
/* */
1111
/* ************************************************************************** */
1212

File renamed without changes.
File renamed without changes.

maps/invalid_maps/bad_color.cub

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F 1,2,3,4
7+
C 225,30,0
8+
9+
1111111111111111111111111
10+
1000000000110000000000001
11+
1011000001110000000000001
12+
1001000000000000000000001
13+
111111111011000001110000000000001
14+
100000000011000001110111111111111
15+
11110111111111011100000010001
16+
11110111111111011101010010001
17+
11000000110101011100000010001
18+
10000000000000001100000010001
19+
10000000000000001101010010001
20+
11000001110101011111011110W0111
21+
11110111 1110101 101111010001
22+
11111111 1111111 111111111111
File renamed without changes.
File renamed without changes.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F 220,100,0
7+
C 225,30,0
8+
9+
1111111111111111111111111
10+
1000000000110000000000001
11+
1011000001110000000000001
12+
1001000000000000000000001
13+
111111111011000001110000000000001
14+
100000000011000001110111111111111
15+
11110111111111011100000010001
16+
11110111111111011101010010001
17+
11000000110101011100000010001
18+
10000000000000001100000010001
19+
10000000000000001101010010001
20+
11000001110101011111011110Q0111
21+
11110111 1110101 101111010001
22+
11111111 1111111 111111111111
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

maps/invalid_maps/map_not_last.cub

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
1111111111111111111111111
7+
1000000000110000000000001
8+
1011000001110000000000001
9+
1001000000000000000000001
10+
111111111011000001110000000000001
11+
100000000011000001110111111111111
12+
11110111111111011100000010001
13+
11110111111111011101010010001
14+
11000000110101011100000010001
15+
10000000000000001100000010001
16+
10000000000000001101010010001
17+
11000001110101011111011110N0111
18+
11110111 1110101 101111010001
19+
11111111 1111111 111111111111
20+
21+
F 220,100,0
22+
C 225,30,0
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F 220,100,0
7+
C 225,30,0
8+
9+
1111111111111111111111111
10+
1000000000110000000000001
11+
1011000001110000000000001
12+
1001000000000000000000001
13+
111111111011000001110000000000001
14+
100000000011000001110111111111111
15+
11110111111111011100000010001
16+
11110111111111011101010010001
17+
11000000110101011100000010001
18+
10000000000000001100000010001
19+
10000000000000001101010010001
20+
11000001110101011111011110N0111
21+
11110111 1110101 101111010001
22+
11111111 1111111 111111111111

maps/invalid_maps/missing_color.cub

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F 220,100,0
7+
8+
1111111111111111111111111
9+
1000000000110000000000001
10+
1011000001110000000000001
11+
1001000000000000000000001
12+
111111111011000001110000000000001
13+
100000000011000001110111111111111
14+
11110111111111011100000010001
15+
11110111111111011101010010001
16+
11000000110101011100000010001
17+
10000000000000001100000010001
18+
10000000000000001101010010001
19+
11000001110101011111011110W0111
20+
11110111 1110101 101111010001
21+
11111111 1111111 111111111111

maps/invalid_maps/missing_map.cub

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F 220,100,0
7+
C 225,30,0

maps/invalid_maps/missing_texture.cub

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
F 220,100,0
5+
C 225,30,0
6+
7+
1111111111111111111111111
8+
1000000000110000000000001
9+
1011000001110000000000001
10+
1001000000000000000000001
11+
111111111011000001110000000000001
12+
100000000011000001110111111111111
13+
11110111111111011100000010001
14+
11110111111111011101010010001
15+
11000000110101011100000010001
16+
10000000000000001100000010001
17+
10000000000000001101010010001
18+
11000001110101011111011110W0111
19+
11110111 1110101 101111010001
20+
11111111 1111111 111111111111

maps/invalid_maps/multiplayer.cub

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F 220,100,0
7+
C 225,30,0
8+
9+
1111111111111111111111111
10+
1000000000110000000000001
11+
1011000001110000000000001
12+
1001000000000000000000001
13+
111111111011000001110000000000001
14+
100000000011000001110111111111111
15+
11110111111111011100000010001
16+
11110111111111011101010010001
17+
11000000110101011100000010001
18+
10000000000000001100000010001
19+
10000E00000000001101010010001
20+
11000001110101011111011110N0111
21+
11110111 1110101 101111010001
22+
11111111 1111111 111111111111

maps/invalid_maps/neg_color.cub

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F -42,42,123
7+
C 225,30,0
8+
9+
1111111111111111111111111
10+
1000000000110000000000001
11+
1011000001110000000000001
12+
1001000000000000000000001
13+
111111111011000001110000000000001
14+
100000000011000001110111111111111
15+
11110111111111011100000010001
16+
11110111111111011101010010001
17+
11000000110101011100000010001
18+
10000000000000001100000010001
19+
10000000000000001101010010001
20+
11000001110101011111011110W0111
21+
11110111 1110101 101111010001
22+
11111111 1111111 111111111111

maps/invalid_maps/no_info.cub

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
1111111111111111111111111
3+
1000000000110000000000001
4+
1011000001110000000000001
5+
1001000000000000000000001
6+
111111111011000001110000000000001
7+
100000000011000001110111111111111
8+
11110111111111011100000010001
9+
11110111111111011101010010001
10+
11000000110101011100000010001
11+
10000000000000001100000010001
12+
10000000000000001101010010001
13+
11000001110101011111011110S0111
14+
11110111 1110101 101111010001
15+
11111111 1111111 111111111111

maps/invalid_maps/no_map.cub

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F 220,100,0
7+
C 225,30,0
8+

maps/invalid_maps/only_newlines.cub

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
3+
4+
5+
6+
7+
8+
9+
10+

maps/invalid_maps/open_corner.cub

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F 220,100,0
7+
C 225,30,0
8+
9+
1111111111111111111111111
10+
1000000000110000000000001
11+
1011000001110000000000001
12+
1001000000000000000000001
13+
111111111011000001110000000000001
14+
100000000011000001110111111111111
15+
11110111111111011100000010001
16+
11110111111111011101010010001
17+
11000000110101011100000010001
18+
10000000000000001100000010001
19+
10000000000000001101010010001
20+
11000001110101011111011110N0111
21+
11110111 1110101 101111010001
22+
11111111 1111111 011111111111
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

maps/invalid_maps/open_wall.cub

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F 220,100,0
7+
C 225,30,0
8+
9+
1111111111111111111111111
10+
1000000000110000000000001
11+
1011000001110000000000001
12+
1001000000000000000000000
13+
111111111011000001110000000000001
14+
100000000011000001110111111111111
15+
11110111111111011100000010001
16+
11110111111111011101010010001
17+
11000000110101011100000010001
18+
10000000000000001100000010001
19+
10000000000000001101010010001
20+
11000001110101011111011110N0111
21+
11110111 1110101 101111010001
22+
11111111 1111111 111111111111

maps/invalid_maps/player_in_wall.cub

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F 220,100,0
7+
C 225,30,0
8+
9+
111111111N111111111111111
10+
1000000000110000000000001
11+
1011000001110000000000001
12+
1001000000000000000000001
13+
111111111011000001110000000000001
14+
100000000011000001110111111111111
15+
11110111111111011100000010001
16+
11110111111111011101010010001
17+
11000000110101011100000010001
18+
10000000000000001100000010001
19+
10000000000000001101010010001
20+
1100000111010101111101111000111
21+
11110111 1110101 101111010001
22+
11111111 1111111 111111111111
File renamed without changes.

maps/invalid_maps/space_color.cub

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture
4+
EA ./path_to_the_east_texture
5+
6+
F 220, 100,0
7+
C 225,30,0
8+
9+
1111111111111111111111111
10+
1000000000110000000000001
11+
1011000001110000000000001
12+
1001000000000000000000001
13+
111111111011000001110000000000001
14+
100000000011000001110111111111111
15+
11110111111111011100000010001
16+
11110111111111011101010010001
17+
11000000110101011100000010001
18+
10000000000000001100000010001
19+
10000000000000001101010010001
20+
11000001110101011111011110W0111
21+
11110111 1110101 101111010001
22+
11111111 1111111 111111111111

maps/invalid_maps/texture_in_map.cub

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
EA ./path_to_the_east_texture
4+
5+
F 220,100,0
6+
C 225,30,0
7+
8+
1111111111111111111111111
9+
1000000000110000000000001
10+
1011000001110000000000001
11+
1001000000000000000000001
12+
111111111011000001110000000000001
13+
100000000011000001110111111111111
14+
WE ./path_to_the_west_texture
15+
11110111111111011100000010001
16+
11110111111111011101010010001
17+
11000000110101011100000010001
18+
10000000000000001100000010001
19+
10000000000000001101010010001
20+
11000001110101011111011110W0111
21+
11110111 1110101 101111010001
22+
11111111 1111111 111111111111
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
NO ./path_to_the_north_texture
2+
SO ./path_to_the_south_texture
3+
WE ./path_to_the_west_texture ./second_path
4+
EA ./path_to_the_east_texture
5+
6+
F 220,100,0
7+
C 225,30,0
8+
9+
1111111111111111111111111
10+
1000000000110000000000001
11+
1011000001110000000000001
12+
1001000000000000000000001
13+
111111111011000001110000000000001
14+
100000000011000001110111111111111
15+
11110111111111011100000010001
16+
11110111111111011101010010001
17+
11000000110101011100000010001
18+
10000000000000001100000010001
19+
10000000000000001101010010001
20+
11000001110101011111011110S0111
21+
11110111 1110101 101111010001
22+
11111111 1111111 111111111111

0 commit comments

Comments
 (0)