diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asset_defs.h | 4 | ||||
| -rw-r--r-- | include/audio.h | 2 | ||||
| -rw-r--r-- | include/players.h | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/include/asset_defs.h b/include/asset_defs.h index 002ad23..9cfc48b 100644 --- a/include/asset_defs.h +++ b/include/asset_defs.h @@ -69,7 +69,9 @@ Mix_Chunk* wav_impact_wood; Mix_Chunk* wav_error; Mix_Chunk* wav_collect; -Mix_Chunk* round_change; +Mix_Chunk* wav_character; +Mix_Chunk* wav_round_change; +Mix_Chunk* wav_step; void load_assets(); diff --git a/include/audio.h b/include/audio.h index d9343e5..b2bdf1b 100644 --- a/include/audio.h +++ b/include/audio.h @@ -23,6 +23,8 @@ typedef enum t_audio_event_type { EVENT_COLLECT, EVENT_FIRE, EVENT_ROUND_CHANGE, + EVENT_CHARACTER_TYPE, + EVENT_FOOTSTEP, } audio_event_type; typedef struct t_audio_event { diff --git a/include/players.h b/include/players.h index a41b246..dc74a26 100644 --- a/include/players.h +++ b/include/players.h @@ -53,6 +53,7 @@ typedef struct t_player { float dirx; float diry; float gun_height; + float sec_since_last_step; player_direction direction; int total_ammo; int ammo_in_mag; |
