metaforce/Runtime/Particle/CDecalDescription.hpp

44 lines
1.0 KiB
C++
Raw Normal View History

2016-04-13 06:07:23 +00:00
#ifndef __URDE_CDECALDESCRIPTION_HPP__
#define __URDE_CDECALDESCRIPTION_HPP__
2016-02-23 10:34:19 +00:00
#include "CRealElement.hpp"
#include "CIntElement.hpp"
#include "CVectorElement.hpp"
#include "CColorElement.hpp"
#include "CUVElement.hpp"
#include "CParticleDataFactory.hpp"
2016-03-04 23:04:53 +00:00
namespace urde
2016-02-10 22:54:47 +00:00
{
2016-02-23 10:34:19 +00: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;
};
2016-02-10 22:54:47 +00:00
class CDecalDescription
{
2016-02-23 10:34:19 +00:00
public:
SQuadDescr x0_Quad;
SQuadDescr x1c_Quad;
SParticleModel x38_DMDL;
2016-03-29 00:07:38 +00:00
std::unique_ptr<CIntElement> x48_DLFT;
2016-02-23 10:34:19 +00:00
std::unique_ptr<CVectorElement> x4c_DMOP;
std::unique_ptr<CVectorElement> x50_DMRT;
std::unique_ptr<CVectorElement> x54_DMSC;
std::unique_ptr<CColorElement> x58_DMCL;
union
{
struct { bool x5c_24_DMAB : 1; bool x5c_25_DMOO : 1;};
u8 dummy = 0;
};
2016-02-10 22:54:47 +00:00
};
}
2016-04-13 06:07:23 +00:00
#endif // __URDE_CDECALDESCRIPTION_HPP__