mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-28 07:03:06 -04:00
AmbulanceMissionState/AnimState constructors (#337)
* implement a few states * Update animstate.h * Update animstate.cpp
This commit is contained in:
parent
ec854c9308
commit
76b4edaa9e
@ -2,8 +2,19 @@
|
|||||||
|
|
||||||
DECOMP_SIZE_ASSERT(AmbulanceMissionState, 0x24);
|
DECOMP_SIZE_ASSERT(AmbulanceMissionState, 0x24);
|
||||||
|
|
||||||
// STUB: LEGO1 0x100373a0
|
// FUNCTION: LEGO1 0x100373a0
|
||||||
AmbulanceMissionState::AmbulanceMissionState()
|
AmbulanceMissionState::AmbulanceMissionState()
|
||||||
{
|
{
|
||||||
// TODO
|
m_unk0x10 = 0;
|
||||||
|
m_unk0x12 = 0;
|
||||||
|
m_unk0x14 = 0;
|
||||||
|
m_unk0x8 = 0;
|
||||||
|
m_unk0x16 = 0;
|
||||||
|
m_unk0xc = 0;
|
||||||
|
m_unk0x18 = 0;
|
||||||
|
m_color1 = 0;
|
||||||
|
m_color2 = 0;
|
||||||
|
m_color3 = 0;
|
||||||
|
m_color4 = 0;
|
||||||
|
m_color5 = 0;
|
||||||
}
|
}
|
||||||
|
@ -41,12 +41,18 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
undefined m_unk0x8[0x12];
|
undefined4 m_unk0x8; // 0x08
|
||||||
MxU16 m_color1;
|
undefined4 m_unk0xc; // 0x0c
|
||||||
MxU16 m_color2;
|
MxU16 m_unk0x10; // 0x10
|
||||||
MxU16 m_color3;
|
MxU16 m_unk0x12; // 0x12
|
||||||
MxU16 m_color4;
|
MxU16 m_unk0x14; // 0x14
|
||||||
MxU16 m_color5;
|
MxU16 m_unk0x16; // 0x16
|
||||||
|
MxU16 m_unk0x18; // 0x18
|
||||||
|
MxU16 m_color1; // 0x1a
|
||||||
|
MxU16 m_color2; // 0x1c
|
||||||
|
MxU16 m_color3; // 0x1e
|
||||||
|
MxU16 m_color4; // 0x20
|
||||||
|
MxU16 m_color5; // 0x22
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // AMBULANCEMISSIONSTATE_H
|
#endif // AMBULANCEMISSIONSTATE_H
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
#include "animstate.h"
|
#include "animstate.h"
|
||||||
|
|
||||||
// STUB: LEGO1 0x10064ff0
|
DECOMP_SIZE_ASSERT(AnimState, 0x1c);
|
||||||
|
|
||||||
|
// FUNCTION: LEGO1 0x10064ff0
|
||||||
AnimState::AnimState()
|
AnimState::AnimState()
|
||||||
{
|
{
|
||||||
// TODO
|
m_unk0xc = 0;
|
||||||
|
m_unk0x10 = NULL;
|
||||||
|
m_unk0x14 = 0;
|
||||||
|
m_unk0x18 = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x10065150
|
// STUB: LEGO1 0x10065150
|
||||||
@ -11,3 +16,17 @@ AnimState::~AnimState()
|
|||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// STUB: LEGO1 0x100652d0
|
||||||
|
MxResult AnimState::VTable0x1c(LegoFileStream* p_legoFileStream)
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
return FAILURE;
|
||||||
|
}
|
||||||
|
|
||||||
|
// STUB: LEGO1 0x100654f0
|
||||||
|
MxBool AnimState::SetFlag()
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
@ -22,6 +22,16 @@ public:
|
|||||||
{
|
{
|
||||||
return !strcmp(p_name, AnimState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, AnimState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual MxBool SetFlag() override; // vtable+0x18
|
||||||
|
virtual MxResult VTable0x1c(LegoFileStream* p_legoFileStream) override; // vtable+0x1C
|
||||||
|
|
||||||
|
private:
|
||||||
|
undefined4 m_unk0x8;
|
||||||
|
undefined4 m_unk0xc;
|
||||||
|
void* m_unk0x10;
|
||||||
|
undefined4 m_unk0x14;
|
||||||
|
void* m_unk0x18;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ANIMSTATE_H
|
#endif // ANIMSTATE_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user