2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-07-24 22:51:15 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "Runtime/CFactoryMgr.hpp"
|
|
|
|
#include "Runtime/CToken.hpp"
|
2022-02-19 13:04:45 +00:00
|
|
|
#include "Runtime/Streams/IOStreams.hpp"
|
2019-09-28 02:53:03 +00:00
|
|
|
#include "Runtime/IObj.hpp"
|
|
|
|
#include "Runtime/RetroTypes.hpp"
|
|
|
|
|
2023-10-22 16:21:20 +00:00
|
|
|
//#include <amuse/AudioGroupData.hpp>
|
2016-07-24 22:51:15 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2018-12-08 05:30:43 +00:00
|
|
|
|
|
|
|
class CAudioGroupSet {
|
|
|
|
std::unique_ptr<u8[]> m_buffer;
|
|
|
|
std::string x10_baseName;
|
|
|
|
std::string x20_name;
|
2023-10-22 16:21:20 +00:00
|
|
|
// amuse::AudioGroupData m_data;
|
|
|
|
// amuse::AudioGroupData LoadData();
|
2016-07-24 22:51:15 +00:00
|
|
|
|
|
|
|
public:
|
2020-03-31 03:52:22 +00:00
|
|
|
explicit CAudioGroupSet(std::unique_ptr<u8[]>&& in);
|
2023-10-22 16:21:20 +00:00
|
|
|
//const amuse::AudioGroupData& GetAudioGroupData() const { return m_data; }
|
2018-12-08 05:30:43 +00:00
|
|
|
std::string_view GetName() const { return x20_name; }
|
2016-07-24 22:51:15 +00:00
|
|
|
};
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
CFactoryFnReturn FAudioGroupSetDataFactory(const metaforce::SObjectTag& tag, std::unique_ptr<u8[]>&& in, u32 len,
|
|
|
|
const metaforce::CVParamTransfer& vparms, CObjectReference* selfRef);
|
2016-07-24 22:51:15 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|