From 8b82084d2a181200c0d005a690b5686abca6169e Mon Sep 17 00:00:00 2001 From: Leo Firmin Date: Fri, 12 Sep 2025 18:15:05 +0200 Subject: [PATCH] push --- bad_maps/13.cub | 13 +++++++++++++ bad_maps/14.cub | 13 +++++++++++++ bad_maps/15.cub | 13 +++++++++++++ bad_maps/basic_check.cub | 18 +++++++++++++++++ bad_maps/dif.cub | 18 +++++++++++++++++ bad_maps/eight.cub | 40 ++++++++++++++++++++++++++++++++++++++ bad_maps/eleven.cub | 38 ++++++++++++++++++++++++++++++++++++ bad_maps/err_generated.cub | 39 +++++++++++++++++++++++++++++++++++++ bad_maps/five.cub | 26 +++++++++++++++++++++++++ bad_maps/four.cub | 27 +++++++++++++++++++++++++ bad_maps/nine.cup | 38 ++++++++++++++++++++++++++++++++++++ bad_maps/one.cub | 7 +++++++ bad_maps/seven.cub | 0 bad_maps/six.cub | 15 ++++++++++++++ bad_maps/ten.cub | 15 ++++++++++++++ bad_maps/three.cub | 26 +++++++++++++++++++++++++ bad_maps/three.cup | 11 +++++++++++ bad_maps/twelve.cub | 9 +++++++++ bad_maps/two.cub | 9 +++++++++ sequential_launch.sh | 6 ++++++ 20 files changed, 381 insertions(+) create mode 100644 bad_maps/13.cub create mode 100644 bad_maps/14.cub create mode 100755 bad_maps/15.cub create mode 100644 bad_maps/basic_check.cub create mode 100644 bad_maps/dif.cub create mode 100644 bad_maps/eight.cub create mode 100644 bad_maps/eleven.cub create mode 100755 bad_maps/err_generated.cub create mode 100644 bad_maps/five.cub create mode 100644 bad_maps/four.cub create mode 100644 bad_maps/nine.cup create mode 100644 bad_maps/one.cub create mode 100644 bad_maps/seven.cub create mode 100644 bad_maps/six.cub create mode 100644 bad_maps/ten.cub create mode 100644 bad_maps/three.cub create mode 100644 bad_maps/three.cup create mode 100644 bad_maps/twelve.cub create mode 100644 bad_maps/two.cub create mode 100755 sequential_launch.sh diff --git a/bad_maps/13.cub b/bad_maps/13.cub new file mode 100644 index 0000000..741e4c9 --- /dev/null +++ b/bad_maps/13.cub @@ -0,0 +1,13 @@ +EA ./ressources/texture_brown.xpm +NO ./ressources/texture_light_gray.xpm +SO ./ressources/texture_orange.xpm +WE ./ressources/texture_cyan.xpm +F 0,100,255 +C 0,100,255 + +111111111111111 +100000000000001 +100000000000001 +100000000000001 +100000000000001 +111111111111111 diff --git a/bad_maps/14.cub b/bad_maps/14.cub new file mode 100644 index 0000000..c46f1fe --- /dev/null +++ b/bad_maps/14.cub @@ -0,0 +1,13 @@ +EA ./ressources/texture_brown.xpm +NO ./ressources/texture_light_gray.xpm +SO ./ressources/texture_orange.xpm +WE ./ressources/texture_cyan.xpm +F 0,100,255 +C 0,100,255 + +111111111111111 +100000000000001 +100000NE0000001 +100000000000001 +100000000000001 +111111111111111 diff --git a/bad_maps/15.cub b/bad_maps/15.cub new file mode 100755 index 0000000..9a08a76 --- /dev/null +++ b/bad_maps/15.cub @@ -0,0 +1,13 @@ +EA ./ressources/default_wall_east.xpm +NO ./ressources/default_wall_north.xpm +SO ./ressources/default_wall_south.xpm +WE ./ressources/ default_wall_west.xpm +F 0,100,255 +C 255, 0, 25 + +1111111111111111 +1N0000000000001 +100000000000001 +100000000000001 +100000000000001 +111111111111111 diff --git a/bad_maps/basic_check.cub b/bad_maps/basic_check.cub new file mode 100644 index 0000000..b608a7e --- /dev/null +++ b/bad_maps/basic_check.cub @@ -0,0 +1,18 @@ +EA kjksks +NO kjksks +SO kjksks + + + +WE kjksks +F 0,100,255 + + + 1111111111 +1111111111 +1N00000001 +1000000001 +1000000001 +1001111001 +1111111111 + diff --git a/bad_maps/dif.cub b/bad_maps/dif.cub new file mode 100644 index 0000000..cc821d9 --- /dev/null +++ b/bad_maps/dif.cub @@ -0,0 +1,18 @@ + + +1111111111111111 +1000000000000011 + +1001110000110011 +10000S0110000011 +1000010010010011 + + +1011110000110011 +1000000000110011 +1001010000010011 +1000000000110011 +1111111111111111 + + + diff --git a/bad_maps/eight.cub b/bad_maps/eight.cub new file mode 100644 index 0000000..d562d17 --- /dev/null +++ b/bad_maps/eight.cub @@ -0,0 +1,40 @@ + +EA +NO +SO + +WE examplefile +F 0,100,255 + +1111111111111111111111111111111111111111111111111111111111111111 +1000000001100000000000000110011000000001111001111110000110000001 +1000000001100000000000000110011000000001111001111110000110000001 +1001100000000000000001111110000000000000000000011000011000000111 +1001100000000000000001111110000000000000000110011000011000000111 +1110011000000000000110011000000110000001100110000000000000000111 +1110011000000000000110011000000110000001100110000000000000000111 +1000000000000000000000011111100110000000000110000000011001111111 +1000000000000000000000011111100110000000000110000000011001111111 +1110011001100110000000000001111000011001111111100000011000000001 +1110011001100110000000000001111000011001111111100000011000000001 +1000000000011000011000011110000000011111111111100111100000011111 +1000000000011000011000011110000000011111111111100111100000011111 +1000011000011000000110000000000001100111111110000110000110000111 +1000011000011000000110000000000001100111111110000110000110000111 +1000011001111000000000000000000000000000000001100111100001111111 +10000110011110000000000000000000000000000W0001100111100001111111 +1110000000000000000000011000000111100000000000000000000110011111 +1110000000000000000000011000000111100000000000000000000110011111 +1000000000000001100001111110000000000001100000000000011000011001 +1000000000000001100001111100000000000001100000000000011000011001 +1000011110000000000000011001111001111111100000000000000110000001 +1000011110000000000000011001111001111111100000000000000110000001 +1000000001111000000000000011111111100001111000000000000000011111 +1000000001111000000000000111111111100001111000000000000000011111 +1000011001111000000110000000000000000000000000011110000111100001 +1000011001111000000110000000000000000000000000011110000111100001 +1000000000000000000001100000000110000000000000000111100001111001 +1000000000000000000001100000000110000000000000000111100001111001 +1000000001100110011000011000011000000001111110000001100000000001 +1000000001100110011000011000011000000001111110000001100000000001 +1111111111111111111111111111111111111111111111111111111111111111 \ No newline at end of file diff --git a/bad_maps/eleven.cub b/bad_maps/eleven.cub new file mode 100644 index 0000000..5b3ffe5 --- /dev/null +++ b/bad_maps/eleven.cub @@ -0,0 +1,38 @@ +EA +NO examplefile +SO examplefile +WE examplefile +F 0,100,255 + +1111111111111111111111111111111111111111111111111111111111111111 +1000000001100000000000000110011000000001111001111110000110000001 +1000000001100000000000000110011000000001111001111110000110000001 +1001100000000000000001111110000000000000000000011000011000000111 +1001100000000000000001111110000000000000000110011000011000000111 +1110011000000000000110011000000110000001100110000000000000000111 +1110011000000000000110011000000110000001100110000000000000000111 +1000000000000000000000011111100110000000000110000000011001111111 +1000000000000000000000011111100110000000000110000000011001111111 +1110011001100110000000000001111000011001111111100000011000000001 +1110011001100110000000000001111000011001111111100000011000000001 +1000000000011000011000011110000000011111111111100111100000011111 +1000000000011000011000011110000000011111111111100111100000011111 +1000011000011000000110000000000001100111111110000110000110000111 +1000011000011000000110000000000001100111111110000110000110000111 +1000011001111000000000000000000000000000000001100111100001111111 +10000110011110000000000000000000000000000W0001100111100001111111 +1110000000000000000000011000000111100000000000000000000110011111 +1110000000000000000000011000000111100000000000000000000110011111 +1000000000000001100001111110000000000001100000000000011000011001 +1000000000000001100001111100000000000001100000000000011000011001 +1000011110000000000000011001111001111111100000000000000110000001 +1000011110000000000000011001111001111111100000000000000110000001 +1000000001111000000000000011111111100001111000000000000000011111 +1000000001111000000000000111111111100001111000000000000000011111 +1000011001111000000110000000000000000000000000011110000111100001 +1000011001111000000110000000000000000000000000011110000111100001 +1000000000000000000001100000000110000000000000000111100001111001 +1000000000000000000001100000000110000000000000000111100001111001 +1000000001100110011000011000011000000001111110000001100000000001 +1000000001100110011000011000011000000001111110000001100000000001 +1111111111111111111111111111111111111111111111111111111111111111 \ No newline at end of file diff --git a/bad_maps/err_generated.cub b/bad_maps/err_generated.cub new file mode 100755 index 0000000..45c2f91 --- /dev/null +++ b/bad_maps/err_generated.cub @@ -0,0 +1,39 @@ +EA ./ressources/texture_brown.xpm +NO ./ressources/texture_brown.xpm +SO ./ressources/texture_brown.xpm +WE ./ressources/texture_brown.xpm +F 0,100,255 + +1111111111111111111111111111111111111111111111111111111111111111 +1110011110000110000000000000000000000001100000000111111110000001 +1110011110000110000000000000000000000001100000000111111110000001 +1000111000000000000000000111100000000000011001100111111110000001 +1001111000000000000000000111100000000000011001100111111110000001 +1000000000000110000000000111111110000110000001100110011111100111 +1000000000000110000000000111111110000110000001100110011111100111 +1001100111100001100111100111111001111000000001100110000001100001 +1001100111100001100111100111111001111000000001100110000001100001 +1000011111100110000000011110000001111111111000011000000000000001 +1000011111100110000000011110000001111111111000011000000000000001 +1000000000000000000111111110000001100110000000000000011110011001 +1000000000000000000111111110000001100110000000000000011110011001 +1001100000011001100000011110000110000001100000000001111000000111 +1001100000011001100000011110000110000001100000000001111000000111 +1000000110000001111000011000000000011000000001100000000000011111 +1000000110000001111000011000000000011000000001100000000000011111 +1001100111111000000000011111111001100000011000000001100000000001 +1001100111111000000000011111111001100000011000000001100000000001 +1110000000011111100000011000000001100000000111100000000000011111 +1110000000011111100000011000000001100000000111100000000000011111 +1000011111111000000000000000000001100111100001100110000110000111 +1000011111111000000000000000000001100111100001100110000110000111 +1001111110011000011000011000011000011000000001100001111110011001 +1001111110011000011000011000011000011000000001100001111110011001 +10000000000000S0000110011000011000000001100000011110011110000001 +1000000001100000000110011000011000000001100000011110011110000001 +1000011111100000011001100110000111111000011111111000011000000001 +1000001111100000011001100110000111111000011111111000011000000001 +1001100110000000011000000000000000000110000000011000000001100111 +1001100110000000011000000000000000000110000000011000000001100111 +1111111111111111111111111111111111111111111111111111111111111111 + diff --git a/bad_maps/five.cub b/bad_maps/five.cub new file mode 100644 index 0000000..6f1c300 --- /dev/null +++ b/bad_maps/five.cub @@ -0,0 +1,26 @@ +EA kjksks +NO kjksks +SO kjksks + + + +WE kjksks + + + + + + 1111111111111111111111111 + 1000000000110000000000001 + 1011000001110000000000001 + 1001000000000000000000001 +111111111011000001110000000000001 +100000000011000001110111111111111 +11110111111111011100000010001 +11110111111111011101010010001 +11000000110101011100000010001 +10000000000000001100000010001 +10000000000000001101010010001 +110000E111010101111101111000111 +11110111 1110101 101111010001 +11111111 1111111 111111111111 \ No newline at end of file diff --git a/bad_maps/four.cub b/bad_maps/four.cub new file mode 100644 index 0000000..99d5e1e --- /dev/null +++ b/bad_maps/four.cub @@ -0,0 +1,27 @@ +EA kjksks +NO kjksks +SO kjksks + + + +WE kjksks +F 0,100,255 + + + + + 1111111111111111111111111 + 1000000000110000000000001 + 1011000001110000000000001 + 1001000000000000000000001 +111111111011000001110000000000001 +100000000011000001110111111111111 + +11110111111111011100000010001 +11110111111111011101010010001 +11000000110101011100000010001 +10000000000000001100000010001 +10000000000000001101010010001 +110000E111010101111101111000111 +11110111 1110101 101111010001 +11111111 1111111 111111111111 \ No newline at end of file diff --git a/bad_maps/nine.cup b/bad_maps/nine.cup new file mode 100644 index 0000000..f9c8652 --- /dev/null +++ b/bad_maps/nine.cup @@ -0,0 +1,38 @@ +EA examplefile +NO examplefile +SO examplefile +WE examplefile +F 0,100,255 + +11111111111111111111111111111111111111111111111111111111111111111 +1000000001100000000000000110011000000001111001111110000110000001 +1000000001100000000000000110011000000001111001111110000110000001 +1001100000000000000001111110000000000000000000011000011000000111 +1001100000000000000001111110000000000000000110011000011000000111 +1110011000000000000110011000000110000001100110000000000000000111 +1110011000000000000110011000000110000001100110000000000000000111 +1000000000000000000000011111100110000000000110000000011001111111 +1000000000000000000000011111100110000000000110000000011001111111 +1110011001100110000000000001111000011001111111100000011000000001 +1110011001100110000000000001111000011001111111100000011000000001 +1000000000011000011000011110000000011111111111100111100000011111 +1000000000011000011000011110000000011111111111100111100000011111 +1000011000011000000110000000000001100111111110000110000110000111 +1000011000011000000110000000000001100111111110000110000110000111 +1000011001111000000000000000000000000000000001100111100001111111 +10000110011110000000000000000000000000000W0001100111100001111111 +1110000000000000000000011000000111100000000000000000000110011111 +1110000000000000000000011000000111100000000000000000000110011111 +1000000000000001100001111110000000000001100000000000011000011001 +1000000000000001100001111100000000000001100000000000011000011001 +1000011110000000000000011001111001111111100000000000000110000001 +1000011110000000000000011001111001111111100000000000000110000001 +1000000001111000000000000011111111100001111000000000000000011111 +1000000001111000000000000111111111100001111000000000000000011111 +1000011001111000000110000000000000000000000000011110000111100001 +1000011001111000000110000000000000000000000000011110000111100001 +1000000000000000000001100000000110000000000000000111100001111001 +1000000000000000000001100000000110000000000000000111100001111001 +1000000001100110011000011000011000000001111110000001100000000001 +1000000001100110011000011000011000000001111110000001100000000001 +1111111111111111111111111111111111111111111111111111111111111111 \ No newline at end of file diff --git a/bad_maps/one.cub b/bad_maps/one.cub new file mode 100644 index 0000000..490b7e0 --- /dev/null +++ b/bad_maps/one.cub @@ -0,0 +1,7 @@ + 1111111111 +1111111111 +1N00000001 +1000000001 +1000000001 +1001111001 +1111111111 \ No newline at end of file diff --git a/bad_maps/seven.cub b/bad_maps/seven.cub new file mode 100644 index 0000000..e69de29 diff --git a/bad_maps/six.cub b/bad_maps/six.cub new file mode 100644 index 0000000..962a6ac --- /dev/null +++ b/bad_maps/six.cub @@ -0,0 +1,15 @@ +EA examplefile +NO examplefile +SO examplefile +WE examplefile +F 0,100,255 + +1111111111111111111111111111111111111111111111111111111111111111 +1000000001100000000000000110011000000001111001111110000110000001 +1000000001100000000000000110011000000001111001111110000110000001 +1001100000000000000001111110000000000000000000011000011000000111 +1001100000000000000001111110000000000000000110011000011000000111 +11100110000000000001100110000001100000011001100000000000000001110 +1110011000000000000110011000000110000001100110000000000000000111 +1000000000000000000000011111100110000000000110000000011001111111 +1111111111111111111111111111111111111111111111111111111111111111 diff --git a/bad_maps/ten.cub b/bad_maps/ten.cub new file mode 100644 index 0000000..200e6e0 --- /dev/null +++ b/bad_maps/ten.cub @@ -0,0 +1,15 @@ +EA examplefile +NO examplefile +SO examplefile +WE examplefile +F 0,a100,255 + +1111111111111111111111111111111111111111111111111111111111111111 +1000000001100000000000000110011000000001111001111110000110000001 +1000000001100000000000000110011000000001111001111110000110000001 +1001100000000000000001111110000000000000000000011000011000000111 +1001100000000000000001111110000000000000000110011000011000000111 +11100110000000000001100110000001100000011001100000000000000001110 +1110011000000000000110011000000110000001100110000000000000000111 +1000000000000000000000011111100110000000000110000000011001111111 +1111111111111111111111111111111111111111111111111111111111111111 diff --git a/bad_maps/three.cub b/bad_maps/three.cub new file mode 100644 index 0000000..2e522cb --- /dev/null +++ b/bad_maps/three.cub @@ -0,0 +1,26 @@ +EA kjksks +NO kjksks +SO kjksks + + + +WE kjksks +F 0,100,255 + + + + + 21111111111111111111111111 + 1000000000110000000000001 + 1011000001110000000000001 + 1001000000000000000000001 +111111111011000001110000000000001 +100000000011000001110111111111111 +11110111111111011100000010001 +11110111111111011101010010001 +11000000110101011100000010001 +10000000000000001100000010001 +10000000000000001101010010001 +110000E111010101111101111000111 +11110111 1110101 101111010001 +11111111 1111111 111111111111 \ No newline at end of file diff --git a/bad_maps/three.cup b/bad_maps/three.cup new file mode 100644 index 0000000..d48aab7 --- /dev/null +++ b/bad_maps/three.cup @@ -0,0 +1,11 @@ + +khdksbd +jdbkjsdbkds + + 1111111111 +1111111111 +1N00000001 +1000000001 +1000000001 +1001111001 +1111111111 \ No newline at end of file diff --git a/bad_maps/twelve.cub b/bad_maps/twelve.cub new file mode 100644 index 0000000..bf4fa4a --- /dev/null +++ b/bad_maps/twelve.cub @@ -0,0 +1,9 @@ +EA kjksks +NO kjksks +SO kjksks + + + +WE kjksks +F 0,100,255 + diff --git a/bad_maps/two.cub b/bad_maps/two.cub new file mode 100644 index 0000000..ef1f9f1 --- /dev/null +++ b/bad_maps/two.cub @@ -0,0 +1,9 @@ +11111111111 + + 1111111111 +1111111111 +1N00000001 +1000000001 +1000000001 +1001111001 +1111111111 \ No newline at end of file diff --git a/sequential_launch.sh b/sequential_launch.sh new file mode 100755 index 0000000..ae064e3 --- /dev/null +++ b/sequential_launch.sh @@ -0,0 +1,6 @@ +for file in ./bad_maps/* +do +echo "\n\n" +echo Testing $file +valgrind ./cub3D $file +done