2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 23:07:43 +00:00

New code style refactor

This commit is contained in:
Jack Andersen
2018-12-07 19:30:43 -10:00
parent 41ae32be31
commit 636c82a568
1451 changed files with 171430 additions and 203303 deletions

View File

@@ -4,34 +4,30 @@
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace DataSpec::DNAMP1
{
struct PathCamera : IScriptObject
{
AT_DECL_DNA_YAML
AT_DECL_DNAV
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> active;
struct CameraParameters : BigDNA
{
AT_DECL_DNA
Value<atUint32> propertyCount;
Value<bool> closedLoop;
Value<bool> noFilter;
Value<bool> tangentOrientation;
Value<bool> easeDist;
Value<bool> useHintLookZ;
Value<bool> clampToClosedDoor;
} cameraParameters;
namespace DataSpec::DNAMP1 {
struct PathCamera : IScriptObject {
AT_DECL_DNA_YAML
AT_DECL_DNAV
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> active;
struct CameraParameters : BigDNA {
AT_DECL_DNA
Value<atUint32> propertyCount;
Value<bool> closedLoop;
Value<bool> noFilter;
Value<bool> tangentOrientation;
Value<bool> easeDist;
Value<bool> useHintLookZ;
Value<bool> clampToClosedDoor;
} cameraParameters;
Value<float> lengthExtent;
Value<float> filterMag;
Value<float> filterProportion;
Value<atUint32> initPos;
Value<float> minEaseDist;
Value<float> maxEaseDist;
Value<float> lengthExtent;
Value<float> filterMag;
Value<float> filterProportion;
Value<atUint32> initPos;
Value<float> minEaseDist;
Value<float> maxEaseDist;
};
}
} // namespace DataSpec::DNAMP1