aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cub3d_defines.h')
-rw-r--r--inc/cub3d_defines.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index 76c0fc5..7b4d1b8 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -232,11 +232,12 @@ enum
# define FT_ERR_RD_TRAP "could not find trap texture file"
# define FT_ERR_WR_BMP "could not export to bmp"
# define FT_ERR_UNDEF_SPRITE "undefined sprite"
+# define FT_ERR_TOO_MUCH_SPRT "too much sprites, limit is 4096"
# define FT_ERR_TOO_MUCH_HEALS "too much heal packs, limit is 64"
# define FT_ERR_TOO_MUCH_TRAPS "too much traps, limit is 512"
-# define FT_ERR_TOO_MUCH_W_ONE "too much weapon one, limit is 1"
-# define FT_ERR_TOO_MUCH_W_TWO "too much weapon two, limit is 1"
-# define FT_ERR_TOO_MUCH_W_THREE "too much weapon three, limit is 1"
+# define FT_ERR_TOO_MUCH_W_ONE "too much weapon one, limit is 4"
+# define FT_ERR_TOO_MUCH_W_TWO "too much weapon two, limit is 4"
+# define FT_ERR_TOO_MUCH_W_THREE "too much weapon three, limit is 4"
/*
** ====== MISSING ERROR MSG ======
@@ -285,10 +286,9 @@ enum
# define FT_ERR_MISS_A_CAPTION "ammo caption"
/*
-** ====== OTHER ======
+** ====== GAMEPLAY ======
*/
-# define FT_PARSE_END_RET 25
# define FT_STRT_LIFE 250
# define FT_TRAP_DAMAGE_AMOUNT 45
# define FT_HEAL_PACK_AMOUNT 20
@@ -298,4 +298,11 @@ enum
# define FT_WEAP_THREE_STRT_AMMO 24
# define FT_WEAP_MAX_AMMO 1000
+/*
+** ====== OTHER ======
+*/
+
+# define FT_PARSE_END_RET 25
+# define FT_TOTAL_SPRT 9
+
# endif