aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--inc/cub3d.h1
-rw-r--r--inc/cub3d_defines.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index f851f5e..39df1ea 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -93,6 +93,7 @@ int8_t ft_get_f_color(char **words, t_cub *clist);
int8_t ft_get_f_tex(char **words, t_cub *clist);
int8_t ft_get_c_color(char **words, t_cub *clist);
int8_t ft_get_c_tex(char **words, t_cub *clist);
+int8_t ft_get_darkness(char **words, t_cub *clist);
int8_t ft_get_path_nl(char **words, t_cub *clist);
int8_t ft_get_tex_nl(char **words, t_cub *clist);
int8_t ft_get_music(char **words, t_cub *clist);
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index 71c7baf..01b4ec9 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -138,6 +138,8 @@ enum
# define FT_ERR_ARGS "too many or to few arguments"
# define FT_ERR_RES_SMALL "resolution is too small, 50x50 minimum pls"
# define FT_ERR_RES_ALPHA "resolution should be digits only"
+# define FT_ERR_SH_ALPHA "shadow amount should be digits only"
+# define FT_ERR_SH_RANGE "shadow should be set between 0 - 10"
# 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_NOT_A_WAV "given sound file is not a .wav"