Merge remote-tracking branch 'origin/audio'
This commit is contained in:
@@ -716,3 +716,10 @@ 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user