aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_defines.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-02-29 00:29:17 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-02-29 00:29:17 +0100
commit4fccd597e3c5c97144e4324c1371db9f7f039967 (patch)
tree25cb40e9a022ca66fa038864b771e6b0fb15fc05 /inc/cub3d_defines.h
parentAll works but one thing is not ok (diff)
download42-cub3d-4fccd597e3c5c97144e4324c1371db9f7f039967.tar.gz
42-cub3d-4fccd597e3c5c97144e4324c1371db9f7f039967.tar.bz2
42-cub3d-4fccd597e3c5c97144e4324c1371db9f7f039967.tar.xz
42-cub3d-4fccd597e3c5c97144e4324c1371db9f7f039967.tar.zst
42-cub3d-4fccd597e3c5c97144e4324c1371db9f7f039967.zip
Works fine, preparing small map
Diffstat (limited to '')
-rw-r--r--inc/cub3d_defines.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index 8b15838..619d0d4 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -101,14 +101,14 @@ enum retvals
# define FT_ERR_ALLOCATE "allocation error"
# define FT_ERR_READ "read error"
-# define FT_ERR_NOT_A_CUB "given map is not a .cub"
# define FT_ERR_ARGS "too many or to few arguments"
# define FT_ERR_RES_SMALL "resolution is too small"
# define FT_ERR_RES_ALPHA "resolution should be digits only"
+# define FT_ERR_NOT_A_CUB "given map is not a .cub"
# define FT_ERR_NOT_A_XPM "given texture is not a .xpm"
# define FT_ERR_COLOR_ALPHA "colors should be digits only"
# define FT_ERR_COLOR_MAX "colors should be maximum 255"
-# define FT_ERR_COLOR_ARGS "colors three numbers separated by commas"
+# define FT_ERR_COLOR_ARGS "colors should be three numbers separated by commas"
# define FT_ERR_UNFINISHED "no map"
# define FT_ERR_MAP_LEN "map length inconsistency"
# define FT_ERR_ILL_ENTRY "illegal map entry"
@@ -122,6 +122,8 @@ enum retvals
# define FT_ERR_RD_EA "could not find east side texture file"
# define FT_ERR_RD_WE "could not find west side texture file"
# define FT_ERR_RD_SP "could not find sprite texture file"
+# define FT_ERR_RD_NL_TEX "could not find next level texture file"
+# define FT_ERR_RD_NL_MAP "could not find next level map file"
/*
** ====== MISSING ERROR MSG ======
@@ -133,6 +135,8 @@ enum retvals
# define FT_ERR_MISS_EAST "east side texture"
# define FT_ERR_MISS_WEST "west side texture"
# define FT_ERR_MISS_SPRITE "sprite texture"
+# define FT_ERR_MISS_NLVL_PATH "next level path"
+# define FT_ERR_MISS_NLVL "next level texture"
# define FT_ERR_MISS_RESOLUTION "resolution"
# define FT_ERR_MISS_FLOOR_C "floor color"
# define FT_ERR_MISS_CEIL_C "ceiling color"