isle-portable/LEGO1/lego/legoomni/include/legopathcontroller.h
Christian Semmler 558bda4dd2
Implement LegoWorld::Enable (#516)
* WIP VTable0x68

* Improve match

* Match

* Fix

* Fix

* Move vars

* Match

* Add call to Isle

* Rename functions

* Fix style
2024-02-02 18:18:46 +01:00

37 lines
875 B
C++

#ifndef LEGOPATHCONTROLLER_H
#define LEGOPATHCONTROLLER_H
#include "mxcore.h"
// 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
void Enable(MxBool p_enable);
};
#endif // LEGOPATHCONTROLLER_H