aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--inc/cub3d_defines.h2
-rw-r--r--inc/cub3d_structs.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index e52eb7a..1aa380f 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -93,6 +93,7 @@ enum
# define FT_SFX_SCR_TWO_PATH "./media/sound/sfx/scream_two.wav"
# define FT_SFX_TRAP_PATH "./media/sound/sfx/trap.wav"
# define FT_DEATH_SCREEN_PATH "./media/img/death_screen.xpm"
+# define FT_HUD_BACK_PATH "./media/img/plate_small.xpm"
/*
** ====== SOUNDS ======
@@ -211,6 +212,7 @@ enum
# define FT_ERR_MISS_SFX_SCR_TWO "missing sound effect scream two"
# define FT_ERR_MISS_SFX_TRAP "missing sound effect trap"
# define FT_ERR_MISS_DEATH_SCREEN "missing death screen image"
+# define FT_ERR_MISS_HUD_BACK "missing HUD background image"
/*
** ====== OTHER ======
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 9c61907..a08d7b2 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -250,7 +250,7 @@ typedef struct s_cub
struct s_img death_screen;
struct s_rgb f_rgb;
struct s_rgb c_rgb;
- struct s_img tlist[16];
+ struct s_img tlist[17];
struct s_sprite **sprites;
struct s_sprite traps[512];
struct s_sfx sfx;