2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:07:42 +00:00

Lots of ScriptObject and Collision work

This commit is contained in:
2017-01-03 20:08:30 -08:00
parent daa7d510f8
commit b765ce3eb7
49 changed files with 899 additions and 182 deletions

View File

@@ -45,16 +45,23 @@ bool IGameArea::Dock::GetShouldLoadOther(s32 other) const
if (other >= x4_dockReferences.size())
return false;
return false; //return x4_dockReferences[other].GetShouldLoad();
return x4_dockReferences[other].x6_loadOther;
}
void IGameArea::Dock::SetShouldLoadOther(s32 other, bool should)
{
if (other >= x4_dockReferences.size())
return;
x4_dockReferences[other].x6_loadOther = should;
}
bool IGameArea::Dock::ShouldLoadOtherArea(s32 other) const
{
return false;
if (x4_dockReferences.size() == 0)
return false;
return x4_dockReferences[other].x6_loadOther;
}
zeus::CVector3f IGameArea::Dock::GetPoint(s32 idx) const