metaforce/Runtime/Particle/CParticleElectricDataFactor...

26 lines
838 B
C++
Raw Normal View History

2016-02-10 22:54:47 +00:00
#ifndef __RETRO_CPARTICLEELECTRICDATAFACTORY_HPP__
#define __RETRO_CPARTICLEELECTRICDATAFACTORY_HPP__
#include "RetroTypes.hpp"
#include "IObj.hpp"
#include "CToken.hpp"
#include "IOStreams.hpp"
namespace Retro
{
class CElectricDescription;
class CSimplePool;
class CParticleElectricDataFactory
{
static CElectricDescription* CreateElectricDescription(CInputStream& in, CSimplePool* resPool);
2016-02-13 06:25:29 +00:00
static bool CreateELSM(CElectricDescription* desc, CInputStream& in, CSimplePool* resPool);
2016-02-10 22:54:47 +00:00
static bool LoadELSMTokens(CElectricDescription* desc);
2016-02-13 08:23:17 +00:00
public:
static CElectricDescription* GetGeneratorDesc(CInputStream& in, CSimplePool* resPool);
2016-02-10 22:54:47 +00:00
};
std::unique_ptr<IObj> FParticleElectricDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms);
}
#endif // __RETRO_CPARTICLEELECTRICDATAFACTORY_HPP__