metaforce/Runtime/Particle/CDecalDescription.hpp

40 lines
1.0 KiB
C++
Raw Permalink Normal View History

2018-10-06 20:42:33 -07:00
#pragma once
#include <memory>
#include "Runtime/Particle/CColorElement.hpp"
#include "Runtime/Particle/CIntElement.hpp"
#include "Runtime/Particle/CParticleDataFactory.hpp"
#include "Runtime/Particle/CRealElement.hpp"
#include "Runtime/Particle/CUVElement.hpp"
#include "Runtime/Particle/CVectorElement.hpp"
2016-02-23 02:34:19 -08:00
2021-04-10 01:42:06 -07:00
namespace metaforce {
2018-03-16 20:41:01 -07:00
2018-12-07 21:30:43 -08:00
struct SQuadDescr {
std::unique_ptr<CIntElement> x0_LFT;
std::unique_ptr<CRealElement> x4_SZE;
std::unique_ptr<CRealElement> x8_ROT;
std::unique_ptr<CVectorElement> xc_OFF;
std::unique_ptr<CColorElement> x10_CLR;
std::unique_ptr<CUVElement> x14_TEX;
bool x18_ADD = false;
2018-03-16 20:41:01 -07:00
};
2018-12-07 21:30:43 -08:00
class CDecalDescription {
2016-02-23 02:34:19 -08:00
public:
CDecalDescription() = default;
2018-12-07 21:30:43 -08:00
SQuadDescr x0_Quads[2];
SParticleModel x38_DMDL;
std::unique_ptr<CIntElement> x48_DLFT;
std::unique_ptr<CVectorElement> x4c_DMOP;
std::unique_ptr<CVectorElement> x50_DMRT;
std::unique_ptr<CVectorElement> x54_DMSC;
std::unique_ptr<CColorElement> x58_DMCL;
bool x5c_24_DMAB : 1 = false;
bool x5c_25_DMOO : 1 = false;
2016-02-10 14:54:47 -08:00
};
2021-04-10 01:42:06 -07:00
} // namespace metaforce