mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
Remove rstl::optional_object, various cleanups, implement CExplosion and CScriptDoor
This commit is contained in:
@@ -501,6 +501,14 @@ CGameArea::~CGameArea()
|
||||
while (!Invalidate(nullptr)) {}
|
||||
}
|
||||
|
||||
bool CGameArea::IsFinishedOccluding() const
|
||||
{
|
||||
if (x12c_postConstructed->x10dc_occlusionState != EOcclusionState::Occluded)
|
||||
return true;
|
||||
|
||||
return x12c_postConstructed->x1108_27_;
|
||||
}
|
||||
|
||||
std::pair<std::unique_ptr<u8[]>, s32> CGameArea::IGetScriptingMemoryAlways() const
|
||||
{
|
||||
return GetScriptingMemoryAlways(*this);
|
||||
|
||||
Reference in New Issue
Block a user