metaforce/Editor/ProjectResourceFactoryMP1.hpp

25 lines
541 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
#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();
2017-08-13 05:26:14 +00:00
CAssetId TranslateOriginalToNew(CAssetId id) const;
CAssetId TranslateNewToOriginal(CAssetId id) const;
};
}