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

Huge compile performance refactor

This commit is contained in:
Jack Andersen
2017-12-28 22:08:12 -10:00
parent 3f2c480891
commit 8301adc3d6
418 changed files with 1645 additions and 2402 deletions

View File

@@ -1,6 +1,7 @@
#include "ProjectManager.hpp"
#include "ViewManager.hpp"
#include "../DataSpecRegistry.hpp"
#include "hecl/Blender/Connection.hpp"
namespace urde
{
@@ -15,7 +16,7 @@ CToken ProjectResourcePool::GetObj(std::string_view name)
hecl::ProjectPath path(*m_parent.project(), name);
SObjectTag tag = static_cast<ProjectResourceFactoryBase&>(x18_factory).
TagFromPath(path, hecl::SharedBlenderToken);
TagFromPath(path, hecl::blender::SharedBlenderToken);
if (tag)
return CSimplePool::GetObj(tag);
@@ -30,7 +31,7 @@ CToken ProjectResourcePool::GetObj(std::string_view name, const CVParamTransfer&
hecl::ProjectPath path(*m_parent.project(), name);
SObjectTag tag = static_cast<ProjectResourceFactoryBase&>(x18_factory).
TagFromPath(path, hecl::SharedBlenderToken);
TagFromPath(path, hecl::blender::SharedBlenderToken);
if (tag)
return CSimplePool::GetObj(tag, pvxfer);
@@ -248,7 +249,7 @@ void ProjectManager::shutdown()
m_mainMP1->Shutdown();
m_clientProc.shutdown();
m_factoryMP1.Shutdown();
hecl::BlenderConnection::Shutdown();
hecl::blender::Connection::Shutdown();
}
}