2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CPARTICLEDATA_HPP__
|
|
|
|
#define __URDE_CPARTICLEDATA_HPP__
|
2016-04-11 07:10:28 +00:00
|
|
|
|
|
|
|
#include "IOStreams.hpp"
|
|
|
|
#include "RetroTypes.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CParticleData
|
|
|
|
{
|
2016-04-11 23:35:37 +00:00
|
|
|
public:
|
|
|
|
enum class EParentedMode
|
|
|
|
{
|
|
|
|
Initial,
|
|
|
|
ContinuousEmitter,
|
|
|
|
ContinuousSystem
|
|
|
|
};
|
|
|
|
private:
|
2016-04-16 21:49:47 +00:00
|
|
|
u32 x0_duration = 0;
|
2016-04-11 07:10:28 +00:00
|
|
|
SObjectTag x4_particle;
|
2016-04-16 21:49:47 +00:00
|
|
|
std::string xc_boneName = "root";
|
|
|
|
float x1c_scale = 1.f;
|
|
|
|
EParentedMode x20_parentMode = EParentedMode::Initial;
|
2016-04-11 07:10:28 +00:00
|
|
|
public:
|
2016-04-16 21:49:47 +00:00
|
|
|
CParticleData() = default;
|
2016-04-11 07:10:28 +00:00
|
|
|
CParticleData(CInputStream& in);
|
2016-04-12 06:15:32 +00:00
|
|
|
EParentedMode GetParentedMode() const {return x20_parentMode;}
|
2016-04-11 07:10:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CPARTICLEDATA_HPP__
|