mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 01:14:19 +00:00
Implement/match Radio, RadioState (#509)
* WIP RadioState * WIP * WIP * Implement/match Radio/RadioState * Fix naming * Use sizeof
This commit is contained in:
committed by
GitHub
parent
743e042564
commit
cdf76754f7
@@ -1,10 +1,13 @@
|
||||
#ifndef RADIO_H
|
||||
#define RADIO_H
|
||||
|
||||
#include "legocontrolmanager.h"
|
||||
#include "mxactionnotificationparam.h"
|
||||
#include "mxcore.h"
|
||||
#include "radiostate.h"
|
||||
|
||||
// VTABLE: LEGO1 0x100d6d10
|
||||
// SIZE 0x10
|
||||
class Radio : public MxCore {
|
||||
public:
|
||||
Radio();
|
||||
@@ -31,10 +34,15 @@ public:
|
||||
// Radio::`scalar deleting destructor'
|
||||
|
||||
private:
|
||||
RadioState* m_state; // 0x08
|
||||
MxBool m_unk0x0c; // 0x0c
|
||||
RadioState* m_state; // 0x08
|
||||
MxBool m_unk0x0c; // 0x0c
|
||||
MxBool m_bgAudioPreviouslyEnabled; // 0x0d
|
||||
|
||||
void CreateRadioState();
|
||||
void Play();
|
||||
void Stop();
|
||||
MxLong HandleEndAction(MxEndActionNotificationParam& p_param);
|
||||
MxLong HandleNotification17(LegoControlManagerEvent& p_param);
|
||||
};
|
||||
|
||||
#endif // RADIO_H
|
||||
|
||||
Reference in New Issue
Block a user