2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-02-13 19:05:59 +00:00
|
|
|
|
|
|
|
#include "RetroTypes.hpp"
|
2016-03-31 00:38:03 +00:00
|
|
|
#include "CFactoryMgr.hpp"
|
2016-02-13 19:05:59 +00:00
|
|
|
#include "IObj.hpp"
|
|
|
|
#include "CToken.hpp"
|
|
|
|
#include "IOStreams.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2016-02-13 19:05:59 +00:00
|
|
|
class CWeaponDescription;
|
|
|
|
class CSimplePool;
|
2018-12-08 05:30:43 +00:00
|
|
|
class CProjectileWeaponDataFactory {
|
|
|
|
static CWeaponDescription* CreateGeneratorDescription(CInputStream& in, CSimplePool* resPool);
|
|
|
|
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:
|
2018-12-08 05:30:43 +00:00
|
|
|
static 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*);
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|