diff --git a/Runtime/Particle/CIntElement.cpp b/Runtime/Particle/CIntElement.cpp index d7223a6cd..cd11e8583 100644 --- a/Runtime/Particle/CIntElement.cpp +++ b/Runtime/Particle/CIntElement.cpp @@ -207,6 +207,18 @@ bool CIEGTCP::GetValue(int frame, int& valOut) const return false; } +bool CIEGAPC::GetValue(int frame, int &valOut) const +{ + /* TODO: Do */ + return false; +} + +bool CIEGEMT::GetValue(int frame, int &valOut) const +{ + /* TODO: Do */ + return false; +} + bool CIEModulo::GetValue(int frame, int& valOut) const { int a, b; diff --git a/Runtime/Particle/CIntElement.hpp b/Runtime/Particle/CIntElement.hpp index 61bd45b4b..d29fac435 100644 --- a/Runtime/Particle/CIntElement.hpp +++ b/Runtime/Particle/CIntElement.hpp @@ -158,6 +158,18 @@ public: bool GetValue(int frame, int& valOut) const; }; +class CIEGAPC : public CIntElement +{ +public: + bool GetValue(int frame, int &valOut) const; +}; + +class CIEGEMT : public CIntElement +{ +public: + bool GetValue(int frame, int &valOut) const; +}; + class CIEModulo : public CIntElement { std::unique_ptr x4_a; diff --git a/Runtime/Particle/CParticleDataFactory.cpp b/Runtime/Particle/CParticleDataFactory.cpp index ad88b0c5b..4238be54b 100644 --- a/Runtime/Particle/CParticleDataFactory.cpp +++ b/Runtime/Particle/CParticleDataFactory.cpp @@ -739,10 +739,18 @@ CIntElement* CParticleDataFactory::GetIntElement(CInputStream& in) CRealElement* a = GetRealElement(in); return new CIETimeScale(a); } + case SBIG('GAPC'): + { + return new CIEGAPC; + } case SBIG('GTCP'): { return new CIEGTCP; } + case SBIG('GEMT'): + { + return new GIEGEMT; + } case SBIG('MODU'): { CIntElement* a = GetIntElement(in);