mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-12-21 05:12:32 -05:00
a6cf0b5856
* implement BuildingEntity functions * fix build * Update infocenterentity.h
34 lines
865 B
C++
34 lines
865 B
C++
#ifndef BUILDINGENTITY_H
|
|
#define BUILDINGENTITY_H
|
|
|
|
#include "legoentity.h"
|
|
|
|
// VTABLE: LEGO1 0x100d5c88
|
|
// SIZE <= 0x68, hard to tell because it's always constructed as a derivative
|
|
class BuildingEntity : public LegoEntity {
|
|
public:
|
|
BuildingEntity();
|
|
~BuildingEntity() override; // vtable+0x00
|
|
|
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
|
|
|
// FUNCTION: LEGO1 0x10014f20
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f07e8
|
|
return "BuildingEntity";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10014f30
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, BuildingEntity::ClassName()) || LegoEntity::IsA(p_name);
|
|
}
|
|
|
|
virtual MxLong VTable0x50(MxParam& p_param) = 0;
|
|
|
|
// SYNTHETIC: LEGO1 0x10015010
|
|
// BuildingEntity::`scalar deleting destructor'
|
|
};
|
|
|
|
#endif // BUILDINGENTITY_H
|