mirror of
https://github.com/isledecomp/isle.git
synced 2024-12-22 05:52:41 -05:00
909c44b679
* Add vtable comparison to reccmp * Add missing scalar deleting destructors * Fix some vtables --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
103 lines
3.5 KiB
C++
103 lines
3.5 KiB
C++
#ifndef LEGOWORLD_H
|
|
#define LEGOWORLD_H
|
|
|
|
#include "legocameracontroller.h"
|
|
#include "legoentity.h"
|
|
#include "legoentitylist.h"
|
|
#include "legopathcontrollerlist.h"
|
|
#include "mxcorelist.h"
|
|
#include "mxpresenter.h"
|
|
#include "mxpresenterlist.h"
|
|
|
|
class IslePathActor;
|
|
class LegoPathBoundary;
|
|
|
|
// VTABLE: LEGO1 0x100d6280
|
|
// SIZE 0xf8
|
|
class LegoWorld : public LegoEntity {
|
|
public:
|
|
__declspec(dllexport) LegoWorld();
|
|
__declspec(dllexport) virtual ~LegoWorld(); // vtable+0x0
|
|
|
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
|
virtual MxResult Tickle() override; // vtable+0x8
|
|
|
|
// FUNCTION: LEGO1 0x1001d690
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f0058
|
|
return "LegoWorld";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1001d6a0
|
|
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, LegoWorld::ClassName()) || LegoEntity::IsA(p_name);
|
|
}
|
|
|
|
virtual MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
|
virtual void VTable0x50(); // vtable+0x50
|
|
virtual LegoCameraController* VTable0x54(); // vtable+0x54
|
|
virtual void VTable0x58(MxCore* p_object); // vtable+0x58
|
|
virtual MxBool VTable0x5c(); // vtable+0x5c
|
|
|
|
// FUNCTION: LEGO1 0x100010a0
|
|
virtual void VTable0x60() {} // vtable+0x60
|
|
|
|
virtual MxBool VTable0x64(); // vtable+0x64
|
|
virtual void VTable0x68(MxBool p_add); // vtable+0x68
|
|
|
|
inline LegoCameraController* GetCamera() { return m_cameraController; }
|
|
inline undefined4 GetUnknown0xec() { return m_unk0xec; }
|
|
|
|
undefined FUN_100220e0();
|
|
void EndAction(MxCore* p_object);
|
|
void FUN_1001fc80(IslePathActor* p_actor);
|
|
MxBool FUN_100727e0(MxU32, Mx3DPointFloat& p_loc, Mx3DPointFloat& p_dir, Mx3DPointFloat& p_up);
|
|
MxBool FUN_10072980(MxU32, Mx3DPointFloat& p_loc, Mx3DPointFloat& p_dir, Mx3DPointFloat& p_up);
|
|
void FUN_10073400();
|
|
void FUN_10073430();
|
|
MxS32 GetCurrPathInfo(LegoPathBoundary** p_path, MxS32& p_value);
|
|
MxPresenter* FindPresenter(const char* p_presenter, const char* p_name);
|
|
|
|
// SYNTHETIC: LEGO1 0x1001dee0
|
|
// LegoWorld::`scalar deleting destructor'
|
|
|
|
protected:
|
|
LegoPathControllerList m_list0x68; // 0x68
|
|
MxPresenterList m_list0x80; // 0x80
|
|
LegoCameraController* m_cameraController; // 0x98
|
|
LegoEntityList* m_entityList; // 0x9c
|
|
MxCoreList* m_coreList; // 0xa0
|
|
undefined m_unk0xa4[0x14]; // 0xa4
|
|
MxPresenterList m_list0xb8; // 0xb8
|
|
undefined m_unk0xd0[0x1c]; // 0xd0
|
|
undefined4 m_unk0xec; // 0xec
|
|
undefined4 m_unk0xf0; // 0xf0
|
|
MxS16 m_unk0xf4; // 0xf4
|
|
MxBool m_worldStarted; // 0xf6
|
|
undefined m_unk0xf7; // 0xf7
|
|
};
|
|
|
|
// SYNTHETIC: LEGO1 0x1001eed0
|
|
// MxPresenterListCursor::`scalar deleting destructor'
|
|
|
|
// TEMPLATE: LEGO1 0x1001ef40
|
|
// MxPtrListCursor<MxPresenter>::~MxPtrListCursor<MxPresenter>
|
|
|
|
// SYNTHETIC: LEGO1 0x1001ef90
|
|
// MxListCursor<MxPresenter *>::`scalar deleting destructor'
|
|
|
|
// SYNTHETIC: LEGO1 0x1001f000
|
|
// MxPtrListCursor<MxPresenter>::`scalar deleting destructor'
|
|
|
|
// TEMPLATE: LEGO1 0x1001f070
|
|
// MxListCursor<MxPresenter *>::~MxListCursor<MxPresenter *>
|
|
|
|
// FUNCTION: LEGO1 0x1001f0c0
|
|
// MxPresenterListCursor::~MxPresenterListCursor
|
|
|
|
// TEMPLATE: LEGO1 0x10020760
|
|
// MxListCursor<MxPresenter *>::MxListCursor<MxPresenter *>
|
|
|
|
#endif // LEGOWORLD_H
|