#ifndef __PSHAG_CGENDESCRIPTION_HPP__ #define __PSHAG_CGENDESCRIPTION_HPP__ #include #include "CRealElement.hpp" #include "CIntElement.hpp" #include "CVectorElement.hpp" #include "CModVectorElement.hpp" #include "CColorElement.hpp" #include "CUVElement.hpp" #include "CEmitterElement.hpp" #include "CSpawnSystemKeyframeData.hpp" #include "CParticleDataFactory.hpp" namespace pshag { class CGenDescription { public: std::unique_ptr x0_PSIV; std::unique_ptr x4_PSVM; std::unique_ptr x8_PSOV; std::unique_ptr xc_PSLT; std::unique_ptr x10_PSWT; std::unique_ptr x14_PSTS; std::unique_ptr x18_POFS; std::unique_ptr x1c_SEED; std::unique_ptr x20_LENG; std::unique_ptr x24_WIDT; std::unique_ptr x28_MAXP; std::unique_ptr x2c_GRTE; std::unique_ptr x30_COLR; std::unique_ptr x34_LTME; std::unique_ptr x38_ILOC; std::unique_ptr x3c_IVEC; std::unique_ptr x40_EMTR; union { struct { bool x44_28_SORT : 1; bool x44_30_MBLR : 1; bool x44_24_LINE : 1; bool x44_29_LIT_ : 1; bool x44_26_AAPH : 1; bool x44_27_ZBUF : 1; bool x44_25_FXLL : 1; bool x44_31_PMAB : 1; bool x45_29_VMD4 : 1; bool x45_28_VMD3 : 1; bool x45_27_VMD2 : 1; bool x45_26_VMD1 : 1; bool x45_31_OPTS : 1; bool x45_24_PMUS : 1; bool x45_25_PMOO : 1; bool x45_30_CIND : 1; }; uint16_t dummy1 = 0; }; std::unique_ptr x48_MBSP; std::unique_ptr x4c_SIZE; std::unique_ptr x50_ROTA; std::unique_ptr x54_TEXR; std::unique_ptr x58_TIND; SParticleModel x5c_PMDL; std::unique_ptr x6c_PMOP; std::unique_ptr x70_PMRT; std::unique_ptr x74_PMSC; std::unique_ptr x78_PMCL; std::unique_ptr x7c_VEL1; std::unique_ptr x80_VEL2; std::unique_ptr x84_VEL3; std::unique_ptr x88_VEL4; SChildGeneratorDesc x8c_ICTS; std::unique_ptr x9c_NCSY; std::unique_ptr xa0_CSSD; SChildGeneratorDesc xa4_IDTS; std::unique_ptr xb4_NDSY; SChildGeneratorDesc xb8_IITS; std::unique_ptr xc8_PISY; std::unique_ptr xcc_SISY; std::unique_ptr xd0_KSSM; SSwooshGeneratorDesc xd4_SSWH; std::unique_ptr xe4_SSSD; std::unique_ptr xe8_SSPO; SElectricGeneratorDesc xec_SELC; std::unique_ptr xf8_SESD; std::unique_ptr xfc_SEPO; std::unique_ptr x100_LTYP; std::unique_ptr x104_LCLR; std::unique_ptr x108_LINT; std::unique_ptr x10c_LOFF; std::unique_ptr x110_LDIR; std::unique_ptr x114_LFOT; std::unique_ptr x118_LFOR; std::unique_ptr x11c_LSLA; /* 0-00 additions */ union { struct { bool x30_30_ORNT : 1; bool x30_31_RSOP : 1; }; uint16_t dummy2 = 0; }; std::unique_ptr x10c_ADV1; std::unique_ptr x110_ADV2; std::unique_ptr x114_ADV3; std::unique_ptr x118_ADV4; std::unique_ptr x11c_ADV5; std::unique_ptr x120_ADV6; std::unique_ptr x124_ADV7; std::unique_ptr x128_ADV8; CGenDescription() { x45_25_PMOO = true; } }; } #endif // __PSHAG_CGENDESCRIPTION_HPP__