diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-12-24 11:04:11 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-12-24 11:04:11 +0100 |
| commit | cb9c0f812695da554e1feb5afe71b38324b65103 (patch) | |
| tree | 36fb3d13a9136acbfc63684e1ab750fa0f25709e /include | |
| parent | aa7043faa9ed8ed676603bd1a44388026700b3b1 (diff) | |
new font and audio
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; |
