2024-05-30 10:27:18 -04:00
|
|
|
#ifndef LEGO3DSOUND_H
|
|
|
|
#define LEGO3DSOUND_H
|
2024-02-13 18:34:14 -05:00
|
|
|
|
|
|
|
#include "decomp.h"
|
|
|
|
#include "mxtypes.h"
|
|
|
|
|
|
|
|
#include <dsound.h>
|
|
|
|
|
2024-05-03 12:19:12 -04:00
|
|
|
class LegoROI;
|
|
|
|
|
2024-02-13 18:34:14 -05:00
|
|
|
// VTABLE: LEGO1 0x100d5778
|
|
|
|
// SIZE 0x30
|
2024-05-30 10:27:18 -04:00
|
|
|
class Lego3DSound {
|
2024-02-13 18:34:14 -05:00
|
|
|
public:
|
2024-05-30 10:27:18 -04:00
|
|
|
Lego3DSound();
|
|
|
|
virtual ~Lego3DSound();
|
2024-02-13 18:34:14 -05:00
|
|
|
|
|
|
|
void Init();
|
2024-05-30 10:27:18 -04:00
|
|
|
MxResult Create(LPDIRECTSOUNDBUFFER p_directSoundBuffer, const char*, MxS32 p_volume);
|
2024-02-13 18:34:14 -05:00
|
|
|
void Destroy();
|
2024-05-30 10:27:18 -04:00
|
|
|
undefined4 FUN_100118e0(LPDIRECTSOUNDBUFFER p_directSoundBuffer);
|
2024-02-13 18:34:14 -05:00
|
|
|
void FUN_10011ca0();
|
2024-05-09 09:57:38 -04:00
|
|
|
MxS32 FUN_10011cf0(undefined4, undefined4);
|
2024-02-13 18:34:14 -05:00
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x10011650
|
2024-05-30 10:27:18 -04:00
|
|
|
// Lego3DSound::`scalar deleting destructor'
|
2024-02-13 18:34:14 -05:00
|
|
|
|
|
|
|
private:
|
2024-04-06 11:46:40 -04:00
|
|
|
undefined m_unk0x04[4]; // 0x04
|
2024-02-13 18:34:14 -05:00
|
|
|
LPDIRECTSOUNDBUFFER m_dsBuffer; // 0x08
|
2024-04-06 11:46:40 -04:00
|
|
|
LegoROI* m_unk0x0c; // 0x0c
|
2024-02-13 18:34:14 -05:00
|
|
|
undefined4 m_unk0x10; // 0x10
|
|
|
|
MxBool m_unk0x14; // 0x14
|
|
|
|
MxBool m_unk0x15; // 0x15
|
|
|
|
undefined4 m_unk0x18; // 0x18
|
|
|
|
undefined m_unk0x1c[0x10]; // 0x1c
|
2024-05-30 10:27:18 -04:00
|
|
|
MxS32 m_volume; // 0x2c
|
2024-02-13 18:34:14 -05:00
|
|
|
};
|
|
|
|
|
2024-05-30 10:27:18 -04:00
|
|
|
#endif // LEGO3DSOUND_H
|