isle-portable/LEGO1/legopathcontroller.h
MattKC e16249b672
Define MxLong/MxULong (#71)
* define MxLong/MxULong

The "long" type has different sizes on different platforms, and this may cause issues.

* use DWORD to match RegQueryValueExA arg
2023-07-02 01:05:49 -07:00

31 lines
656 B
C++

#ifndef LEGOPATHCONTROLLER_H
#define LEGOPATHCONTROLLER_H
#include "mxcore.h"
// VTABLE 0x100d7d60
// SIZE 0x40
class LegoPathController : public MxCore
{
public:
LegoPathController();
virtual ~LegoPathController() override;
virtual MxLong Tickle() override; // vtable+08
// OFFSET: LEGO1 0x10045110
inline const char *ClassName() const override // vtable+0xc
{
// 0x100f11b8
return "LegoPathController";
}
// OFFSET: LEGO1 0x10045120
inline MxBool IsA(const char *name) const override // vtable+0x10
{
return !strcmp(name, LegoPathController::ClassName()) || MxCore::IsA(name);
}
};
#endif // LEGOPATHCONTROLLER_H