This commit is contained in:
Misha 2024-01-08 18:23:25 -05:00
parent 384f4adddb
commit d9855047de
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8
3 changed files with 18 additions and 18 deletions

View File

@ -11,7 +11,7 @@ class LegoNavController;
// //
// LegoMouseController // LegoMouseController
// VTABLE: LEGO1 0x10065550 // VTABLE: LEGO1 0x100d8dd8
class LegoMouseController : public MxCore { class LegoMouseController : public MxCore {
public: public:
LegoMouseController(); LegoMouseController();
@ -75,15 +75,15 @@ class LegoPointOfViewController : public LegoMouseController {
LegoMouseController::RightUp(x, y); LegoMouseController::RightUp(x, y);
AffectPointOfView(); AffectPointOfView();
} }
override; // vtable+0x28 override; // vtable+0x28
virtual void SetEntity(LegoEntity* p_entity); // vtable+0x2c virtual void SetEntity(LegoEntity* p_entity); // vtable+0x2c
LegoEntity* GetEntity() { return m_entity; } LegoEntity* GetEntity() { return m_entity; }
protected: protected:
void AffectPointOfView(); void AffectPointOfView();
Lego3DView* m_lego3DView; // 0x20 Lego3DView* m_lego3DView; // 0x20
LegoEntity* m_entity; // 0x24 LegoEntity* m_entity; // 0x24
double m_entityOffsetUp; // 0x28 double m_entityOffsetUp; // 0x28
LegoNavController* m_nav; // 0x30 LegoNavController* m_nav; // 0x30
}; };
#endif /* LEGOPOINTOFVIEWCONTROLLER_H */ #endif /* LEGOPOINTOFVIEWCONTROLLER_H */

View File

@ -29,6 +29,13 @@ MxResult LegoCameraController::Initialize()
return LegoPointOfViewController::Create(VideoManager()->Get3DManager()->GetLego3DView()); return LegoPointOfViewController::Create(VideoManager()->Get3DManager()->GetLego3DView());
} }
// STUB: LEGO1 0x10012020
MxLong LegoCameraController::Notify(MxParam& p_param)
{
// TODO
return 0;
}
// FUNCTION: LEGO1 0x10012260 // FUNCTION: LEGO1 0x10012260
void LegoCameraController::LookAt(Vector3Impl& p_at, Vector3Impl& p_dir, Vector3Impl& p_up) void LegoCameraController::LookAt(Vector3Impl& p_at, Vector3Impl& p_dir, Vector3Impl& p_up)
{ {
@ -65,13 +72,6 @@ Vector3Data& LegoCameraController::FUN_100128a0()
return g_v; return g_v;
} }
// STUB: LEGO1 0x10012020
MxLong LegoCameraController::Notify(MxParam& p_param)
{
// TODO
return 0;
}
// FUNCTION: LEGO1 0x100121b0 // FUNCTION: LEGO1 0x100121b0
void LegoCameraController::OnLButtonDown(MxPoint32 p_point) void LegoCameraController::OnLButtonDown(MxPoint32 p_point)
{ {

View File

@ -116,15 +116,15 @@ void LegoPointOfViewController::AffectPointOfView()
// TODO // TODO
} }
// STUB: LEGO1 0x10065ae0
void LegoPointOfViewController::SetEntity(LegoEntity* p_entity)
{
// TODO
}
// STUB: LEGO1 0x10065930 // STUB: LEGO1 0x10065930
MxResult LegoPointOfViewController::Tickle() MxResult LegoPointOfViewController::Tickle()
{ {
// TODO // TODO
return SUCCESS; return SUCCESS;
} }
// STUB: LEGO1 0x10065ae0
void LegoPointOfViewController::SetEntity(LegoEntity* p_entity)
{
// TODO
}