mirror of https://github.com/AxioDL/metaforce.git
31 lines
1.0 KiB
C++
31 lines
1.0 KiB
C++
#ifndef __URDE_CPARTICLEDATABASE_HPP__
|
|
#define __URDE_CPARTICLEDATABASE_HPP__
|
|
|
|
#include "CCharacterInfo.hpp"
|
|
#include "CParticleGenInfo.hpp"
|
|
#include "zeus/CFrustum.hpp"
|
|
#include <map>
|
|
|
|
namespace urde
|
|
{
|
|
class CPoseAsTransforms;
|
|
class CCharLayoutInfo;
|
|
|
|
class CParticleDatabase
|
|
{
|
|
std::map<std::string, std::unique_ptr<CParticleGenInfo>> x3c_;
|
|
public:
|
|
void CacheParticleDesc(const CCharacterInfo::CParticleResData& desc);
|
|
void SetModulationColorAllActiveEffects(const zeus::CColor& color);
|
|
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);
|
|
void Update(float dt, const CPoseAsTransforms& pose, const CCharLayoutInfo& charInfo,
|
|
const zeus::CTransform& xf, const zeus::CVector3f& vec, CStateManager& stateMgr);
|
|
void AddToRendererClipped(const zeus::CFrustum& frustum);
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_CPARTICLEDATABASE_HPP__
|