diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-10-29 08:26:31 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-10-29 08:26:31 +0100 |
| commit | d2c3f612b3d7b0071e98e589777d495ba45eafe4 (patch) | |
| tree | e3084f2ac5ea942c41cb2878263a397b1eaa1b56 /include | |
| parent | f2522c04446bb4bd597a8625f9398e67ff957565 (diff) | |
more sounds
Diffstat (limited to 'include')
| -rw-r--r-- | include/asset_defs.h | 3 | ||||
| -rw-r--r-- | include/audio.h | 3 | ||||
| -rw-r--r-- | include/game.h | 1 |
3 files changed, 7 insertions, 0 deletions
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 <projectbase/project_base.h> +#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; |
