metaforce/Runtime/Particle/CFlameWarp.hpp

40 lines
924 B
C++
Raw Normal View History

2016-04-13 06:07:23 +00:00
#ifndef __URDE_CFLAMEWARP_HPP__
#define __URDE_CFLAMEWARP_HPP__
2016-02-16 03:25:06 +00:00
#include "CWarp.hpp"
2016-03-04 23:04:53 +00:00
namespace urde
2016-02-16 03:25:06 +00:00
{
class CFlameWarp : public CWarp
{
2016-03-04 23:04:53 +00:00
zeus::CVector3f x4;
zeus::CVector3f xc;
2016-02-16 03:25:06 +00:00
float x1c;
float x20;
int x24;
bool x28_activated : 1;
public:
2016-03-04 23:04:53 +00:00
CFlameWarp(float a, const zeus::CVector3f& b)
2016-02-16 03:25:06 +00:00
: x4(b), x1c(0.0), x20(a * a), x24(0)
{
x28_activated = false;
}
~CFlameWarp() {}
bool UpdateWarp() { return x28_activated; }
void ModifyParticles(int, int, int *,
2016-03-04 23:04:53 +00:00
zeus::CVector3f*,
zeus::CVector3f*,
zeus::CVector3f*,
zeus::CColor*,
2016-02-16 03:25:06 +00:00
float*, float*) {}
2016-02-16 07:01:55 +00:00
void Activate(bool val) { x28_activated = val; }
2016-02-16 03:25:06 +00:00
bool IsActivated() { return x28_activated; }
FourCC Get4CharID() { return FOURCC('FWRP'); }
};
}
2016-04-13 06:07:23 +00:00
#endif // __URDE_CFLAMEWARP_HPP__