diff --git a/dev/TODO b/dev/TODO index 1f67171..1c5bd73 100644 --- a/dev/TODO +++ b/dev/TODO @@ -7,3 +7,8 @@ TODO check when project is finished: - check norminette on cluster TODO: better timedloop for bonus +TODO: map parsing: fix segfault if bad texture +TODO: map parsing: fix when color value > 255 +TODO: what if the pointer goes outside of the window? +TODO: fix inverted west and east textures +TODO: fix nobonus speed diff --git a/testmaps/err_badcolors1.cub b/testmaps/err_badcolors1.cub new file mode 100644 index 0000000..5308152 --- /dev/null +++ b/testmaps/err_badcolors1.cub @@ -0,0 +1,13 @@ +F 255,256,0 +C 0,2,67 +EA textures/east.xpm +NO textures/north.xpm +SO textures/south.xpm +WE textures/west.xpm + 111 +111110111 +10000N001 +111110111 + 101 + 101 + 111 diff --git a/testmaps/err_badcolors2.cub b/testmaps/err_badcolors2.cub new file mode 100644 index 0000000..dc5127c --- /dev/null +++ b/testmaps/err_badcolors2.cub @@ -0,0 +1,13 @@ +F ",127,0 +C 0,2,67 +EA textures/east.xpm +NO textures/north.xpm +SO textures/south.xpm +WE textures/west.xpm + 111 +111110111 +10000N001 +111110111 + 101 + 101 + 111 diff --git a/testmaps/err_badcolors3.cub b/testmaps/err_badcolors3.cub new file mode 100644 index 0000000..6f5ae7c --- /dev/null +++ b/testmaps/err_badcolors3.cub @@ -0,0 +1,13 @@ +F 255,127,0 +C 2,349,67 +EA textures/east.xpm +NO textures/north.xpm +SO textures/south.xpm +WE textures/west.xpm + 111 +111110111 +10000N001 +111110111 + 101 + 101 + 111 diff --git a/testmaps/err_badcolors4.cub b/testmaps/err_badcolors4.cub new file mode 100644 index 0000000..9ece5fe --- /dev/null +++ b/testmaps/err_badcolors4.cub @@ -0,0 +1,13 @@ +F 255,127,0 +C 0,\(^.^)/,67 +EA textures/east.xpm +NO textures/north.xpm +SO textures/south.xpm +WE textures/west.xpm + 111 +111110111 +10000N001 +111110111 + 101 + 101 + 111 diff --git a/testmaps/err_badtextures.cub b/testmaps/err_badtextures.cub new file mode 100644 index 0000000..3b52091 --- /dev/null +++ b/testmaps/err_badtextures.cub @@ -0,0 +1,13 @@ +F 255,127,0 +C 0,2,67 +EA textures/nowhere.xpm +NO textures/nowhere.xpm +SO textures/nowhere.xpm +WE textures/nowhere.xpm + 111 +111110111 +10000N001 +111110111 + 101 + 101 + 111 diff --git a/testmaps/good_reallyreallyweirdblank.cub b/testmaps/good_reallyreallyweirdblank.cub new file mode 100644 index 0000000..48c3ae4 --- /dev/null +++ b/testmaps/good_reallyreallyweirdblank.cub @@ -0,0 +1,24 @@ +F 255, 127 ,0 + +C 0, 2 , 67 + + + +EA textures/east.xpm +NO textures/north.xpm + +SO textures/south.xpm + + + + + +WE textures/west.xpm + + + +1111111 +1000001 +10W0001 +1000001 +1111111