2015-09-10 20:30:35 +00:00
|
|
|
#ifndef _DNAMP1_NEWCAMERASHAKER_HPP_
|
|
|
|
#define _DNAMP1_NEWCAMERASHAKER_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 NewCameraShaker : 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;
|
2017-03-20 05:09:53 +00:00
|
|
|
Value<bool> active;
|
|
|
|
PlayerParameters flags;
|
|
|
|
Value<float> duration;
|
2017-10-10 03:50:48 +00:00
|
|
|
Value<float> sfxDist;
|
2018-02-22 07:24:51 +00:00
|
|
|
struct CameraShakerComponent : BigDNA
|
2015-09-10 20:30:35 +00:00
|
|
|
{
|
2018-02-22 07:24:51 +00:00
|
|
|
AT_DECL_DNA
|
2017-03-20 05:09:53 +00:00
|
|
|
PlayerParameters flags;
|
2018-02-22 07:24:51 +00:00
|
|
|
struct CameraShakePoint : BigDNA
|
2016-04-18 01:58:13 +00:00
|
|
|
{
|
2018-02-22 07:24:51 +00:00
|
|
|
AT_DECL_DNA
|
2017-03-20 05:09:53 +00:00
|
|
|
PlayerParameters flags;
|
2017-10-10 03:50:48 +00:00
|
|
|
Value<float> attackTime;
|
|
|
|
Value<float> sustainTime;
|
|
|
|
Value<float> duration;
|
|
|
|
Value<float> magnitude;
|
2016-04-18 01:58:13 +00:00
|
|
|
};
|
2017-10-10 03:50:48 +00:00
|
|
|
CameraShakePoint am;
|
|
|
|
CameraShakePoint fm;
|
|
|
|
} shakerComponents[3];
|
2015-09-10 20:30:35 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|