Implement/match MxDSAction constructor (#101)

* Implement MxDSAction constructor

* Update mxdsaction.cpp
This commit is contained in:
Christian Semmler
2023-08-06 13:39:22 -04:00
committed by GitHub
parent 71950cd40a
commit c48fc69cf3
4 changed files with 47 additions and 35 deletions

View File

@@ -9,7 +9,7 @@ class MxVector2
{
public:
// OFFSET: LEGO1 0x1000c0f0
inline MxVector2(float* p_data) : m_data(p_data) {}
inline MxVector2(float* p_data) { this->SetData(p_data); }
// vtable + 0x00 (no virtual destructor)
virtual void AddScalarImpl(float p_value) = 0;
@@ -21,7 +21,9 @@ public:
virtual void MullVectorImpl(float *p_value) = 0;
virtual void DivScalarImpl(float *p_value) = 0;
virtual float DotImpl(float *p_a, float *p_b) const = 0;
virtual void SetData(float *p_data);
// OFFSET: LEGO1 0x10002060
virtual void SetData(float *p_data) { this->m_data = p_data; }
// vtable + 0x20
virtual void EqualsImpl(float *p_data) = 0;