2015-09-10 20:30:35 +00:00
|
|
|
#ifndef _DNAMP1_ELECTROMAGNETICPULSE_HPP_
|
|
|
|
#define _DNAMP1_ELECTROMAGNETICPULSE_HPP_
|
|
|
|
|
|
|
|
#include "../../DNACommon/DNACommon.hpp"
|
|
|
|
#include "IScriptObject.hpp"
|
|
|
|
#include "Parameters.hpp"
|
|
|
|
|
2017-12-29 08:08:12 +00:00
|
|
|
namespace DataSpec::DNAMP1
|
2015-09-10 20:30:35 +00:00
|
|
|
{
|
|
|
|
struct ElectroMagneticPulse : IScriptObject
|
|
|
|
{
|
|
|
|
DECL_YAML
|
|
|
|
String<-1> name;
|
|
|
|
Value<atVec3f> location;
|
|
|
|
Value<atVec3f> orientation;
|
|
|
|
Value<bool> unknown1;
|
|
|
|
Value<float> unknown2;
|
|
|
|
Value<float> unknown3;
|
|
|
|
Value<float> unknown4;
|
|
|
|
Value<float> unknown5;
|
|
|
|
Value<float> unknown6;
|
|
|
|
Value<float> unknown7;
|
|
|
|
Value<float> unknown8;
|
|
|
|
UniqueID32 particle;
|
2015-10-27 00:19:03 +00:00
|
|
|
|
|
|
|
void nameIDs(PAKRouter<PAKBridge>& pakRouter) const
|
|
|
|
{
|
|
|
|
if (particle)
|
|
|
|
{
|
|
|
|
PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(particle);
|
|
|
|
ent->name = name + "_part";
|
|
|
|
}
|
|
|
|
}
|
2016-10-02 22:41:36 +00:00
|
|
|
|
|
|
|
void gatherDependencies(std::vector<hecl::ProjectPath>& pathsOut) const
|
|
|
|
{
|
|
|
|
g_curSpec->flattenDependencies(particle, pathsOut);
|
|
|
|
}
|
2015-09-10 20:30:35 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|