From d2c3f612b3d7b0071e98e589777d495ba45eafe4 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 29 Oct 2023 08:26:31 +0100 Subject: more sounds --- include/asset_defs.h | 3 +++ include/audio.h | 3 +++ include/game.h | 1 + 3 files changed, 7 insertions(+) (limited to 'include') diff --git a/include/asset_defs.h b/include/asset_defs.h index acca89e..7237a6d 100644 --- a/include/asset_defs.h +++ b/include/asset_defs.h @@ -42,6 +42,9 @@ Mix_Chunk* wav_throwable_bounce; Mix_Chunk* wav_shoot_mp5; Mix_Chunk* wav_reload_mp5; +Mix_Chunk* wav_shoot_nova; +Mix_Chunk* wav_reload_nova; + Mix_Chunk* wav_impact_zombie; Mix_Chunk* wav_impact_wood; Mix_Chunk* wav_error; diff --git a/include/audio.h b/include/audio.h index 38543dd..c7cb9c7 100644 --- a/include/audio.h +++ b/include/audio.h @@ -3,9 +3,12 @@ #include +#define NUMBER_OF_AUDIO_CHANNELS 64 + #define CHANNEL_THROWABLES 0 #define CHANNEL_SHOOTING 1 #define CHANNEL_IMPACT 2 +#define CHANNEL_RELOAD 3 typedef enum t_audio_event_type { EVENT_SHOOT, diff --git a/include/game.h b/include/game.h index f2fd0cb..03fbf11 100644 --- a/include/game.h +++ b/include/game.h @@ -14,6 +14,7 @@ typedef enum t_game_state { GAMESTATE_IDLE, GAMESTATE_LOADING_MAP, + GAMESTATE_LOADING_ASSETS, GAMESTATE_PLAYING, } game_state; -- cgit v1.2.3-70-g09d2