2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 12:27:43 +00:00

Implement CFlameWarp

This commit is contained in:
Jack Andersen
2017-09-09 23:04:51 -10:00
parent 149eed4b73
commit 53ec80ce72
8 changed files with 137 additions and 54 deletions

View File

@@ -3,7 +3,6 @@
#include "RetroTypes.hpp"
#include "Graphics/CLight.hpp"
#include "CWarp.hpp"
#include "zeus/CColor.hpp"
#include "zeus/CVector3f.hpp"
#include "zeus/CTransform.hpp"
@@ -12,9 +11,23 @@
namespace urde
{
class CWarp;
struct CParticle
{
int x0_endFrame = 0;
zeus::CVector3f x4_pos;
zeus::CVector3f x10_prevPos;
zeus::CVector3f x1c_vel;
int x28_startFrame = 0;
float x2c_lineLengthOrSize = 0.f;
float x30_lineWidthOrRota = 0.f;
zeus::CColor x34_color = {0.f, 0.f, 0.f, 1.f};
};
class CParticleGen
{
protected:
std::list<CWarp*> x4_modifierList;
public:
virtual ~CParticleGen() = default;