metaforce/Editor/ProjectResourceFactoryMP1.hpp

28 lines
753 B
C++
Raw Normal View History

#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);
2017-02-12 23:56:03 +00:00
void GetTagListForFile(const char* pakName, std::vector<SObjectTag>& out) const;
void Shutdown();
2017-08-13 05:26:14 +00:00
CAssetId TranslateOriginalToNew(CAssetId id) const;
CAssetId TranslateNewToOriginal(CAssetId id) const;
};
}
#endif // URDE_PROJECT_RESOURCE_FACTORY_MP1_HPP