2023-06-29 04:10:08 -04:00
|
|
|
#ifndef LEGOLOADCACHESOUNDPRESENTER_H
|
|
|
|
#define LEGOLOADCACHESOUNDPRESENTER_H
|
|
|
|
|
2023-12-25 17:46:15 -05:00
|
|
|
#include "decomp.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "mxwavepresenter.h"
|
|
|
|
|
2024-01-21 10:30:19 -05:00
|
|
|
class LegoCacheSound;
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d5fa8
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x90
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoLoadCacheSoundPresenter : public MxWavePresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
LegoLoadCacheSoundPresenter();
|
2024-02-01 15:42:10 -05:00
|
|
|
~LegoLoadCacheSoundPresenter() override;
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: BETA10 0x1008cf90
|
|
|
|
static const char* HandlerClassName()
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f05a0
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoLoadCacheSoundPresenter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: LEGO1 0x10018450
|
|
|
|
// FUNCTION: BETA10 0x1008cf60
|
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
|
|
|
return HandlerClassName();
|
|
|
|
}
|
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
void ReadyTickle() override; // vtable+0x18
|
|
|
|
void StreamingTickle() override; // vtable+0x20
|
|
|
|
void DoneTickle() override; // vtable+0x2c
|
|
|
|
MxResult PutData() override; // vtable+0x4c
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
private:
|
2023-10-24 19:38:27 -04:00
|
|
|
void Init();
|
2023-12-25 17:46:15 -05:00
|
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
|
2024-06-16 09:26:04 -04:00
|
|
|
LegoCacheSound* m_cacheSound; // 0x6c
|
|
|
|
MxU8* m_data; // 0x70
|
|
|
|
MxU8* m_pData; // 0x74
|
|
|
|
MxU32 m_dataSize; // 0x78
|
|
|
|
MxBool m_unk0x7c; // 0x7c
|
|
|
|
WaveFormat m_waveFormat; // 0x7d
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2023-12-25 17:46:15 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x10018460
|
|
|
|
// LegoLoadCacheSoundPresenter::`scalar deleting destructor'
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
#endif // LEGOLOADCACHESOUNDPRESENTER_H
|