Pulsar  3d3a057
player_load_lookup.h
Go to the documentation of this file.
1 /**
2  * @file
3  * @brief Player sound archive lookup and loading
4  */
5 #pragma once
6 
7 #include <pulsar/player/player.h>
8 #include <pulsar/bfsar/bfsar.h>
10 
11 /// Search sound archive string table for a sound with the specified name and load it
12 PLSR_RC plsrPlayerLoadSoundByName(const PLSR_BFSAR* bfsar, const char* name, PLSR_PlayerSoundId* out);
13 
14 /// Find and load a sound from a sound archive with the specified item ID
Sound archive file.
Definition: bfsar.h:34
Player init.
PLSR_RC plsrPlayerLoadSoundByName(const PLSR_BFSAR *bfsar, const char *name, PLSR_PlayerSoundId *out)
Search sound archive string table for a sound with the specified name and load it.
Sound archive init.
Sound archive item id types.
PLSR_RC plsrPlayerLoadSoundByItemId(const PLSR_BFSAR *bfsar, PLSR_BFSARItemId itemId, PLSR_PlayerSoundId *out)
Find and load a sound from a sound archive with the specified item ID.
Id for one item/resource contained in the sound archive.
Definition: bfsar_item.h:34
u32 PLSR_RC
Result code returned by Pulsar functions.
Definition: types.h:73
Player sound.
Definition: player.h:39