diff --git a/cub3d.h b/cub3d.h index 1e8cab2..04ef6e1 100644 --- a/cub3d.h +++ b/cub3d.h @@ -6,7 +6,7 @@ /* 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; double run; double oldmouseposx; - double oldmouseposy; // only needed if we do vertical aiming int32_t fcolor; int32_t ccolor; - uint32_t sbuffer; //?? char *northwt; char *eastwt; char *southwt; diff --git a/maps/bigmap.cub b/maps/bigmap.cub new file mode 100644 index 0000000..73e2d65 --- /dev/null +++ b/maps/bigmap.cub @@ -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 diff --git a/maps/smallmap.cub b/maps/smallmap.cub new file mode 100644 index 0000000..1929d58 --- /dev/null +++ b/maps/smallmap.cub @@ -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