testing with smaller maps

This commit is contained in:
djonker 2023-10-31 16:54:13 +01:00
parent 7194cbfc83
commit 098ae0736a
3 changed files with 65 additions and 3 deletions

View File

@ -6,7 +6,7 @@
/* By: houtworm <codam@houtworm.net> +#+ */ /* By: houtworm <codam@houtworm.net> +#+ */
/* +#+ */ /* +#+ */
/* Created: 2023/10/26 10:46:35 by houtworm #+# #+# */ /* Created: 2023/10/26 10:46:35 by houtworm #+# #+# */
/* Updated: 2023/10/31 15:22:33 by houtworm ######## odam.nl */ /* Updated: 2023/10/31 16:29:47 by houtworm ######## odam.nl */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -59,10 +59,8 @@ typedef struct s_varlist
int side; int side;
double run; double run;
double oldmouseposx; double oldmouseposx;
double oldmouseposy; // only needed if we do vertical aiming
int32_t fcolor; int32_t fcolor;
int32_t ccolor; int32_t ccolor;
uint32_t sbuffer; //??
char *northwt; char *northwt;
char *eastwt; char *eastwt;
char *southwt; char *southwt;

32
maps/bigmap.cub Normal file
View File

@ -0,0 +1,32 @@
C 0,100,255
F 100,100,100
NO ./assets/bluestone.png
EA ./assets/colorstone.png
SO ./assets/redbrick.png
WE ./assets/wood.png
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
1 B1 1 1 1 1 1
1 K D K K 1 C D D K K X 1
1 1 1 1 1 1 1
1 11111111111 11111111111 111111111111111111111 1 1111111111 1111111111
1 1B C B1 1 1 1 1 1 D K K 1 1
1 1 K K 1 1 K K D 1 C 1 K K D 1 1 K K K K K K K K 1
1 1 1 1 1 1 1 1 1111111111 K K K K K K 1
1 11111 11111 11111111111 D K K K 11111111111 1 1 K K K K 1
1 1 1 1 K K 1 1 D K K 1 K K 1
1 1 K K D 1 1 K K D 1 1 1
1 1 1 11111111111 1 1111111111 1
1 11111111111 1 11111111111 1 1 1
1 1 1 D K K 1 1 D K K 1 1
1B 1 K K D 1 1 K K D 1 1 1
1BB 1 1 11111111111 1 1111111111 1
111111111 11111111111 1 11111111111 1 1 1
1B1 1 1 1 D K K 1 1 D C 1 1
1 K K K 1 1 K K 1 1 1 K K D 1 1 1
1 1 C 1 1 K K K D 11111111111 K K K 1 1111111111 1
1 1 1 N 1 K K 1 1 1 K K 1 1 1
1 1111111 1 C 1 D K K 1 C 1B 1
1 1 1BBB1 1 1BB B1 1
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

32
maps/smallmap.cub Normal file
View File

@ -0,0 +1,32 @@
C 0,100,255
F 100,100,100
NO ./assets/bluestone.png
EA ./assets/colorstone.png
SO ./assets/redbrick.png
WE ./assets/wood.png
111111111111111111111111
1 B1
1 K 1
1 1
1 11111111111 1
1 1B C B1 1
1 1 K K 1 1
1 1 1 1
1 11111 11111 1
1 1
1 1
1 1
1 1
1 1
1B 1
1BB 1
111111111 1
1B1 1 1
1 K K K 1 1
1 1 C 1 1
1 1 1 N 1
1 1111111 1
1 1
111111111111111111111111