metaforce/DataSpec/DNAMP1/Tweaks/CTweakTargeting.hpp

185 lines
6.2 KiB
C++
Raw Normal View History

2017-01-21 06:03:37 +00:00
#ifndef _DNAMP1_CTWEAKTARGETING_HPP_
#define _DNAMP1_CTWEAKTARGETING_HPP_
#include "../../DNACommon/Tweaks/ITweakTargeting.hpp"
namespace DataSpec
{
namespace DNAMP1
{
struct CTweakTargeting final : public ITweakTargeting
2017-01-21 06:03:37 +00:00
{
DECL_YAML
2017-10-29 06:21:52 +00:00
Value<float> x0_;
Value<atUint32> x4_targetRadiusMode;
2017-01-21 22:26:07 +00:00
Value<float> x8_;
Value<float> xc_;
Value<float> x10_;
Value<float> x14_;
Value<float> x18_;
Value<float> x1c_;
Value<float> x20_;
2017-10-29 06:21:52 +00:00
Value<float> x24_seekerScale;
Value<float> x28_seekerAngleSpeed;
Value<float> x2c_xrayRetAngleSpeed;
2017-01-21 22:26:07 +00:00
Value<atVec3f> x30_;
Value<atVec3f> x3c_;
Value<float> x48_;
Value<float> x4c_;
2017-10-29 06:21:52 +00:00
Value<float> x50_orbitPointZOffset;
Value<float> x54_orbitPointInTime;
Value<float> x58_orbitPointOutTime;
2017-01-21 22:26:07 +00:00
Value<float> x5c_;
Value<atVec3f> x60_;
Value<atVec3f> x6c_;
Value<atVec3f> x78_;
Value<atVec3f> x84_;
Value<float> x90_;
Value<float> x94_;
Value<float> x98_;
Value<float> x9c_;
Value<float> xa0_;
Value<float> xa4_;
Value<float> xa8_;
Value<float> xac_;
2017-10-29 06:21:52 +00:00
DNAColor xb0_thermalReticuleColor;
2017-01-21 22:26:07 +00:00
Value<float> xb4_;
Value<atVec4f> xb8_;
Value<float> xbc_;
Value<float> xc0_;
Value<float> xc4_;
Value<float> xc8_;
Value<atVec4f> xcc_;
Value<float> xd0_;
Value<float> xd4_;
Value<atVec4f> xd8_;
Value<atVec4f> xdc_;
Value<atVec4f> xe0_;
Value<atVec4f> xe4_;
Value<float> xe8_overshootOffset;
2017-01-21 22:26:07 +00:00
Value<float> xec_;
Value<float> xf0_;
Value<atVec4f> xf4_;
Value<atUint32> xf8_entryCount;
struct UnkVec : BigYAML
{
DECL_YAML
Value<atUint32> count;
Vector<float, DNA_COUNT(count)> floats;
};
Vector<UnkVec, DNA_COUNT(xf8_entryCount)> xf8_;
Value<atUint32> x108_entryCount;
Vector<float, DNA_COUNT(x108_entryCount)> x108_;
Value<float> x118_;
Value<atVec4f> x11c_;
Value<atUint32> x120_;
Value<float> x124_;
Value<float> x128_;
Value<float> x12c_;
Value<atVec4f> x130_;
Value<float> x134_;
Value<float> x138_;
Value<atVec4f> x13c_;
Value<float> x140_;
Value<float> x144_;
Value<float> x148_;
Value<atVec4f> x14c_;
2017-10-29 06:21:52 +00:00
DNAColor x150_seekerColor;
2017-01-21 22:26:07 +00:00
Value<float> x154_;
Value<float> x158_;
Value<float> x15c_;
Value<float> x160_;
2017-10-29 06:21:52 +00:00
Value<float> x164_seekerClampMin;
Value<float> x168_seekerClampMax;
2017-01-21 22:26:07 +00:00
Value<float> x16c_;
Value<float> x170_;
Value<float> x174_;
Value<float> x178_;
Value<float> x17c_;
Value<float> x180_;
Value<float> x184_;
Value<float> x188_;
Value<float> x18c_;
Value<float> x190_;
2017-10-29 06:21:52 +00:00
Value<float> x194_grappleSelectScale;
Value<float> x198_grappleScale;
Value<float> x19c_grappleClampMin;
Value<float> x1a0_grappleClampMax;
DNAColor x1a4_grapplePointSelectColor;
DNAColor x1a8_grapplePointColor;
DNAColor x1ac_lockedGrapplePointSelectColor;
2017-01-21 22:26:07 +00:00
Value<float> x1b0_;
Value<atVec4f> x1b4_;
Value<float> x1b8_;
2017-10-29 06:21:52 +00:00
DNAColor x1bc_orbitPointColor;
DNAColor x1c0_crosshairsColor;
2017-01-21 22:26:07 +00:00
Value<float> x1c4_;
2017-10-29 06:21:52 +00:00
Value<bool> x1c8_drawOrbitPoint;
2017-01-21 22:26:07 +00:00
Value<atVec4f> x1cc_;
Value<float> x1d0_;
Value<atVec4f> x1d4_;
Value<atVec4f> x1d8_;
Value<atVec4f> x1dc_;
Value<float> x1e0_;
Value<float> x1e4_;
Value<float> x1e8_;
Value<float> x1ec_;
Value<float> x1f0_;
Value<float> x1f4_;
Value<float> x1f8_;
Value<float> x1fc_;
Value<float> x200_;
Value<float> x204_;
Value<float> x208_;
2017-10-29 06:21:52 +00:00
Value<float> x20c_reticuleClampMin;
Value<float> x210_reticuleClampMax;
DNAColor x214_xrayRetRingColor;
Value<float> x218_reticuleScale;
2017-05-30 03:45:31 +00:00
Value<float> x21c_scanTargetClampMin;
Value<float> x220_scanTargetClampMax;
2017-01-21 22:26:07 +00:00
Value<float> x224_;
CTweakTargeting() = default;
CTweakTargeting(athena::io::IStreamReader& r)
{
this->read(r);
x124_ = -1.f * ((2 * M_PIF) * (0.003f * x124_));
x140_ = (2.f * M_PIF) * (0.003f * x140_);
x144_ = (2.f * M_PIF) * (0.003f * x144_);
x208_ = (2.f * M_PIF) * (0.003f * x208_);
}
2017-10-29 06:21:52 +00:00
atUint32 GetTargetRadiusMode() const { return x4_targetRadiusMode; }
float GetSeekerScale() const { return x24_seekerScale; }
float GetSeekerAngleSpeed() const { return x28_seekerAngleSpeed; }
float GetXRayRetAngleSpeed() const { return x2c_xrayRetAngleSpeed; }
float GetOrbitPointZOffset() const { return x50_orbitPointZOffset; }
float GetOrbitPointInTime() const { return x54_orbitPointInTime; }
float GetOrbitPointOutTime() const { return x58_orbitPointOutTime; }
const zeus::CColor& GetThermalReticuleColor() const { return xb0_thermalReticuleColor; }
float GetOvershootOffset() const { return xe8_overshootOffset; }
float GetXD0() const { return xd0_; }
2017-10-29 06:21:52 +00:00
const zeus::CColor& GetSeekerColor() const { return x150_seekerColor; }
float GetSeekerClampMin() const { return x164_seekerClampMin; }
float GetSeekerClampMax() const { return x168_seekerClampMax; }
float GetGrappleSelectScale() const { return x194_grappleSelectScale; }
float GetGrappleScale() const { return x198_grappleScale; }
float GetGrappleClampMin() const { return x19c_grappleClampMin; }
float GetGrappleClampMax() const { return x1a0_grappleClampMax; }
const zeus::CColor& GetGrapplePointSelectColor() const { return x1a4_grapplePointSelectColor; }
const zeus::CColor& GetGrapplePointColor() const { return x1a8_grapplePointColor; }
const zeus::CColor& GetLockedGrapplePointSelectColor() const { return x1ac_lockedGrapplePointSelectColor; }
const zeus::CColor& GetOrbitPointColor() const { return x1bc_orbitPointColor; }
const zeus::CColor& GetCrosshairsColor() const { return x1c0_crosshairsColor; }
bool DrawOrbitPoint() const { return x1c8_drawOrbitPoint; }
float GetReticuleClampMin() const { return x20c_reticuleClampMin; }
float GetReticuleClampMax() const { return x210_reticuleClampMax; }
const zeus::CColor& GetXRayRetRingColor() const { return x214_xrayRetRingColor; }
float GetReticuleScale() const { return x218_reticuleScale; }
2017-05-30 03:45:31 +00:00
float GetScanTargetClampMin() const { return x21c_scanTargetClampMin; }
float GetScanTargetClampMax() const { return x220_scanTargetClampMax; }
2017-01-21 06:03:37 +00:00
};
}
}
#endif // _DNAMP1_CTWEAKTARGETING_HPP_