2016-08-09 03:58:19 +00:00
|
|
|
#include "CMapWorld.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2016-10-08 20:32:36 +00:00
|
|
|
|
|
|
|
CMapWorld::CMapWorld(CInputStream& in)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-08-09 03:58:19 +00:00
|
|
|
u32 CMapWorld::GetNumAreas() const
|
|
|
|
{
|
|
|
|
return x0_areas.size();
|
|
|
|
}
|
|
|
|
|
2017-03-20 05:09:53 +00:00
|
|
|
const CMapArea* CMapWorld::GetMapArea(TAreaId aid) const
|
2016-08-09 03:58:19 +00:00
|
|
|
{
|
2017-03-20 05:09:53 +00:00
|
|
|
return x0_areas[aid].GetMapArea();
|
2016-08-09 03:58:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CMapWorld::IsMapAreaInBFSInfoVector(const CMapWorld::CMapAreaData *, const std::vector<CMapWorld::CMapAreaBFSInfo> &) const
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void CMapWorld::SetWhichMapAreasLoaded(const IWorld &, int start, int count)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CMapWorld::IsMapAreasStreaming() const
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void CMapWorld::MoveMapAreaToList(CMapWorld::CMapAreaData *, CMapWorld::EMapAreaList)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void CMapWorld::GetCurrentMapAreaDepth(const IWorld &, int) const
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void CMapWorld::GetVisibleAreas(const IWorld &, const CMapWorldInfo &) 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
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
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::RecalculateWorldSphere(const CMapWorldInfo &, const IWorld &) const
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void CMapWorld::ConstrainToWorldVolume(const zeus::CVector3f &, const zeus::CVector3f &) const
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void CMapWorld::ClearTraversedFlags() const
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-10-08 20:32:36 +00:00
|
|
|
CFactoryFnReturn FMapWorldFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& param,
|
|
|
|
CObjectReference* selfRef)
|
|
|
|
{
|
|
|
|
return TToken<CMapWorld>::GetIObjObjectFor(std::make_unique<CMapWorld>(in));
|
|
|
|
}
|
|
|
|
|
2016-08-09 03:58:19 +00:00
|
|
|
}
|