2023-06-19 01:36:07 -04:00
|
|
|
#ifndef MXSOUNDMANAGER_H
|
|
|
|
#define MXSOUNDMANAGER_H
|
|
|
|
|
2023-10-05 03:47:37 -04:00
|
|
|
#include "decomp.h"
|
2023-09-19 10:42:39 -04:00
|
|
|
#include "mxaudiomanager.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-10-05 03:47:37 -04:00
|
|
|
#include <dsound.h>
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
// VTABLE 0x100dc128
|
|
|
|
// SIZE 0x3c
|
2023-09-19 10:42:39 -04:00
|
|
|
class MxSoundManager : public MxAudioManager
|
2023-06-19 01:36:07 -04:00
|
|
|
{
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
|
|
|
MxSoundManager();
|
|
|
|
virtual ~MxSoundManager() override; // vtable+0x0
|
|
|
|
|
2023-10-07 13:12:59 -04:00
|
|
|
virtual MxResult StartDirectSound(undefined4 p_unknown1, MxBool p_unknown2); //vtable+0x30
|
|
|
|
virtual void vtable0x34(); // vtable+0x34
|
|
|
|
virtual void vtable0x38(); // vtable+0x38
|
|
|
|
|
2023-07-02 02:53:54 -04:00
|
|
|
private:
|
|
|
|
void Init();
|
2023-10-13 12:43:45 -04:00
|
|
|
void Destroy(MxBool p_fromDestructor);
|
2023-10-05 03:47:37 -04:00
|
|
|
|
|
|
|
undefined4 m_unk30;
|
|
|
|
LPDIRECTSOUNDBUFFER m_dsBuffer; // 0x34
|
|
|
|
undefined m_unk35[4];
|
2023-06-19 01:36:07 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXSOUNDMANAGER_H
|