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-09 04:43:21 -05:00
|
|
|
#include "mxpoint32.h"
|
2023-12-14 11:50:29 -05:00
|
|
|
#include "realtime/matrix.h"
|
|
|
|
#include "realtime/vector.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
|
|
|
|
|
|
|
|
void SetWorldTransform(const Vector3Impl& p_at, const Vector3Impl& p_dir, const Vector3Impl& p_up);
|
2023-12-14 11:50:29 -05:00
|
|
|
void FUN_100123e0(Matrix4Data& p_transform, MxU32);
|
|
|
|
Vector3Data& FUN_10012740();
|
|
|
|
Vector3Data& FUN_100127f0();
|
|
|
|
Vector3Data& FUN_100128a0();
|
2024-01-09 04:43:21 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
Matrix4Data m_matrix1; // 0x38
|
|
|
|
Matrix4Data 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
|