2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 00:27:42 +00:00

ProjectileWeapon factory, CollisionResponse stub

This commit is contained in:
2016-02-13 11:05:59 -08:00
parent b477a9a9f5
commit 07a6bad207
8 changed files with 235 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
#ifndef __PSHAG_CPROJECTILEWEAPONDATAFACTORY_HPP__
#define __PSHAG_CPROJECTILEWEAPONDATAFACTORY_HPP__
#include "RetroTypes.hpp"
#include "IObj.hpp"
#include "CToken.hpp"
#include "IOStreams.hpp"
namespace pshag
{
class CWeaponDescription;
class CSimplePool;
class CProjectileWeaponDataFactory
{
static CWeaponDescription* CreateGeneratorDescription(CInputStream& in, CSimplePool* resPool);
static bool CreateWPSM(CWeaponDescription* desc, CInputStream& in, CSimplePool* resPool);
public:
static CWeaponDescription* GetGeneratorDesc(CInputStream& in, CSimplePool* resPool);
};
std::unique_ptr<IObj> FProjectileWeaponDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms);
}
#endif // __PSHAG_CPROJECTILEWEAPONDATAFACTORY_HPP__