2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CPARTICLEDATABASE_HPP__
|
|
|
|
#define __URDE_CPARTICLEDATABASE_HPP__
|
2016-04-12 22:28:08 +00:00
|
|
|
|
2016-04-16 21:49:47 +00:00
|
|
|
#include "CCharacterInfo.hpp"
|
|
|
|
#include "CParticleGenInfo.hpp"
|
|
|
|
#include <map>
|
|
|
|
|
2016-04-12 22:28:08 +00:00
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CParticleDatabase
|
|
|
|
{
|
2016-04-16 21:49:47 +00:00
|
|
|
std::map<std::string, std::unique_ptr<CParticleGenInfo>> x3c_;
|
|
|
|
public:
|
|
|
|
void CacheParticleDesc(const CCharacterInfo::CParticleResData& desc);
|
|
|
|
void SetModulationColorAllActiveEffects(const zeus::CColor& color);
|
2016-08-21 20:39:18 +00:00
|
|
|
void SuspendAllActiveEffects(CStateManager& stateMgr);
|
|
|
|
void StartEffect(const std::string& name, u32 flags, const CParticleData& data,
|
|
|
|
const zeus::CVector3f& scale, CStateManager& stateMgr, TAreaId aid, u32 unk1);
|
2016-04-12 22:28:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CPARTICLEDATABASE_HPP__
|