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:
mcolonna 2024-10-10 13:34:24 +02:00
parent 5bad24dcee
commit 40d8462689
64 changed files with 1786 additions and 72 deletions

View file

@ -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

View 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

View file

@ -1,15 +1,6 @@
F 255,127,0
EA eastimage
NO theimageforthenorthwall
C 0,2,67
SO SOUTH!!!!!!1
WE weeeee

View 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

View 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

View 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

View 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
View 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

View 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