mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-30 03:26:12 -05:00
34e09c2bb3
* Rename MxMusicPresenter function vtable38 * Rename MxMusicPresenter function vtable38 * MxMediaPresenter, MxMusicManager and MxMusicPresenter * Refactoring Destroy functions * MxMediaManager & MxMusicPresenter * Fix some vtable declarations, more renames * Fix MxEventManager * More rename fixes --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
30 lines
603 B
C++
30 lines
603 B
C++
#ifndef MXAUDIOMANAGER_H
|
|
#define MXAUDIOMANAGER_H
|
|
|
|
#include "decomp.h"
|
|
#include "mxmediamanager.h"
|
|
|
|
// VTABLE 0x100dc6e0
|
|
class MxAudioManager : public MxMediaManager
|
|
{
|
|
public:
|
|
MxAudioManager();
|
|
virtual ~MxAudioManager() override;
|
|
|
|
virtual MxResult InitPresenters() override; // vtable+14
|
|
virtual void Destroy() override; // vtable+18
|
|
virtual MxS32 GetVolume(); // vtable+28
|
|
virtual void SetVolume(MxS32 p_volume); // vtable+2c
|
|
|
|
private:
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
static MxS32 g_unkCount;
|
|
|
|
protected:
|
|
void Init();
|
|
|
|
MxS32 m_volume; // 0x2c
|
|
};
|
|
|
|
#endif // MXAUDIOMANAGER_H
|