2018-10-06 20:42:33 -07:00
|
|
|
#pragma once
|
2016-02-10 14:54:47 -08:00
|
|
|
|
2020-03-12 11:14:02 -07:00
|
|
|
#include <memory>
|
|
|
|
|
2019-09-22 14:52:05 -07:00
|
|
|
#include "Runtime/CFactoryMgr.hpp"
|
|
|
|
#include "Runtime/CToken.hpp"
|
2022-02-19 05:04:45 -08:00
|
|
|
#include "Runtime/Streams/IOStreams.hpp"
|
2019-09-22 14:52:05 -07:00
|
|
|
#include "Runtime/IObj.hpp"
|
|
|
|
#include "Runtime/RetroTypes.hpp"
|
2016-02-10 14:54:47 -08:00
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
namespace metaforce {
|
2016-02-10 14:54:47 -08:00
|
|
|
class CSwooshDescription;
|
|
|
|
class CSimplePool;
|
2018-12-07 21:30:43 -08:00
|
|
|
class CParticleSwooshDataFactory {
|
2020-03-12 11:14:02 -07:00
|
|
|
static std::unique_ptr<CSwooshDescription> CreateGeneratorDescription(CInputStream& in, CSimplePool* resPool);
|
2018-12-07 21:30:43 -08:00
|
|
|
static bool CreateWPSM(CSwooshDescription* desc, CInputStream& in, CSimplePool* resPool);
|
|
|
|
|
2016-02-13 00:23:17 -08:00
|
|
|
public:
|
2020-03-12 11:14:02 -07:00
|
|
|
static std::unique_ptr<CSwooshDescription> GetGeneratorDesc(CInputStream& in, CSimplePool* resPool);
|
2016-02-10 14:54:47 -08:00
|
|
|
};
|
|
|
|
|
2017-02-13 13:29:00 -08:00
|
|
|
CFactoryFnReturn FParticleSwooshDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms,
|
|
|
|
CObjectReference*);
|
2021-04-10 01:42:06 -07:00
|
|
|
} // namespace metaforce
|