isle/LEGO1/lego/legoomni/include/legopathcontroller.h
Christian Semmler 434deecee4
Implement/match remaining LegoWorld functions (#526)
* Implement/match remaining LegoWorld functions

* Move functions

* Move function

* Fix function location

* Fix function return type
2024-02-04 18:33:37 +01:00

43 lines
1 KiB
C++

#ifndef LEGOPATHCONTROLLER_H
#define LEGOPATHCONTROLLER_H
#include "decomp.h"
#include "mxcore.h"
class IslePathActor;
class LegoPathBoundary;
// VTABLE: LEGO1 0x100d7d60
// SIZE 0x40
class LegoPathController : public MxCore {
public:
LegoPathController();
~LegoPathController() override { Destroy(); }
MxResult Tickle() override; // vtable+08
// FUNCTION: LEGO1 0x10045110
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f11b8
return "LegoPathController";
}
// FUNCTION: LEGO1 0x10045120
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, LegoPathController::ClassName()) || MxCore::IsA(p_name);
}
// SYNTHETIC: LEGO1 0x10045740
// LegoPathController::`scalar deleting destructor'
virtual void VTable0x14(); // vtable+0x14
virtual void Destroy(); // vtable+0x18
undefined4 FUN_10046770(IslePathActor* p_actor);
MxResult FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value);
void Enable(MxBool p_enable);
};
#endif // LEGOPATHCONTROLLER_H