metaforce/DataSpec/DNAMP1/ScriptObjects/NewCameraShaker.hpp

41 lines
905 B
C++
Raw Normal View History

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"
2016-02-13 09:02:47 +00:00
namespace DataSpec
2015-09-10 20:30:35 +00:00
{
namespace DNAMP1
{
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;
2015-09-10 20:30:35 +00:00
Value<float> unknown4;
struct CameraShakerParameters : BigYAML
{
DECL_YAML
2017-03-20 05:09:53 +00:00
PlayerParameters flags;
2016-04-18 01:58:13 +00:00
struct ShakerInfo : BigYAML
{
DECL_YAML
2017-03-20 05:09:53 +00:00
PlayerParameters flags;
2016-04-18 01:58:13 +00:00
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
};
ShakerInfo shakers[2];
2015-09-10 20:30:35 +00:00
} cameraShakerParameters1, cameraShakerParameters2, cameraShakerParameters3;
};
}
}
#endif