Finished dependency gathering support for MREA and MLVL

This commit is contained in:
parax0
2016-08-09 21:36:41 -06:00
parent 3bca8410b0
commit b582e7208e
5 changed files with 33 additions and 24 deletions

View File

@@ -45,8 +45,9 @@ CDependencyTree* CGameArea::BuildDependencyTree() const
pTree->AddDependency(pMat->Pass(iPass)->Texture());
}
pTree->AddDependency(mPathID);
pTree->AddDependency(mPortalAreaID);
pTree->AddDependency(mpPoiToWorldMap);
Log::Warning("CGameArea::FindDependencies not handling PATH/PTLA");
// Layer dependencies
for (u32 iLayer = 0; iLayer < mScriptLayers.size(); iLayer++)

View File

@@ -56,6 +56,10 @@ class CGameArea : public CResource
CCollisionMeshGroup *mpCollision;
// Lights
std::vector<std::vector<CLight*>> mLightLayers;
// Path Mesh
CAssetID mPathID;
// Portal Area
CAssetID mPortalAreaID;
// Object to Static Geometry Map
TResPtr<CPoiToWorld> mpPoiToWorldMap;