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

Refactor for original/pc dataspec handling

This commit is contained in:
Jack Andersen
2016-03-25 14:51:59 -10:00
parent a866939b09
commit fedc93912d
19 changed files with 859 additions and 234 deletions

View File

@@ -3,7 +3,7 @@
#include <hecl/Database.hpp>
#include <athena/DNAYaml.hpp>
#include "ProjectResourceFactory.hpp"
#include "ProjectResourceFactoryMP1.hpp"
#include "Runtime/CSimplePool.hpp"
namespace urde
@@ -18,11 +18,9 @@ class ProjectManager
ViewManager& m_vm;
std::unique_ptr<hecl::Database::Project> m_proj;
static bool m_registeredSpecs;
ProjectResourceFactory m_factory;
ProjectResourceFactoryMP1 m_factoryMP1;
urde::CSimplePool m_objStore;
void IndexMP1Resources();
public:
ProjectManager(ViewManager& vm);
operator bool() const {return m_proj.operator bool();}