2015-09-10 20:30:35 +00:00
|
|
|
#ifndef _DNAMP1_SPECIALFUNCTION_HPP_
|
|
|
|
#define _DNAMP1_SPECIALFUNCTION_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 SpecialFunction : IScriptObject
|
|
|
|
{
|
2018-02-22 07:24:51 +00:00
|
|
|
AT_DECL_DNA_YAML
|
|
|
|
AT_DECL_DNAV
|
2015-09-10 20:30:35 +00:00
|
|
|
String<-1> name;
|
|
|
|
Value<atVec3f> location;
|
|
|
|
Value<atVec3f> orientation;
|
2016-12-25 01:36:42 +00:00
|
|
|
Value<ESpecialFunctionType> function;
|
2015-09-10 20:30:35 +00:00
|
|
|
String<-1> unknown1;
|
|
|
|
Value<float> unknown2;
|
|
|
|
Value<float> unknown3;
|
|
|
|
Value<float> unknown4;
|
2018-02-22 07:24:51 +00:00
|
|
|
struct LayerSwitch : BigDNA
|
2015-09-10 20:30:35 +00:00
|
|
|
{
|
2018-02-22 07:24:51 +00:00
|
|
|
AT_DECL_DNA
|
2016-03-02 01:49:21 +00:00
|
|
|
Value<atUint32> area;
|
2015-09-10 20:30:35 +00:00
|
|
|
Value<atUint32> layerIdx;
|
|
|
|
} layerSwitch;
|
|
|
|
Value<EPickupType> pickup;
|
|
|
|
Value<bool> unknown5;
|
|
|
|
Value<float> unknown6;
|
|
|
|
Value<atUint32> unknown7; // Used by SpinnerController 1
|
|
|
|
Value<atUint32> unknown8; // Used by SpinnerController 2
|
|
|
|
Value<atUint32> unknown9; // Used by SpinnerController 3
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|