metaforce/Runtime/Particle/CParticleSwooshDataFactory.hpp

25 lines
761 B
C++
Raw Normal View History

2016-02-10 22:54:47 +00:00
#ifndef __RETRO_CPARTICLESWOOSHDATAFACTORY_HPP__
#define __RETRO_CPARTICLESWOOSHDATAFACTORY_HPP__
#include "RetroTypes.hpp"
#include "IObj.hpp"
#include "CToken.hpp"
#include "IOStreams.hpp"
namespace Retro
{
class CSwooshDescription;
class CSimplePool;
class CParticleSwooshDataFactory
{
2016-02-11 02:39:08 +00:00
static CSwooshDescription* CreateGeneratorDescription(CInputStream& in, CSimplePool* resPool);
2016-02-10 22:54:47 +00:00
static bool CreateWPSM(CSwooshDescription* desc, CInputStream& in, CSimplePool* resPool);
2016-02-13 08:23:17 +00:00
public:
static CSwooshDescription* GetGeneratorDesc(CInputStream& in, CSimplePool* resPool);
2016-02-10 22:54:47 +00:00
};
std::unique_ptr<IObj> FParticleSwooshDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms);
}
#endif // __RETRO_CPARTICLESWOOSHDATAFACTORY_HPP__