mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement LegoExtraActor:: VTable0xa4 & FUN_1002aae0 (#742)
* Implement LegoExtraActor:: VTable0xa4 & FUN_1002aae0 * Match LegoExtraActor::FUN_1002aae0 --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -9,6 +9,9 @@ struct UnknownMatrixType {
|
||||
float m_data[4][4];
|
||||
};
|
||||
|
||||
// Note: Many functions most likely take const references/pointers instead of non-const.
|
||||
// The class needs to undergo a very careful refactoring to fix that (no matches should break).
|
||||
|
||||
// VTABLE: LEGO1 0x100d4350
|
||||
// SIZE 0x08
|
||||
class Matrix4 {
|
||||
|
@@ -6,6 +6,9 @@
|
||||
#include <math.h>
|
||||
#include <memory.h>
|
||||
|
||||
// Note: Many functions most likely take const references/pointers instead of non-const.
|
||||
// The class needs to undergo a very careful refactoring to fix that (no matches should break).
|
||||
|
||||
// VTABLE: LEGO1 0x100d4288
|
||||
// SIZE 0x08
|
||||
class Vector2 {
|
||||
@@ -130,7 +133,7 @@ public:
|
||||
virtual void Mul(Vector2* p_other) { MulVectorImpl(p_other->m_data); } // vtable+0x60
|
||||
|
||||
// FUNCTION: LEGO1 0x10002230
|
||||
virtual void Mul(float& p_value) { MulScalarImpl(&p_value); } // vtable+0x5c
|
||||
virtual void Mul(const float& p_value) { MulScalarImpl((float*) &p_value); } // vtable+0x5c
|
||||
|
||||
// FUNCTION: LEGO1 0x10002240
|
||||
virtual void Div(float& p_value) { DivScalarImpl(&p_value); } // vtable+0x68
|
||||
|
Reference in New Issue
Block a user