fp: Use tely audio for queueing sounds

This commit is contained in:
2023-09-30 20:14:42 +10:00
parent 7e9ad29be3
commit fe06bdfe19
4 changed files with 6 additions and 34 deletions
-8
View File
@@ -715,11 +715,3 @@ FP_GameFindClosestEntityResult FP_Game_FindClosestEntityWithType(FP_Game *game,
return result;
}
static void FP_EnqueueSound(FP_Game *game, TELY_AssetAudioHandle audio_handle, Dqn_f32 volume)
{
DQN_ASSERT(game->sound_command_count < MAX_SOUNDS);
FP_SoundCommand *sound_command = &game->sound_commands[game->sound_command_count++];
sound_command->audio_handle = audio_handle;
sound_command->volume = volume;
}