mirror of https://github.com/AxioDL/metaforce.git
27 lines
668 B
C++
27 lines
668 B
C++
#ifndef URDE_PROJECT_RESOURCE_FACTORY_MP1_HPP
|
|
#define URDE_PROJECT_RESOURCE_FACTORY_MP1_HPP
|
|
|
|
#include "ProjectResourceFactoryBase.hpp"
|
|
#include "CToken.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
class MP1OriginalIDs;
|
|
class CSimplePool;
|
|
|
|
class ProjectResourceFactoryMP1 : public ProjectResourceFactoryBase
|
|
{
|
|
TLockedToken<MP1OriginalIDs> m_origIds;
|
|
public:
|
|
ProjectResourceFactoryMP1(hecl::ClientProcess& clientProc);
|
|
void IndexMP1Resources(hecl::Database::Project& proj, CSimplePool& sp);
|
|
void Shutdown();
|
|
|
|
CAssetId TranslateOriginalToNew(CAssetId id) const;
|
|
CAssetId TranslateNewToOriginal(CAssetId id) const;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // URDE_PROJECT_RESOURCE_FACTORY_MP1_HPP
|