isle-portable/LEGO1/legosoundmanager.h
Misha 50fe5f9c83
implement LegoSoundManager vtable (#231)
* LegoSoundManager

* Fix virtual function declarations/locations

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-22 15:48:20 +02:00

26 lines
575 B
C++

#ifndef LEGOSOUNDMANAGER_H
#define LEGOSOUNDMANAGER_H
#include "mxsoundmanager.h"
// VTABLE 0x100d6b10
// SIZE 0x44
class LegoSoundManager : public MxSoundManager
{
public:
LegoSoundManager();
virtual ~LegoSoundManager() override;
virtual MxResult Tickle() override; // vtable+08
virtual void Destroy() override; // vtable+18
virtual MxResult Create(MxU32 p_frequencyMS, MxBool p_createThread) override; //vtable+0x30
private:
void Init();
void Destroy(MxBool p_fromDestructor);
undefined4 unk0x3c;
undefined4 unk0x40;
};
#endif // LEGOSOUNDMANAGER_H