2023-06-29 04:10:08 -04:00
|
|
|
#ifndef RADIO_H
|
|
|
|
#define RADIO_H
|
|
|
|
|
|
|
|
#include "mxcore.h"
|
2023-12-14 18:24:21 -05:00
|
|
|
#include "radiostate.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d6d10
|
2023-10-24 19:38:27 -04:00
|
|
|
class Radio : public MxCore {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-12-14 18:24:21 -05:00
|
|
|
Radio();
|
2023-10-24 19:38:27 -04:00
|
|
|
virtual ~Radio() override;
|
2023-11-04 09:47:35 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1002c8e0
|
2023-11-04 09:47:35 -04:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
2023-12-06 07:10:45 -05:00
|
|
|
// GLOBAL: LEGO1 0x100f328c
|
2023-11-04 09:47:35 -04:00
|
|
|
return "Radio";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1002c8f0
|
2023-12-13 05:48:14 -05:00
|
|
|
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-11-04 09:47:35 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, Radio::ClassName()) || MxCore::IsA(p_name);
|
2023-11-04 09:47:35 -04:00
|
|
|
}
|
2023-12-14 18:24:21 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
RadioState* m_state; // 0x08
|
|
|
|
MxBool m_unk0xc; // 0x0c
|
|
|
|
|
|
|
|
void CreateRadioState();
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // RADIO_H
|