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