2016-03-26 00:51:59 +00:00
|
|
|
#ifndef URDE_PROJECT_RESOURCE_FACTORY_MP1_HPP
|
|
|
|
#define URDE_PROJECT_RESOURCE_FACTORY_MP1_HPP
|
|
|
|
|
|
|
|
#include "ProjectResourceFactoryBase.hpp"
|
2017-01-31 05:01:40 +00:00
|
|
|
#include "CToken.hpp"
|
2016-03-26 00:51:59 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2017-01-31 05:01:40 +00:00
|
|
|
class MP1OriginalIDs;
|
|
|
|
class CSimplePool;
|
2016-03-26 00:51:59 +00:00
|
|
|
|
|
|
|
class ProjectResourceFactoryMP1 : public ProjectResourceFactoryBase
|
|
|
|
{
|
2017-01-31 05:01:40 +00:00
|
|
|
TLockedToken<MP1OriginalIDs> m_origIds;
|
2016-03-26 00:51:59 +00:00
|
|
|
public:
|
2016-03-27 20:43:04 +00:00
|
|
|
ProjectResourceFactoryMP1(hecl::ClientProcess& clientProc);
|
2017-01-31 05:01:40 +00:00
|
|
|
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;
|
2017-01-31 05:01:40 +00:00
|
|
|
void Shutdown();
|
|
|
|
|
|
|
|
ResId TranslateOriginalToNew(ResId id) const;
|
|
|
|
ResId TranslateNewToOriginal(ResId id) const;
|
2016-03-26 00:51:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // URDE_PROJECT_RESOURCE_FACTORY_MP1_HPP
|