diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-04 16:03:30 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-04 16:03:30 +0100 |
commit | dea9844db4bf893525d692209d004968e4bf89ad (patch) | |
tree | 5a7547d2adddfcd2c1c15a8e1db6c86344b46640 /inc/cub3d_defines.h | |
parent | Init bmp (diff) | |
download | 42-cub3d-dea9844db4bf893525d692209d004968e4bf89ad.tar.gz 42-cub3d-dea9844db4bf893525d692209d004968e4bf89ad.tar.bz2 42-cub3d-dea9844db4bf893525d692209d004968e4bf89ad.tar.xz 42-cub3d-dea9844db4bf893525d692209d004968e4bf89ad.tar.zst 42-cub3d-dea9844db4bf893525d692209d004968e4bf89ad.zip |
Tab
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d_defines.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h index ed57f3e..c0d3355 100644 --- a/inc/cub3d_defines.h +++ b/inc/cub3d_defines.h @@ -20,6 +20,7 @@ enum { FT_RET_FINE, FT_RET_BAD_ARGV, + FT_RET_ALLOC_ERR, FT_RET_FAILED_STRUCTS, FT_RET_FAILED_MLX, FT_RET_MAP_ERR, @@ -112,7 +113,7 @@ enum ** ====== MAP ERROR MSG ====== */ -# define FT_ERR_ALLOCATE "allocation error" +# define FT_ERR_ALLOCATE "Allocation error" # define FT_ERR_READ "read error" # define FT_ERR_ARGS "too many or to few arguments" # define FT_ERR_RES_SMALL "resolution is too small, 50x50 minimum pls" @@ -130,6 +131,7 @@ enum # define FT_ERR_ILL_MAP "map contains illegal char" # define FT_ERR_MULT_SPAWN "multiple spawn points" # define FT_ERR_MULT_NLVL "multiple spawn new level access points" +# define FT_ERR_NO_MAP "No map" # define FT_ERR_MAP_WALLS "bad space or map is not surrounded by walls" # define FT_ERR_MAP_EMPL "empty line in map" # define FT_ERR_MAP_L_L "last line is invalid" |