mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-12-24 14:52:21 -05:00
f6e44b1c1b
* Implement LegoROI::Read and geom library * Match * Match * Fixes * Fix
19 lines
369 B
C++
19 lines
369 B
C++
#include "legobox.h"
|
|
|
|
#include "decomp.h"
|
|
#include "misc/legoutil.h"
|
|
|
|
DECOMP_SIZE_ASSERT(LegoBox, 0x18)
|
|
|
|
// FUNCTION: LEGO1 0x100d3740
|
|
LegoResult LegoBox::Read(LegoStorage* p_storage)
|
|
{
|
|
LegoResult result;
|
|
if ((result = m_min.Read(p_storage)) != SUCCESS) {
|
|
return result;
|
|
}
|
|
if ((result = m_max.Read(p_storage)) != SUCCESS) {
|
|
return result;
|
|
}
|
|
return SUCCESS;
|
|
}
|