From 955f6ae56cdd3b20eabb44e7c9b931bdb17c2b3e Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 7 May 2023 17:09:58 +1000 Subject: Basic music and sound. --- player.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'player.c') diff --git a/player.c b/player.c index 9075048..dbd318d 100644 --- a/player.c +++ b/player.c @@ -6,6 +6,7 @@ #include "game_config.h" #include "input.h" #include "player.h" +#include "sound.h" #include "standard.h" #include "world.h" @@ -132,6 +133,8 @@ void update_player(Player* player, World* world) { 100 ); + play_beep(30, 1000); + player->shoot_countdown = player->shoot_cooldown; } -- cgit v1.2.3-54-g00ecf