mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
* 100% match most of the remaining methods, only Tickle and FUN_10030630 remain. * The interesting finding is that the curious members of the LegoBuildingManager form a short embedded fixed-length array used to store info about current animation of buildings. * I saw that you removed the SetY which I had added to MxMatrix. Agree that this method doesn't make sense on MxMatrix, however I've added it back to Matrix4. I see the pattern of setting / getting the Y component used in enough places that I doubt they were just hoping they remembered the subscript correctly every time. Let me know if you agree or still don't think it makes sense to include.
77 lines
2.5 KiB
C++
77 lines
2.5 KiB
C++
#ifndef LEGOPATHCONTROLLER_H
|
|
#define LEGOPATHCONTROLLER_H
|
|
|
|
#include "decomp.h"
|
|
#include "mxcore.h"
|
|
#include "mxstl/stlcompat.h"
|
|
|
|
class LegoAnimPresenter;
|
|
class LegoPathActor;
|
|
class LegoPathBoundary;
|
|
class LegoWorld;
|
|
class MxAtomId;
|
|
class Vector3;
|
|
|
|
struct LegoPathControllerComparator {
|
|
MxBool operator()(const undefined*, const undefined*) const { return 0; }
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d7d60
|
|
// SIZE 0x40
|
|
class LegoPathController : public MxCore {
|
|
public:
|
|
LegoPathController();
|
|
~LegoPathController() override { Destroy(); }
|
|
|
|
MxResult Tickle() override; // vtable+08
|
|
|
|
// FUNCTION: LEGO1 0x10045110
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f11b8
|
|
return "LegoPathController";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10045120
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, LegoPathController::ClassName()) || MxCore::IsA(p_name);
|
|
}
|
|
|
|
// SYNTHETIC: LEGO1 0x10045740
|
|
// LegoPathController::`scalar deleting destructor'
|
|
|
|
virtual void VTable0x14(MxU8* p_data, Vector3& p_location, MxAtomId& p_trigger); // vtable+0x14
|
|
virtual void Destroy(); // vtable+0x18
|
|
|
|
MxResult FUN_10045c20(
|
|
LegoPathActor* p_actor,
|
|
const char* p_path,
|
|
MxS32 p_src,
|
|
float p_srcScale,
|
|
MxS32 p_dest,
|
|
float p_destScale
|
|
);
|
|
undefined4 FUN_10046770(LegoPathActor* p_actor);
|
|
void FUN_100468f0(LegoAnimPresenter* p_presenter);
|
|
void FUN_10046930(LegoAnimPresenter* p_presenter);
|
|
MxResult FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value);
|
|
LegoPathBoundary* GetPathBoundary(const char* p_name);
|
|
void Enable(MxBool p_enable);
|
|
void FUN_10046bb0(LegoWorld* p_world);
|
|
|
|
private:
|
|
LegoPathBoundary* m_unk0x08; // 0x08
|
|
undefined4 m_unk0x0c; // 0x0c
|
|
undefined4 m_unk0x10; // 0x10
|
|
undefined4 m_unk0x14; // 0x14
|
|
MxU16 m_numL; // 0x18
|
|
MxU16 m_numE; // 0x1a
|
|
MxU16 m_numN; // 0x1c
|
|
MxU16 m_numT; // 0x1e
|
|
map<undefined*, undefined*, LegoPathControllerComparator> m_pfsE; // 0x20
|
|
map<undefined*, undefined*, LegoPathControllerComparator> m_unk0x30; // 0x30
|
|
};
|
|
|
|
#endif // LEGOPATHCONTROLLER_H
|