mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-29 19:05:34 -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
36 lines
1,015 B
C++
36 lines
1,015 B
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 UpdateListener(const float* p_position, const float* p_direction, const float* p_up, const float* p_velocity);
|
|
|
|
LegoCacheSoundManager* GetCacheSoundManager() { return m_cacheSoundManager; }
|
|
|
|
private:
|
|
void Init();
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
LegoCacheSoundManager* m_cacheSoundManager; // 0x40
|
|
};
|
|
|
|
// GLOBAL: LEGO1 0x100db6d0
|
|
// IID_IDirectSound3DListener
|
|
|
|
#endif // LEGOSOUNDMANAGER_H
|