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
|
|
|
|
{
|
|
|
|
DECL_YAML
|
|
|
|
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;
|
|
|
|
struct CameraShakerComponent : BigYAML
|
2015-09-10 20:30:35 +00:00
|
|
|
{
|
|
|
|
DECL_YAML
|
2017-03-20 05:09:53 +00:00
|
|
|
PlayerParameters flags;
|
2017-10-10 03:50:48 +00:00
|
|
|
struct CameraShakePoint : BigYAML
|
2016-04-18 01:58:13 +00:00
|
|
|
{
|
|
|
|
DECL_YAML
|
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
|