Add map checks *
add: - check if map is surronded by walls - check file extension dev: - Makefile: now can include libraries - add library libft - add testmaps - norm
This commit is contained in:
parent
5bad24dcee
commit
40d8462689
64 changed files with 1786 additions and 72 deletions
|
|
@ -1,19 +1,12 @@
|
|||
|
||||
|
||||
F 255,127,0
|
||||
|
||||
EA eastimage
|
||||
|
||||
|
||||
|
||||
NO theimageforthenorthwall
|
||||
C 0,2,67
|
||||
|
||||
SO SOUTH!!!!!!1
|
||||
SO jde:
|
||||
|
||||
WE weeeee
|
||||
|
||||
|
||||
|
||||
SO south2
|
||||
|
||||
11111
|
||||
10N01
|
||||
10001
|
||||
11111
|
||||
11
testmaps/err_extension.cud
Normal file
11
testmaps/err_extension.cud
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
F 255,127,0
|
||||
EA eastimage
|
||||
NO theimageforthenorthwall
|
||||
C 0,2,67
|
||||
SO SOUTH!!!!!!1
|
||||
WE weeeee
|
||||
1111111
|
||||
1000001
|
||||
10W0001
|
||||
1000001
|
||||
1111111
|
||||
|
|
@ -1,15 +1,6 @@
|
|||
F 255,127,0
|
||||
|
||||
EA eastimage
|
||||
|
||||
NO theimageforthenorthwall
|
||||
C 0,2,67
|
||||
|
||||
SO SOUTH!!!!!!1
|
||||
|
||||
WE weeeee
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
11
testmaps/err_nonclosed1.cub
Normal file
11
testmaps/err_nonclosed1.cub
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
F 255,127,0
|
||||
EA eastimage
|
||||
NO theimageforthenorthwall
|
||||
C 0,2,67
|
||||
SO SOUTH!!!!!!1
|
||||
WE weeeee
|
||||
1101111
|
||||
1000001
|
||||
10W0001
|
||||
1000001
|
||||
1111111
|
||||
11
testmaps/err_nonclosed2.cub
Normal file
11
testmaps/err_nonclosed2.cub
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
F 255,127,0
|
||||
EA eastimage
|
||||
NO theimageforthenorthwall
|
||||
C 0,2,67
|
||||
SO SOUTH!!!!!!1
|
||||
WE weeeee
|
||||
0111111
|
||||
1000001
|
||||
10W0001
|
||||
1000001
|
||||
1111111
|
||||
11
testmaps/err_nonclosed3.cub
Normal file
11
testmaps/err_nonclosed3.cub
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
F 255,127,0
|
||||
EA eastimage
|
||||
NO theimageforthenorthwall
|
||||
C 0,2,67
|
||||
SO SOUTH!!!!!!1
|
||||
WE weeeee
|
||||
111111
|
||||
1000001
|
||||
10W0001
|
||||
1000001
|
||||
1111111
|
||||
11
testmaps/err_nonclosed4.cub
Normal file
11
testmaps/err_nonclosed4.cub
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
F 255,127,0
|
||||
EA eastimage
|
||||
NO theimageforthenorthwall
|
||||
C 0,2,67
|
||||
SO SOUTH!!!!!!1
|
||||
WE weeeee
|
||||
1111111
|
||||
1000001
|
||||
10W0 01
|
||||
1000001
|
||||
1111111
|
||||
11
testmaps/good.cub
Normal file
11
testmaps/good.cub
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
F 255,127,0
|
||||
EA eastimage
|
||||
NO theimageforthenorthwall
|
||||
C 0,2,67
|
||||
SO SOUTH!!!!!!1
|
||||
WE weeeee
|
||||
1111111
|
||||
1000001
|
||||
10W0001
|
||||
1000001
|
||||
1111111
|
||||
19
testmaps/good_weirdshape.cub
Normal file
19
testmaps/good_weirdshape.cub
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
F 255,127,0
|
||||
EA eastimage
|
||||
NO theimageforthenorthwall
|
||||
C 0,2,67
|
||||
SO SOUTH!!!!!!1
|
||||
WE weeeee
|
||||
|
||||
111
|
||||
111 101
|
||||
111 101111101
|
||||
101111101100001
|
||||
100001101101111
|
||||
1111111111101100101
|
||||
1000000000101110101
|
||||
11011111110W00010101
|
||||
1001 10000010101
|
||||
1111 111111100000001111111
|
||||
110000000000100000001
|
||||
111111111111111111111
|
||||
Loading…
Add table
Add a link
Reference in a new issue