2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-14 21:11:22 +00:00
metaforce/Runtime/Particle/CParticleElectricDataFactory.hpp
2016-04-12 20:07:23 -10:00

27 lines
856 B
C++

#ifndef __URDE_CPARTICLEELECTRICDATAFACTORY_HPP__
#define __URDE_CPARTICLEELECTRICDATAFACTORY_HPP__
#include "RetroTypes.hpp"
#include "CFactoryMgr.hpp"
#include "IObj.hpp"
#include "CToken.hpp"
#include "IOStreams.hpp"
namespace urde
{
class CElectricDescription;
class CSimplePool;
class CParticleElectricDataFactory
{
static CElectricDescription* CreateElectricDescription(CInputStream& in, CSimplePool* resPool);
static bool CreateELSM(CElectricDescription* desc, CInputStream& in, CSimplePool* resPool);
static void LoadELSMTokens(CElectricDescription* desc);
public:
static CElectricDescription* GetGeneratorDesc(CInputStream& in, CSimplePool* resPool);
};
CFactoryFnReturn FParticleElectricDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms);
}
#endif // __URDE_CPARTICLEELECTRICDATAFACTORY_HPP__