Match and link CSwooshDescription (#24)

This commit is contained in:
2025-05-09 13:29:40 -07:00
committed by GitHub
parent 61e72d0d90
commit 0d98649abc
2 changed files with 101 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
#ifndef _CSWOOSHDESCRIPTION
#define _CSWOOSHDESCRIPTION
class CColorElement;
class CIntElement;
class CModVectorElement;
class CRealElement;
class CUVElement;
class CVectorElement;
class CSwooshDescription {
CSwooshDescription();
~CSwooshDescription();
CIntElement* x0_PSLT;
CRealElement* x4_TIME;
CRealElement* x8_LRAD;
CRealElement* xc_RRAD;
CIntElement* x10_LENG;
CColorElement* x14_COLR;
CIntElement* x18_SIDE;
CRealElement* x1c_IROT;
CRealElement* x20_ROTM;
CVectorElement* x24_POFS;
CVectorElement* x28_IVEL;
CVectorElement* x2c_NPOS;
CModVectorElement* x30_VELM;
CModVectorElement* x34_VLM2;
CIntElement* x38_SPLN;
CUVElement* x3c_TEXR;
CIntElement* x40_TSPN;
bool x44_24_LLRD : 1;
bool x44_25_CROS : 1;
bool x44_26_VLS1 : 1;
bool x44_27_VLS2 : 1;
bool x44_28_SROT : 1;
bool x44_29_WIRE : 1;
bool x44_30_TEXW : 1;
bool x44_31_AALP : 1;
bool x45_24_ZBUF : 1;
bool x45_25_ORNT : 1;
bool x45_26_CRND : 1;
};
#endif // _CSWOOSHDESCRIPTION

View File

@@ -0,0 +1,57 @@
#include "Kyoto/Particles/CSwooshDescription.hpp"
#include "Kyoto/Particles/CColorElement.hpp"
#include "Kyoto/Particles/CIntElement.hpp"
#include "Kyoto/Particles/CModVectorElement.hpp"
#include "Kyoto/Particles/CRealElement.hpp"
#include "Kyoto/Particles/CUVElement.hpp"
#include "Kyoto/Particles/CVectorElement.hpp"
CSwooshDescription::CSwooshDescription()
: x0_PSLT(nullptr)
, x4_TIME(nullptr)
, x8_LRAD(nullptr)
, xc_RRAD(nullptr)
, x10_LENG(nullptr)
, x14_COLR(nullptr)
, x18_SIDE(nullptr)
, x1c_IROT(nullptr)
, x20_ROTM(nullptr)
, x24_POFS(nullptr)
, x28_IVEL(nullptr)
, x2c_NPOS(nullptr)
, x30_VELM(nullptr)
, x34_VLM2(nullptr)
, x38_SPLN(nullptr)
, x3c_TEXR(nullptr)
, x40_TSPN(nullptr)
, x44_24_LLRD(false)
, x44_25_CROS(true)
, x44_26_VLS1(false)
, x44_27_VLS2(false)
, x44_28_SROT(false)
, x44_29_WIRE(false)
, x44_30_TEXW(false)
, x44_31_AALP(false)
, x45_24_ZBUF(false)
, x45_25_ORNT(false)
, x45_26_CRND(false) {}
CSwooshDescription::~CSwooshDescription() {
delete x0_PSLT;
delete x4_TIME;
delete x8_LRAD;
delete xc_RRAD;
delete x10_LENG;
delete x14_COLR;
delete x18_SIDE;
delete x1c_IROT;
delete x20_ROTM;
delete x24_POFS;
delete x28_IVEL;
delete x2c_NPOS;
delete x30_VELM;
delete x34_VLM2;
delete x38_SPLN;
delete x3c_TEXR;
delete x40_TSPN;
}