mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Pad all single-digit hexadecimal values with zero (#504)
* Pad all single-digit hexadecimal values with zero * One more fix
This commit is contained in:

committed by
GitHub

parent
35def3013a
commit
bcdddd4c7e
@@ -2,4 +2,4 @@
|
||||
|
||||
#include "decomp.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(Matrix4, 0x8);
|
||||
DECOMP_SIZE_ASSERT(Matrix4, 0x08);
|
||||
|
@@ -10,7 +10,7 @@ struct UnknownMatrixType {
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100d4350
|
||||
// SIZE 0x8
|
||||
// SIZE 0x08
|
||||
class Matrix4 {
|
||||
public:
|
||||
inline Matrix4(float (*p_data)[4]) { SetData(p_data); }
|
||||
|
@@ -16,8 +16,8 @@ public:
|
||||
|
||||
OrientableROI();
|
||||
|
||||
virtual const float* GetWorldVelocity() const override; // vtable+0x8
|
||||
virtual const BoundingBox& GetWorldBoundingBox() const override; // vtable+0xc
|
||||
virtual const float* GetWorldVelocity() const override; // vtable+0x08
|
||||
virtual const BoundingBox& GetWorldBoundingBox() const override; // vtable+0x0c
|
||||
virtual const BoundingSphere& GetWorldBoundingSphere() const override; // vtable+0x10
|
||||
// FUNCTION: LEGO1 0x100a5db0
|
||||
virtual void VTable0x14() { VTable0x1c(); } // vtable+0x14
|
||||
|
@@ -49,9 +49,9 @@ class LODObject {
|
||||
public:
|
||||
// LODObject();
|
||||
virtual ~LODObject() {}
|
||||
virtual float Cost(float pixels_covered) const = 0; // vtable+0x4
|
||||
virtual float AveragePolyArea() const = 0; // vtable+0x8
|
||||
virtual int NVerts() const = 0; // vtable+0xc
|
||||
virtual float Cost(float pixels_covered) const = 0; // vtable+0x04
|
||||
virtual float AveragePolyArea() const = 0; // vtable+0x08
|
||||
virtual int NVerts() const = 0; // vtable+0x0c
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
{
|
||||
m_comp = 0;
|
||||
m_lods = 0;
|
||||
m_unk0xc = 1;
|
||||
m_unk0x0c = 1;
|
||||
}
|
||||
virtual ~ROI()
|
||||
{
|
||||
@@ -89,9 +89,9 @@ public:
|
||||
assert(!m_comp);
|
||||
assert(!m_lods);
|
||||
}
|
||||
virtual float IntrinsicImportance() const = 0; // vtable+0x4
|
||||
virtual const float* GetWorldVelocity() const = 0; // vtable+0x8
|
||||
virtual const BoundingBox& GetWorldBoundingBox() const = 0; // vtable+0xc
|
||||
virtual float IntrinsicImportance() const = 0; // vtable+0x04
|
||||
virtual const float* GetWorldVelocity() const = 0; // vtable+0x08
|
||||
virtual const BoundingBox& GetWorldBoundingBox() const = 0; // vtable+0x0c
|
||||
virtual const BoundingSphere& GetWorldBoundingSphere() const = 0; // vtable+0x10
|
||||
|
||||
const LODListBase* GetLODs() const { return m_lods; }
|
||||
@@ -103,15 +103,15 @@ public:
|
||||
int GetLODCount() const { return m_lods ? m_lods->Size() : 0; }
|
||||
const CompoundObject* GetComp() const { return m_comp; }
|
||||
|
||||
inline undefined GetUnk0x0c() { return m_unk0xc; }
|
||||
inline undefined GetUnk0x0c() { return m_unk0x0c; }
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100a5d60
|
||||
// ROI::`scalar deleting destructor'
|
||||
|
||||
protected:
|
||||
CompoundObject* m_comp; // 0x4
|
||||
LODListBase* m_lods; // 0x8
|
||||
undefined m_unk0xc; // 0xc
|
||||
CompoundObject* m_comp; // 0x04
|
||||
LODListBase* m_lods; // 0x08
|
||||
undefined m_unk0x0c; // 0x0c
|
||||
};
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100a5d50
|
||||
|
@@ -2,6 +2,6 @@
|
||||
|
||||
#include "decomp.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(Vector2, 0x8);
|
||||
DECOMP_SIZE_ASSERT(Vector3, 0x8);
|
||||
DECOMP_SIZE_ASSERT(Vector4, 0x8);
|
||||
DECOMP_SIZE_ASSERT(Vector2, 0x08);
|
||||
DECOMP_SIZE_ASSERT(Vector3, 0x08);
|
||||
DECOMP_SIZE_ASSERT(Vector4, 0x08);
|
||||
|
@@ -263,7 +263,7 @@ public:
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100d45a0
|
||||
// SIZE 0x8
|
||||
// SIZE 0x08
|
||||
class Vector4 : public Vector3 {
|
||||
public:
|
||||
inline Vector4(float* p_data) : Vector3(p_data) {}
|
||||
|
Reference in New Issue
Block a user