mirror of
https://github.com/zeldaret/ss
synced 2026-09-10 20:00:13 -04:00
snd_SoundArchive OK
This commit is contained in:
@@ -180,6 +180,7 @@ namespace nw4r { namespace snd
|
||||
u32 ConvertLabelStringToSoundId(char const *label) const;
|
||||
u32 ConvertLabelStringToPlayerId(const char* pLabel) const;
|
||||
u32 ConvertLabelStringToGroupId(const char* pLabel) const;
|
||||
u32 ConvertLabelStringToBankId(const char* pLabel) const;
|
||||
u32 GetSoundUserParam(u32 id) const;
|
||||
|
||||
bool ReadSoundInfo(u32 soundId, SoundInfo *info) const;
|
||||
@@ -189,6 +190,7 @@ namespace nw4r { namespace snd
|
||||
|
||||
bool ReadPlayerInfo(u32 playerId, PlayerInfo *info) const;
|
||||
bool ReadSoundArchivePlayerInfo(SoundArchivePlayerInfo *info) const;
|
||||
bool detail_ReadSound3DParam(u32 soundId, nw4r::snd::SoundArchive::Sound3DParam*) const;
|
||||
|
||||
bool ReadBankInfo(u32 bankId, BankInfo *info) const;
|
||||
|
||||
|
||||
@@ -323,6 +323,7 @@ namespace nw4r { namespace snd { namespace detail
|
||||
bool ReadBankInfo(u32 bankId, SoundArchive::BankInfo *info) const;
|
||||
|
||||
bool ReadPlayerInfo(u32 playerId, SoundArchive::PlayerInfo *info) const;
|
||||
bool ReadSound3DParam(u32 soundId, nw4r::snd::SoundArchive::Sound3DParam* info) const;
|
||||
|
||||
bool ReadGroupItemInfo(u32 groupId, u32 index,
|
||||
SoundArchive::GroupItemInfo *info) const;
|
||||
@@ -346,6 +347,9 @@ namespace nw4r { namespace snd { namespace detail
|
||||
u32 ConvertLabelStringToGroupId(const char* pLabel) const {
|
||||
return ConvertLabelStringToId(mStringTreeGroup, pLabel);
|
||||
}
|
||||
u32 ConvertLabelStringToBankId(const char* pLabel) const {
|
||||
return ConvertLabelStringToId(mStringTreeBank, pLabel);
|
||||
}
|
||||
|
||||
private:
|
||||
static bool IsValidFileHeader(void const *soundArchiveData);
|
||||
|
||||
Reference in New Issue
Block a user