mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Implement/match MxRegionTopBottom::MxRegionTopBottom
This commit is contained in:
@@ -105,10 +105,15 @@ void MxRegion::vtable1c()
|
|||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100c50e0 STUB
|
// OFFSET: LEGO1 0x100c50e0
|
||||||
MxRegionTopBottom::MxRegionTopBottom(MxRect32 &p_rect)
|
MxRegionTopBottom::MxRegionTopBottom(MxRect32 &p_rect)
|
||||||
{
|
{
|
||||||
|
m_top = p_rect.m_top;
|
||||||
|
m_bottom = p_rect.m_bottom;
|
||||||
|
m_leftRightList = new MxRegionLeftRightList;
|
||||||
|
|
||||||
|
MxRegionLeftRight *leftRight = new MxRegionLeftRight(p_rect.m_left, p_rect.m_right);
|
||||||
|
m_leftRightList->Append(leftRight);
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100c5280 STUB
|
// OFFSET: LEGO1 0x100c5280 STUB
|
||||||
|
|||||||
@@ -22,6 +22,12 @@ struct MxRegionTopBottom
|
|||||||
// SIZE 0x08
|
// SIZE 0x08
|
||||||
struct MxRegionLeftRight
|
struct MxRegionLeftRight
|
||||||
{
|
{
|
||||||
|
MxRegionLeftRight(MxS32 p_left, MxS32 p_right)
|
||||||
|
{
|
||||||
|
m_left = p_left;
|
||||||
|
m_right = p_right;
|
||||||
|
}
|
||||||
|
|
||||||
MxS32 m_left;
|
MxS32 m_left;
|
||||||
MxS32 m_right;
|
MxS32 m_right;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user