isle/LEGO1/legopathpresenter.h
MS bcb7bec68b
Improve handling of variables for decomp parser (#376)
* Parser refactor:
- Handling LIRBARY and STRING markers
- Extracting global variable name for future comparison
- Marking function static variables
- More fluent error messages

* String constants annotated with STRING

* fix variable name

* Should compare LIBRARY markers
2023-12-27 15:59:42 -05:00

39 lines
940 B
C++

#ifndef LEGOPATHPRESENTER_H
#define LEGOPATHPRESENTER_H
#include "mxmediapresenter.h"
// VTABLE: LEGO1 0x100d7c10
// SIZE 0x54
class LegoPathPresenter : public MxMediaPresenter {
public:
LegoPathPresenter();
// FUNCTION: LEGO1 0x100449a0
inline const char* ClassName() const override // vtable+0xc
{
// STRING: LEGO1 0x100f0690
return "LegoPathPresenter";
}
// FUNCTION: LEGO1 0x100449b0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, LegoPathPresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
}
virtual void RepeatingTickle() override; // vtable+0x24
virtual void ParseExtra() override; // vtable+0x30
virtual MxResult AddToManager() override; // vtable+0x34
virtual void Destroy() override; // vtable+0x38
private:
void Init();
protected:
void Destroy(MxBool p_fromDestructor);
MxAtomId m_atomId; // 0x50
};
#endif // LEGOPATHPRESENTER_H