2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CPARTICLEELECTRICDATAFACTORY_HPP__
|
|
|
|
#define __URDE_CPARTICLEELECTRICDATAFACTORY_HPP__
|
2016-02-10 22:54:47 +00:00
|
|
|
|
|
|
|
#include "RetroTypes.hpp"
|
2016-03-31 00:38:03 +00:00
|
|
|
#include "CFactoryMgr.hpp"
|
2016-02-10 22:54:47 +00:00
|
|
|
#include "IObj.hpp"
|
|
|
|
#include "CToken.hpp"
|
|
|
|
#include "IOStreams.hpp"
|
|
|
|
|
2016-03-04 23:04:53 +00:00
|
|
|
namespace urde
|
2016-02-10 22:54:47 +00:00
|
|
|
{
|
|
|
|
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-15 08:23:50 +00:00
|
|
|
static void 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
|
|
|
};
|
|
|
|
|
2016-03-31 00:38:03 +00:00
|
|
|
CFactoryFnReturn FParticleElectricDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms);
|
2016-02-10 22:54:47 +00:00
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CPARTICLEELECTRICDATAFACTORY_HPP__
|