mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Add BETA10 addresses for LegoROI
and others (#1569)
--------- Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
@@ -108,6 +108,7 @@ void OrientableROI::SetLocal2World(const Matrix4& p_local2world)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a5910
|
||||
// FUNCTION: BETA10 0x10167bac
|
||||
void OrientableROI::UpdateWorldData()
|
||||
{
|
||||
UpdateWorldBoundingVolumes();
|
||||
@@ -115,6 +116,7 @@ void OrientableROI::UpdateWorldData()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a5930
|
||||
// FUNCTION: BETA10 0x10167bd8
|
||||
void OrientableROI::SetLocal2WorldWithWorldDataUpdate(const Matrix4& p_transform)
|
||||
{
|
||||
m_local2world = p_transform;
|
||||
@@ -123,6 +125,7 @@ void OrientableROI::SetLocal2WorldWithWorldDataUpdate(const Matrix4& p_transform
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a5960
|
||||
// FUNCTION: BETA10 0x10167c19
|
||||
void OrientableROI::UpdateWorldDataWithTransform(const Matrix4& p_transform)
|
||||
{
|
||||
MxMatrix l_matrix(m_local2world);
|
||||
@@ -132,6 +135,7 @@ void OrientableROI::UpdateWorldDataWithTransform(const Matrix4& p_transform)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a59b0
|
||||
// FUNCTION: BETA10 0x10167c6d
|
||||
void OrientableROI::UpdateWorldDataWithTransformAndChildren(const Matrix4& p_transform)
|
||||
{
|
||||
MxMatrix l_matrix(m_local2world);
|
||||
@@ -155,11 +159,13 @@ void OrientableROI::SetWorldVelocity(const Vector3& p_world_velocity)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a5a50
|
||||
// FUNCTION: BETA10 0x10167d65
|
||||
void OrientableROI::UpdateWorldVelocity()
|
||||
{
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a5a60
|
||||
// FUNCTION: BETA10 0x10167d7b
|
||||
void CalcWorldBoundingVolumes(
|
||||
const BoundingSphere& modelling_sphere,
|
||||
const Matrix4& local2world,
|
||||
@@ -186,18 +192,21 @@ void CalcWorldBoundingVolumes(
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a5d80
|
||||
// FUNCTION: BETA10 0x10168760
|
||||
const float* OrientableROI::GetWorldVelocity() const
|
||||
{
|
||||
return m_world_velocity.GetData();
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a5d90
|
||||
// FUNCTION: BETA10 0x10168790
|
||||
const BoundingBox& OrientableROI::GetWorldBoundingBox() const
|
||||
{
|
||||
return m_world_bounding_box;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a5da0
|
||||
// FUNCTION: BETA10 0x101687b0
|
||||
const BoundingSphere& OrientableROI::GetWorldBoundingSphere() const
|
||||
{
|
||||
return m_world_bounding_sphere;
|
||||
|
@@ -23,6 +23,7 @@ public:
|
||||
const BoundingSphere& GetWorldBoundingSphere() const override; // vtable+0x10
|
||||
|
||||
// FUNCTION: LEGO1 0x100a5db0
|
||||
// FUNCTION: BETA10 0x101687d0
|
||||
virtual void WrappedUpdateWorldData() { UpdateWorldData(); } // vtable+0x14
|
||||
|
||||
virtual void UpdateWorldBoundingVolumes() = 0; // vtable+0x18
|
||||
@@ -81,6 +82,7 @@ protected:
|
||||
// OrientableROI::`scalar deleting destructor'
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100aa2f0
|
||||
// SYNTHETIC: BETA10 0x10168600
|
||||
// OrientableROI::~OrientableROI
|
||||
|
||||
#endif // ORIENTABLEROI_H
|
||||
|
@@ -15,9 +15,16 @@
|
||||
// SIZE 0x28
|
||||
class BoundingBox {
|
||||
public:
|
||||
// The BETA10 matches may reference the wrong version
|
||||
|
||||
// FUNCTION: BETA10 0x1004a7a0
|
||||
const Vector3& Min() const { return min; }
|
||||
|
||||
Vector3& Min() { return min; }
|
||||
|
||||
// FUNCTION: BETA10 0x1004a7c0
|
||||
const Vector3& Max() const { return max; }
|
||||
|
||||
Vector3& Max() { return max; }
|
||||
|
||||
private:
|
||||
@@ -31,14 +38,26 @@ private:
|
||||
// SIZE 0x18
|
||||
class BoundingSphere {
|
||||
public:
|
||||
// The BETA10 matches may reference the wrong version
|
||||
|
||||
// FUNCTION: BETA10 0x1001fac0
|
||||
const Vector3& Center() const { return center; }
|
||||
|
||||
// FUNCTION: BETA10 0x100d55a0
|
||||
Vector3& Center() { return center; }
|
||||
|
||||
// FUNCTION: BETA10 0x1001fd30
|
||||
const float& Radius() const { return radius; }
|
||||
|
||||
// FUNCTION: BETA10 0x1001fae0
|
||||
float& Radius() { return radius; }
|
||||
|
||||
// SYNTHETIC: BETA10 0x1001fb90
|
||||
// BoundingSphere::operator=
|
||||
|
||||
// SYNTHETIC: BETA10 0x1001fc50
|
||||
// BoundingSphere::BoundingSphere
|
||||
|
||||
private:
|
||||
Mx3DPointFloat center; // 0x00
|
||||
float radius; // 0x14
|
||||
@@ -136,6 +155,7 @@ protected:
|
||||
// list<ROI *,allocator<ROI *> >::~list<ROI *,allocator<ROI *> >
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100a5d50
|
||||
// SYNTHETIC: BETA10 0x101686a0
|
||||
// ROI::~ROI
|
||||
|
||||
#endif // ROI_H
|
||||
|
Reference in New Issue
Block a user