mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 09:54:18 +00:00
Prepare MxMidiPresenter vtable and refactoring (#278)
This commit is contained in:
committed by
GitHub
parent
e86d6f0cc7
commit
c626f18b03
@@ -5,9 +5,10 @@
|
||||
#include "mxmediapresenter.h"
|
||||
|
||||
// VTABLE 0x100d4c70
|
||||
// SIZE 0x54
|
||||
class MxAudioPresenter : public MxMediaPresenter {
|
||||
public:
|
||||
MxAudioPresenter() { m_unk50 = 100; }
|
||||
MxAudioPresenter() { m_volume = 100; }
|
||||
|
||||
// OFFSET: LEGO1 0x1000d280
|
||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||
@@ -22,10 +23,11 @@ public:
|
||||
return !strcmp(name, MxAudioPresenter::ClassName()) || MxMediaPresenter::IsA(name);
|
||||
}
|
||||
|
||||
virtual undefined4 vtable5c();
|
||||
virtual void vtable60(undefined4);
|
||||
virtual MxU32 GetVolume(); // vtable+0x5c
|
||||
virtual void SetVolume(MxU32 p_volume); // vtable+0x60
|
||||
|
||||
undefined4 m_unk50;
|
||||
private:
|
||||
MxU32 m_volume;
|
||||
};
|
||||
|
||||
#endif // MXAUDIOPRESENTER_H
|
||||
|
||||
Reference in New Issue
Block a user