mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 23:48:12 -05:00
e16249b672
* define MxLong/MxULong The "long" type has different sizes on different platforms, and this may cause issues. * use DWORD to match RegQueryValueExA arg
31 lines
695 B
C++
31 lines
695 B
C++
#ifndef LEGOCARBUILD_H
|
|
#define LEGOCARBUILD_H
|
|
|
|
#include "legoworld.h"
|
|
|
|
// VTABLE 0x100d6658
|
|
// SIZE 0x34c
|
|
class LegoCarBuild : public LegoWorld
|
|
{
|
|
public:
|
|
LegoCarBuild();
|
|
virtual ~LegoCarBuild() override;
|
|
|
|
virtual MxLong Notify(MxParam &p) override; // vtable+0x4
|
|
virtual MxLong Tickle() override; // vtable+0x8
|
|
|
|
// OFFSET: LEGO1 0x10022940
|
|
inline virtual const char *ClassName() const override // vtable+0x0c
|
|
{
|
|
// 0x100f0504
|
|
return "LegoCarBuild";
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10022950
|
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(name, LegoCarBuild::ClassName()) || LegoWorld::IsA(name);
|
|
}
|
|
};
|
|
|
|
#endif // LEGOCARBUILD_H
|