mirror of
https://github.com/isledecomp/isle.git
synced 2024-12-22 05:52:41 -05:00
f50b771fff
* Push changes * fixes * Implement Infocenter::HandleEndAction * match Infocenter::StopCutScene * implement Infocenter::HandleKeyPress * fixes * Update infocenter.cpp * Update legoworld.cpp * use enums * WIP Fixes * Fix * Fix * Fix * Rename function * Change enum * Update enums * Refactor another enum * Refactor MxDSType * Refactor HashTableOpt * Fixes * Refactor tickle enum * Update other enums * Add EnumConstantName to ncc * Move enum to global namespace * Rename enum --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
43 lines
1.4 KiB
C++
43 lines
1.4 KiB
C++
#ifndef LEGOACTIONCONTROLPRESENTER_H
|
|
#define LEGOACTIONCONTROLPRESENTER_H
|
|
|
|
#include "decomp.h"
|
|
#include "legoutil.h"
|
|
#include "mxmediapresenter.h"
|
|
|
|
// VTABLE: LEGO1 0x100d5118
|
|
// SIZE 0x68
|
|
class LegoActionControlPresenter : public MxMediaPresenter {
|
|
public:
|
|
inline LegoActionControlPresenter() { m_unk0x50 = Extra::ActionType::e_none; }
|
|
virtual ~LegoActionControlPresenter() override { Destroy(TRUE); }; // vtable+0x00
|
|
|
|
// FUNCTION: LEGO1 0x1000d0e0
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f05bc
|
|
return "LegoActionControlPresenter";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1000d0f0
|
|
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, LegoActionControlPresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
|
}
|
|
|
|
virtual void ReadyTickle() override; // vtable+0x18
|
|
virtual void RepeatingTickle() override; // vtable+0x24
|
|
virtual void ParseExtra() override; // vtable+0x30
|
|
virtual MxResult AddToManager() override; // vtable+0x34
|
|
virtual void Destroy(MxBool p_fromDestructor); // vtable+0x5c
|
|
|
|
private:
|
|
Extra::ActionType m_unk0x50; // 0x50
|
|
MxString m_unk0x54; // 0x54
|
|
undefined4 m_unk0x64; // 0x64
|
|
};
|
|
|
|
// SYNTHETIC: LEGO1 0x1000d1d0
|
|
// LegoActionControlPresenter::`scalar deleting destructor'
|
|
|
|
#endif // LEGOACTIONCONTROLPRESENTER_H
|