2023-06-11 21:03:54 -04:00
|
|
|
#ifndef LEGOWORLD_H
|
|
|
|
#define LEGOWORLD_H
|
|
|
|
|
2023-10-23 07:16:21 -04:00
|
|
|
#include "legocameracontroller.h"
|
2023-10-24 19:38:27 -04:00
|
|
|
#include "legoentity.h"
|
2023-11-19 07:23:30 -05:00
|
|
|
#include "legopathcontrollerlist.h"
|
2023-10-25 16:51:59 -04:00
|
|
|
#include "mxpresenter.h"
|
2023-11-19 07:23:30 -05:00
|
|
|
#include "mxpresenterlist.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-14 11:50:29 -05:00
|
|
|
class IslePathActor;
|
2023-12-16 13:14:01 -05:00
|
|
|
class LegoPathBoundary;
|
2023-12-14 11:50:29 -05:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d6280
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0xf8
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoWorld : public LegoEntity {
|
2023-06-11 21:03:54 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
__declspec(dllexport) LegoWorld();
|
|
|
|
__declspec(dllexport) virtual ~LegoWorld(); // vtable+0x0
|
|
|
|
|
2023-12-13 05:48:14 -05:00
|
|
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
2023-12-14 11:50:29 -05:00
|
|
|
virtual MxResult Tickle() override; // vtable+0x8
|
2023-10-25 16:51:59 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1001d690
|
2023-10-24 19:38:27 -04:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f0058
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoWorld";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1001d6a0
|
2023-12-13 05:48:14 -05:00
|
|
|
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, LegoWorld::ClassName()) || LegoEntity::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
virtual void Stop(); // vtable+50
|
|
|
|
virtual void VTable0x54(); // vtable+54
|
|
|
|
virtual void VTable0x58(MxCore* p_object); // vtable+58
|
|
|
|
virtual MxBool VTable0x5c(); // vtable+5c
|
2023-12-14 11:50:29 -05:00
|
|
|
// FUNCTION: LEGO1 0x100010a0
|
|
|
|
virtual void VTable0x60() {} // vtable+60
|
|
|
|
virtual MxBool VTable0x64(); // vtable+64
|
|
|
|
virtual void VTable0x68(MxBool p_add); // vtable+68
|
|
|
|
|
|
|
|
inline LegoCameraController* GetCamera() { return m_camera; }
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2023-12-29 13:04:18 -05:00
|
|
|
undefined FUN_100220e0();
|
2023-10-24 19:38:27 -04:00
|
|
|
MxResult SetAsCurrentWorld(MxDSObject& p_dsObject);
|
2023-12-15 17:29:32 -05:00
|
|
|
void EndAction(MxCore* p_object);
|
2023-12-14 11:50:29 -05:00
|
|
|
void FUN_1001fc80(IslePathActor* p_actor);
|
|
|
|
MxBool FUN_100727e0(MxU32, Vector3Data& p_loc, Vector3Data& p_dir, Vector3Data& p_up);
|
|
|
|
MxBool FUN_10072980(MxU32, Vector3Data& p_loc, Vector3Data& p_dir, Vector3Data& p_up);
|
|
|
|
void FUN_10073400();
|
|
|
|
void FUN_10073430();
|
2023-12-16 13:14:01 -05:00
|
|
|
MxS32 GetCurrPathInfo(LegoPathBoundary** p_path, MxS32& p_value);
|
2023-10-23 07:16:21 -04:00
|
|
|
|
|
|
|
protected:
|
2023-11-19 07:23:30 -05:00
|
|
|
LegoPathControllerList m_list0x68; // 0x68
|
|
|
|
MxPresenterList m_list0x80; // 0x80
|
|
|
|
LegoCameraController* m_camera; // 0x98
|
2023-12-14 11:50:29 -05:00
|
|
|
undefined m_unk0x9c[0x1c]; // 0x9c
|
|
|
|
MxPresenterList m_list0xb8; // 0xb8
|
2023-12-29 13:04:18 -05:00
|
|
|
undefined m_unk0xd0[0x24]; // 0xd0
|
|
|
|
MxS16 m_unk0xf4; // 0xf4
|
|
|
|
MxBool m_unk0xf6; // 0xf6
|
2023-12-14 11:50:29 -05:00
|
|
|
undefined m_unk0xf7; // 0xf7
|
2023-06-11 21:03:54 -04:00
|
|
|
};
|
|
|
|
|
2023-12-12 14:27:17 -05:00
|
|
|
// 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
|
|
|
|
|
2024-01-06 12:06:50 -05:00
|
|
|
// TEMPLATE: LEGO1 0x10020760
|
|
|
|
// MxListCursor<MxPresenter *>::MxListCursor<MxPresenter *>
|
|
|
|
|
2023-06-11 21:03:54 -04:00
|
|
|
#endif // LEGOWORLD_H
|