aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_defines.h
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-15 18:51:30 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-15 18:51:30 +0100
commitfbc52949004a067a5c2cfefae1ff3415dbe04a96 (patch)
treea887e3657e6abd384d729f51c42a2ac4c0869c77 /inc/cub3d_defines.h
parentMerged (diff)
download42-cub3d-fbc52949004a067a5c2cfefae1ff3415dbe04a96.tar.gz
42-cub3d-fbc52949004a067a5c2cfefae1ff3415dbe04a96.tar.bz2
42-cub3d-fbc52949004a067a5c2cfefae1ff3415dbe04a96.tar.xz
42-cub3d-fbc52949004a067a5c2cfefae1ff3415dbe04a96.tar.zst
42-cub3d-fbc52949004a067a5c2cfefae1ff3415dbe04a96.zip
In progress
Diffstat (limited to '')
-rw-r--r--inc/cub3d_defines.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index e6c98c5..6f8de65 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -1,3 +1,15 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* cub3d_defines.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/15 15:40:25 by rbousset #+# #+# */
+/* Updated: 2020/02/15 15:40:27 by rbousset ### ########lyon.fr */
+/* */
+/* ************************************************************************** */
+
# ifndef CUB3D_DEFINES_H
# define CUB3D_DEFINES_H
@@ -45,6 +57,12 @@
** ====== ERROR MSG ======
*/
+# define FT_ERR_NOT_A_CUB "given map is not a .cub"
+# define FT_ERR_MAP_L_L "last line is invalid or contains illegal char"
+# define FT_ERR_UNFINISHED "unexpected file end"
+# define FT_ERR_READ "read error"
+# define FT_ERR_ILL_ENTRY "illegal map entry"
+# define FT_ERR_ALR_SET "duplicate entry"
# define FT_ERR_MISS_ELEMENT "Missing element:"
# define FT_ERR_MISS_NORTH "north side texture"
# define FT_ERR_MISS_SOUTH "south side texture"