blob: 62d00efd681b9b6fad92231319eb00a7e947d7a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include <heap/seadDisposer.h>
#include "KingSystem/Utils/Types.h"
namespace ksys::snd {
class SoundResource {
SEAD_SINGLETON_DISPOSER(SoundResource)
SoundResource() = default;
virtual ~SoundResource();
public:
void init(sead::Heap* heap, sead::Heap* debug_heap, bool extra_large);
sead::Heap* getSoundDebugHeap() const { return mSoundDebugHeap; }
private:
sead::Heap* mSoundResourceHeap = nullptr;
sead::Heap* _30 = nullptr; // TODO find out what this does
sead::Heap* mSoundDebugHeap = nullptr;
};
KSYS_CHECK_SIZE_NX150(SoundResource, 0x40);
} // namespace ksys::snd
|