2023-06-29 04:10:08 -04:00
|
|
|
#ifndef LEGOCAMERACONTROLLER_H
|
|
|
|
#define LEGOCAMERACONTROLLER_H
|
|
|
|
|
2024-01-09 04:43:21 -05:00
|
|
|
#include "legopointofviewcontroller.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "mxcore.h"
|
2024-01-12 19:34:38 -05:00
|
|
|
#include "mxgeometry/mxgeometry3d.h"
|
|
|
|
#include "mxgeometry/mxmatrix.h"
|
2024-01-09 04:43:21 -05:00
|
|
|
#include "mxpoint32.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d57b0
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0xc8
|
2024-01-09 04:43:21 -05:00
|
|
|
class LegoCameraController : public LegoPointOfViewController {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
LegoCameraController();
|
|
|
|
virtual ~LegoCameraController() override; // vtable+0x0
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-01-09 04:43:21 -05:00
|
|
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+04
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10011ec0
|
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 0x100f0850
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoCameraController";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10011ed0
|
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, ClassName()) || MxCore::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-12-14 11:50:29 -05:00
|
|
|
|
2024-01-10 17:34:32 -05:00
|
|
|
virtual void OnLButtonDown(MxPoint32 p_point); // vtable+0x30
|
|
|
|
virtual void OnLButtonUp(MxPoint32 p_point); // vtable+0x34
|
|
|
|
virtual void OnRButtonDown(MxPoint32 p_point); // vtable+0x38
|
|
|
|
virtual void OnRButtonUp(MxPoint32 p_point); // vtable+0x3c
|
|
|
|
virtual void OnMouseMove(MxU8 p_modifier, MxPoint32 p_point); // vtable+0x40
|
|
|
|
virtual MxResult Create(); // vtable+0x44
|
|
|
|
|
2024-01-12 19:34:38 -05:00
|
|
|
void SetWorldTransform(const Vector3& p_at, const Vector3& p_dir, const Vector3& p_up);
|
2024-01-16 14:33:03 -05:00
|
|
|
void FUN_100123e0(const MxMatrix& p_transform, MxU32);
|
2024-01-12 19:34:38 -05:00
|
|
|
Mx3DPointFloat GetWorldUp();
|
|
|
|
Mx3DPointFloat GetWorldLocation();
|
|
|
|
Mx3DPointFloat GetWorldDirection();
|
2024-01-09 04:43:21 -05:00
|
|
|
|
|
|
|
private:
|
2024-01-12 19:34:38 -05:00
|
|
|
MxMatrix m_matrix1; // 0x38
|
|
|
|
MxMatrix m_matrix2; // 0x80
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2024-01-09 05:31:00 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x10011f50
|
|
|
|
// LegoCameraController::`scalar deleting destructor'
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
#endif // LEGOCAMERACONTROLLER_H
|