mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-12-20 21:02:28 -05:00
49a304d0b9
Some checks are pending
Build / Current ${{ matrix.toolchain.name }} (map[clang-tidy:true d3drm-from-wine:true dx5-libs:false msys-env:mingw-w64-i686 msystem:mingw32 name:msys2 mingw32 shell:msys2 {0} werror:true]) (push) Waiting to run
Build / Current ${{ matrix.toolchain.name }} (map[clang-tidy:true d3drm-from-wine:true dx5-libs:false msys-env:mingw-w64-x86_64 msystem:mingw64 name:msys2 mingw64 shell:msys2 {0} werror:true]) (push) Waiting to run
Build / Current ${{ matrix.toolchain.name }} (map[d3drm-from-wine:false dx5-libs:true name:MSVC (32-bit) setup-cmake:true setup-msvc:true setup-ninja:true shell:sh vc-arch:amd64_x86]) (push) Waiting to run
Build / Current ${{ matrix.toolchain.name }} (map[d3drm-from-wine:true dx5-libs:false name:MSVC (64-bit) setup-cmake:true setup-msvc:true setup-ninja:true shell:sh vc-arch:amd64]) (push) Waiting to run
Format / C++ (push) Waiting to run
Naming / C++ (push) Waiting to run
50 lines
1.2 KiB
C++
50 lines
1.2 KiB
C++
#ifndef LEGOLOADCACHESOUNDPRESENTER_H
|
|
#define LEGOLOADCACHESOUNDPRESENTER_H
|
|
|
|
#include "decomp.h"
|
|
#include "mxwavepresenter.h"
|
|
|
|
class LegoCacheSound;
|
|
|
|
// VTABLE: LEGO1 0x100d5fa8
|
|
// SIZE 0x90
|
|
class LegoLoadCacheSoundPresenter : public MxWavePresenter {
|
|
public:
|
|
LegoLoadCacheSoundPresenter();
|
|
~LegoLoadCacheSoundPresenter() override;
|
|
|
|
// FUNCTION: BETA10 0x1008cf90
|
|
static const char* HandlerClassName()
|
|
{
|
|
// STRING: LEGO1 0x100f05a0
|
|
return "LegoLoadCacheSoundPresenter";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10018450
|
|
// FUNCTION: BETA10 0x1008cf60
|
|
const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
return HandlerClassName();
|
|
}
|
|
|
|
void ReadyTickle() override; // vtable+0x18
|
|
void StreamingTickle() override; // vtable+0x20
|
|
void DoneTickle() override; // vtable+0x2c
|
|
MxResult PutData() override; // vtable+0x4c
|
|
|
|
private:
|
|
void Init();
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
LegoCacheSound* m_cacheSound; // 0x6c
|
|
MxU8* m_data; // 0x70
|
|
MxU8* m_pData; // 0x74
|
|
MxU32 m_dataSize; // 0x78
|
|
MxBool m_unk0x7c; // 0x7c
|
|
WaveFormat m_waveFormat; // 0x7d
|
|
};
|
|
|
|
// SYNTHETIC: LEGO1 0x10018460
|
|
// LegoLoadCacheSoundPresenter::`scalar deleting destructor'
|
|
|
|
#endif // LEGOLOADCACHESOUNDPRESENTER_H
|