aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_defines.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-12 23:47:37 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-12 23:47:37 +0100
commita2f0bde9da402ddfd47ec54d42b83585c3296ebf (patch)
treeff99c82f9a31064617953607eacd56fd1a862827 /inc/cub3d_defines.h
parentSecured traps (diff)
download42-cub3d-a2f0bde9da402ddfd47ec54d42b83585c3296ebf.tar.gz
42-cub3d-a2f0bde9da402ddfd47ec54d42b83585c3296ebf.tar.bz2
42-cub3d-a2f0bde9da402ddfd47ec54d42b83585c3296ebf.tar.xz
42-cub3d-a2f0bde9da402ddfd47ec54d42b83585c3296ebf.tar.zst
42-cub3d-a2f0bde9da402ddfd47ec54d42b83585c3296ebf.zip
Secured parsing
Diffstat (limited to 'inc/cub3d_defines.h')
-rw-r--r--inc/cub3d_defines.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index 12c8580..2fbd325 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -26,7 +26,8 @@ enum
FT_RET_MAP_ERR,
FT_RET_NO_MAP,
FT_RET_READ_ERR,
- FT_RET_BMP_ERR
+ FT_RET_BMP_ERR,
+ FT_ERR_MISSING
} retvals;
/*
@@ -116,8 +117,9 @@ enum
# define FT_CHRST_VALID_PARSE "RNSEWFCLMT"
# define FT_CHRST_MAP_ENTRY "0123456789NSEWLT "
+# define FT_CHRST_SPRITES "23456789"
# define FT_CHRST_SPAWN "NSEW"
-# define FT_CHRST_MAP_NON_WALL "02NESWLT"
+# define FT_CHRST_MAP_NON_WALL "023456789NESWLT"
# define FT_CHRST_COLLISION "123456789 "
# define FT_CHRST_DETECT "1L"