Replace float with MxFloat

This commit is contained in:
Christian Semmler 2023-10-30 09:12:34 -04:00
parent 949fbbbba1
commit 3fd346b6de
2 changed files with 10 additions and 10 deletions

View File

@ -4,25 +4,25 @@ DECOMP_SIZE_ASSERT(LegoActor, 0x78)
// Probably in header // Probably in header
// OFFSET: LEGO1 0x10002cc0 // OFFSET: LEGO1 0x10002cc0
float LegoActor::VTable0x50() MxFloat LegoActor::VTable0x50()
{ {
return m_unk68; return m_unk68;
} }
// OFFSET: LEGO1 0x10002cd0 // OFFSET: LEGO1 0x10002cd0
void LegoActor::VTable0x54(float p_unk) void LegoActor::VTable0x54(MxFloat p_unk)
{ {
m_unk68 = p_unk; m_unk68 = p_unk;
} }
// OFFSET: LEGO1 0x10002ce0 // OFFSET: LEGO1 0x10002ce0
void LegoActor::VTable0x58(float p_unk) void LegoActor::VTable0x58(MxFloat p_unk)
{ {
m_unk70 = p_unk; m_unk70 = p_unk;
} }
// OFFSET: LEGO1 0x10002cf0 // OFFSET: LEGO1 0x10002cf0
float LegoActor::VTable0x5c() MxFloat LegoActor::VTable0x5c()
{ {
return m_unk70; return m_unk70;
} }

View File

@ -23,17 +23,17 @@ class LegoActor : public LegoEntity {
return !strcmp(name, LegoActor::ClassName()) || LegoEntity::IsA(name); return !strcmp(name, LegoActor::ClassName()) || LegoEntity::IsA(name);
} }
virtual float VTable0x50(); // vtable+0x50 virtual MxFloat VTable0x50(); // vtable+0x50
virtual void VTable0x54(float p_unk); // vtable+0x54 virtual void VTable0x54(MxFloat p_unk); // vtable+0x54
virtual void VTable0x58(float p_unk); // vtable+0x58 virtual void VTable0x58(MxFloat p_unk); // vtable+0x58
virtual float VTable0x5c(); // vtable+0x5c virtual MxFloat VTable0x5c(); // vtable+0x5c
virtual undefined VTable0x60(); // vtable+0x60 virtual undefined VTable0x60(); // vtable+0x60
virtual void VTable0x64(undefined p_unk); // vtable+0x64 virtual void VTable0x64(undefined p_unk); // vtable+0x64
private: private:
float m_unk68; MxFloat m_unk68;
undefined4 m_unk6c; undefined4 m_unk6c;
float m_unk70; MxFloat m_unk70;
undefined m_unk74; undefined m_unk74;
}; };