mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-08-28 13:37:24 +00:00
30 lines
1.1 KiB
C++
30 lines
1.1 KiB
C++
#ifndef _CPARTICLEDATAFACTORY
|
|
#define _CPARTICLEDATAFACTORY
|
|
|
|
#include "Kyoto/Particles/CGenDescription.hpp"
|
|
#include "Kyoto/Particles/IElement.hpp"
|
|
#include "Kyoto/SObjectTag.hpp"
|
|
|
|
class CInputStream;
|
|
|
|
class CParticleDataFactory {
|
|
public:
|
|
static CGenDescription* GetGeneratorDesc(CInputStream& in, CSimplePool* pool, uint offset);
|
|
static CGenDescription* CreateGeneratorDescription(CInputStream&, rstl::vector< uint >& assets,
|
|
uint offset, CSimplePool* pool);
|
|
static CUVElement* GetTextureElement(CInputStream& in, CSimplePool* resPool);
|
|
static CColorElement* GetColorElement(CInputStream& in);
|
|
static CModVectorElement* GetModVectorElement(CInputStream& in);
|
|
static CEmitterElement* GetEmitterElement(CInputStream& in);
|
|
static CVectorElement* GetVectorElement(CInputStream& in);
|
|
static CRealElement* GetRealElement(CInputStream& in);
|
|
static CIntElement* GetIntElement(CInputStream& in);
|
|
|
|
static float GetReal(CInputStream& in);
|
|
static int GetInt(CInputStream& in);
|
|
static bool GetBool(CInputStream& in);
|
|
static FourCC GetClassID(CInputStream& in);
|
|
};
|
|
|
|
#endif // _CPARTICLEDATAFACTORY
|