mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 11:07:44 +00:00
Lots of work on CAutoMapper
This commit is contained in:
@@ -7,22 +7,12 @@ CMapWorld::CMapWorld(CInputStream& in)
|
||||
{
|
||||
}
|
||||
|
||||
u32 CMapWorld::GetNumAreas() const
|
||||
{
|
||||
return x0_areas.size();
|
||||
}
|
||||
|
||||
const CMapArea* CMapWorld::GetMapArea(TAreaId aid) const
|
||||
{
|
||||
return x0_areas[aid].GetMapArea();
|
||||
}
|
||||
|
||||
void CMapWorld::IsMapAreaInBFSInfoVector(const CMapWorld::CMapAreaData *, const std::vector<CMapWorld::CMapAreaBFSInfo> &) const
|
||||
void CMapWorld::IsMapAreaInBFSInfoVector(const CMapWorld::CMapAreaData*, const std::vector<CMapWorld::CMapAreaBFSInfo>&) const
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CMapWorld::SetWhichMapAreasLoaded(const IWorld &, int start, int count)
|
||||
void CMapWorld::SetWhichMapAreasLoaded(const IWorld&, int start, int count)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -32,27 +22,33 @@ bool CMapWorld::IsMapAreasStreaming() const
|
||||
return false;
|
||||
}
|
||||
|
||||
void CMapWorld::MoveMapAreaToList(CMapWorld::CMapAreaData *, CMapWorld::EMapAreaList)
|
||||
void CMapWorld::MoveMapAreaToList(CMapWorld::CMapAreaData*, CMapWorld::EMapAreaList)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CMapWorld::GetCurrentMapAreaDepth(const IWorld &, int) const
|
||||
s32 CMapWorld::GetCurrentMapAreaDepth(const IWorld& wld, TAreaId aid) const
|
||||
{
|
||||
ClearTraversedFlags();
|
||||
std::vector<CMapAreaBFSInfo> info;
|
||||
info.reserve(x0_areas.size());
|
||||
DoBFS(wld, aid, 9999, 9999.f, 9999.f, false, info);
|
||||
if (info.empty())
|
||||
return 0;
|
||||
return info.back().GetDepth();
|
||||
}
|
||||
|
||||
void CMapWorld::GetVisibleAreas(const IWorld&, const CMapWorldInfo&) const
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CMapWorld::GetVisibleAreas(const IWorld &, const CMapWorldInfo &) const
|
||||
void CMapWorld::Draw(const CMapWorld::CMapWorldDrawParms&, int, int, float, float, bool) const
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CMapWorld::Draw(const CMapWorld::CMapWorldDrawParms &, int, int, float, float, bool) const
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CMapWorld::DoBFS(const IWorld &, int, int, float, float, bool, std::vector<CMapWorld::CMapAreaBFSInfo> &) const
|
||||
void CMapWorld::DoBFS(const IWorld&, TAreaId, int, float, float, bool, std::vector<CMapAreaBFSInfo>&) const
|
||||
{
|
||||
|
||||
}
|
||||
@@ -62,19 +58,19 @@ bool CMapWorld::IsMapAreaValid(const IWorld &, int, bool) const
|
||||
return false;
|
||||
}
|
||||
|
||||
void CMapWorld::DrawAreas(const CMapWorld::CMapWorldDrawParms &, int, const std::vector<CMapWorld::CMapAreaBFSInfo> &, bool) const
|
||||
void CMapWorld::DrawAreas(const CMapWorld::CMapWorldDrawParms&, int, const std::vector<CMapWorld::CMapAreaBFSInfo>&, bool) const
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CMapWorld::RecalculateWorldSphere(const CMapWorldInfo &, const IWorld &) const
|
||||
void CMapWorld::RecalculateWorldSphere(const CMapWorldInfo&, const IWorld&) const
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CMapWorld::ConstrainToWorldVolume(const zeus::CVector3f &, const zeus::CVector3f &) const
|
||||
zeus::CVector3f CMapWorld::ConstrainToWorldVolume(const zeus::CVector3f&, const zeus::CVector3f&) const
|
||||
{
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
void CMapWorld::ClearTraversedFlags() const
|
||||
|
||||
Reference in New Issue
Block a user