mirror of https://github.com/AxioDL/metaforce.git
185 lines
6.2 KiB
C++
185 lines
6.2 KiB
C++
#ifndef _DNAMP1_CTWEAKTARGETING_HPP_
|
|
#define _DNAMP1_CTWEAKTARGETING_HPP_
|
|
|
|
#include "../../DNACommon/Tweaks/ITweakTargeting.hpp"
|
|
|
|
namespace DataSpec
|
|
{
|
|
namespace DNAMP1
|
|
{
|
|
struct CTweakTargeting final : public ITweakTargeting
|
|
{
|
|
DECL_YAML
|
|
Value<float> x0_;
|
|
Value<atUint32> x4_targetRadiusMode;
|
|
Value<float> x8_;
|
|
Value<float> xc_;
|
|
Value<float> x10_;
|
|
Value<float> x14_;
|
|
Value<float> x18_;
|
|
Value<float> x1c_;
|
|
Value<float> x20_;
|
|
Value<float> x24_seekerScale;
|
|
Value<float> x28_seekerAngleSpeed;
|
|
Value<float> x2c_xrayRetAngleSpeed;
|
|
Value<atVec3f> x30_;
|
|
Value<atVec3f> x3c_;
|
|
Value<float> x48_;
|
|
Value<float> x4c_;
|
|
Value<float> x50_orbitPointZOffset;
|
|
Value<float> x54_orbitPointInTime;
|
|
Value<float> x58_orbitPointOutTime;
|
|
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_;
|
|
DNAColor xb0_thermalReticuleColor;
|
|
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;
|
|
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_;
|
|
DNAColor x150_seekerColor;
|
|
Value<float> x154_;
|
|
Value<float> x158_;
|
|
Value<float> x15c_;
|
|
Value<float> x160_;
|
|
Value<float> x164_seekerClampMin;
|
|
Value<float> x168_seekerClampMax;
|
|
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_;
|
|
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;
|
|
Value<float> x1b0_;
|
|
Value<atVec4f> x1b4_;
|
|
Value<float> x1b8_;
|
|
DNAColor x1bc_orbitPointColor;
|
|
DNAColor x1c0_crosshairsColor;
|
|
Value<float> x1c4_;
|
|
Value<bool> x1c8_drawOrbitPoint;
|
|
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_;
|
|
Value<float> x20c_reticuleClampMin;
|
|
Value<float> x210_reticuleClampMax;
|
|
DNAColor x214_xrayRetRingColor;
|
|
Value<float> x218_reticuleScale;
|
|
Value<float> x21c_scanTargetClampMin;
|
|
Value<float> x220_scanTargetClampMax;
|
|
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_);
|
|
}
|
|
|
|
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_; }
|
|
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; }
|
|
float GetScanTargetClampMin() const { return x21c_scanTargetClampMin; }
|
|
float GetScanTargetClampMax() const { return x220_scanTargetClampMax; }
|
|
};
|
|
}
|
|
}
|
|
#endif // _DNAMP1_CTWEAKTARGETING_HPP_
|