aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_defines.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 17:31:33 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 17:31:33 +0100
commit6f505e5f2144f637a5a73916da3b3b3719751003 (patch)
tree25d529624e4b863ec55dc51ade478ab6d168eed2 /inc/cub3d_defines.h
parentRemoved bloat (diff)
download42-cub3d-6f505e5f2144f637a5a73916da3b3b3719751003.tar.gz
42-cub3d-6f505e5f2144f637a5a73916da3b3b3719751003.tar.bz2
42-cub3d-6f505e5f2144f637a5a73916da3b3b3719751003.tar.xz
42-cub3d-6f505e5f2144f637a5a73916da3b3b3719751003.tar.zst
42-cub3d-6f505e5f2144f637a5a73916da3b3b3719751003.zip
Trying death screen
Diffstat (limited to '')
-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 1e00aa2..5f368f3 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -80,6 +80,17 @@ enum
# endif
/*
+** ====== NEEDED PATHS ======
+*/
+
+# define FT_SFX_DEATH_PATH "./media/sound/sfx/death_screen.wav"
+# define FT_SFX_N_LVL_PATH "./media/sound/sfx/next_lvl.wav"
+# define FT_SFX_SCR_ONE_PATH "./media/sound/sfx/scream_one.wav"
+# 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"
+
+/*
** ====== SOUNDS ======
*/
@@ -88,11 +99,6 @@ enum
# else
# define FT_SND_CMD "/usr/bin/aplay -f cd -t wav -q %s"
# endif
-# define FT_SFX_DEATH_PATH "./media/sound/sfx/death_screen.wav"
-# define FT_SFX_N_LVL_PATH "./media/sound/sfx/next_lvl.wav"
-# define FT_SFX_SCR_ONE_PATH "./media/sound/sfx/scream_one.wav"
-# define FT_SFX_SCR_TWO_PATH "./media/sound/sfx/scream_two.wav"
-# define FT_SFX_TRAP_PATH "./media/sound/sfx/trap.wav"
/*
** ====== MOVE SPEED ======
@@ -200,6 +206,7 @@ enum
# define FT_ERR_MISS_SFX_SCR_ONE "missing sound effect scream one"
# 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"
/*
** ====== OTHER ======