mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-12-22 05:42:29 -05:00
51adf75b9b
* Use more forward declarations * Use more forward declarations * Add more forward declarations * Fix
37 lines
1 KiB
C++
37 lines
1 KiB
C++
#ifndef LEGOSOUNDMANAGER_H
|
|
#define LEGOSOUNDMANAGER_H
|
|
|
|
#include "mxsoundmanager.h"
|
|
|
|
class LegoCacheSoundManager;
|
|
|
|
// VTABLE: LEGO1 0x100d6b10
|
|
// SIZE 0x44
|
|
class LegoSoundManager : public MxSoundManager {
|
|
public:
|
|
LegoSoundManager();
|
|
~LegoSoundManager() override;
|
|
|
|
MxResult Tickle() override; // vtable+0x08
|
|
void Destroy() override; // vtable+0x18
|
|
MxResult Create(MxU32 p_frequencyMS, MxBool p_createThread) override; // vtable+0x30
|
|
|
|
// SYNTHETIC: LEGO1 0x10029920
|
|
// LegoSoundManager::`scalar deleting destructor'
|
|
|
|
void FUN_1002a410(const float* p_pos, const float* p_dir, const float* p_up, const float* p_vel);
|
|
|
|
inline LegoCacheSoundManager* GetCacheSoundManager() { return m_cacheSoundManager; }
|
|
|
|
private:
|
|
void Init();
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
LPDIRECTSOUND3DLISTENER m_listener; // 0x3c
|
|
LegoCacheSoundManager* m_cacheSoundManager; // 0x40
|
|
};
|
|
|
|
// GLOBAL: LEGO1 0x100db6d0
|
|
// IID_IDirectSound3DListener
|
|
|
|
#endif // LEGOSOUNDMANAGER_H
|