#ifndef __DNAMP1_CTWEAKBALL_HPP__ #define __DNAMP1_CTWEAKBALL_HPP__ #include "../../DNACommon/Tweaks/ITweakBall.hpp" #include "zeus/CVector3f.hpp" namespace DataSpec { namespace DNAMP1 { struct CTweakBall : public ITweakBall { DECL_YAML Delete __d; Value x4_maxTranslationAcceleration[8]; Value x24_translationFriction[8]; Value x44_translationMaxSpeed[8]; Value x64_; Value x68_; Value x6c_; Value x70_; Value x74_; Value x78_; Value x84_; Value x88_; Value x8c_; Value x90_; Value x94_; Value x98_; Value x9c_; Value xa0_; Value xa4_; Value xa8_; Value xac_; Value xb0_; Value xb4_; Value xb8_; Value xbc_; Value xc0_; Value xc4_[8]; Value xe4_; Value xe8_; float xec_ = 10000.f; float xf0_ = 1000.f; float xf4_ = 40000.f; float xf8_ = 40000.f; float xfc_ = 40000.f; float x100_ = 40000.f; float x104_ = 40000.f; float x108_ = 40000.f; float x10c_ = 10000.f; float x110_ = 1000.f; float x114_ = 40000.f; float x118_ = 40000.f; float x11c_ = 40000.f; float x120_ = 40000.f; float x124_ = 40000.f; float x128_ = 40000.f; float x12c_ = 10000.f; float x130_ = 10000.f; float x134_ = 1000.f; float x138_ = 10000.f; float x13c_ = 2000.f; float x140_ = 2000.f; float x144_ = 2000.f; float x148_ = 2000.f; Value x14c_; Value x150_; Value x158_; Value x154_; Value x15c_; Value x160_; Value x164_; Value x168_; Value x16c_; Value x170_; Value x174_; Value x178_; Value x17c_; Value x180_; Value x184_; Value x188_; Value x18c_; Value x198_; Value x19c_; Value x1a0_; Value x1a4_; Value x1a8_; Value x1ac_; Value x1b0_; Value x1b4_; Value x1b8_; Value x1c4_; Value x1c8_; Value x1cc_; Value x1d0_ballCameraControlDistance; Value x1d4_; Value x1d8_; Value x1dc_; Value x1e0_; Value x1ec_; Value x1f0_; Value x1f4_; Value x1f8_; Value x1fc_; Value x1e4_leftStickDivisor; Value x1e8_rightStickDivisor; Value x200_; Value x204_; float x208_; Value x20c_; Value x218_; Value x21c_; Value x220_; Value x224_; Value x210_; float x228_; Value x22c_; Value x230_; Value x234_; CTweakBall()=default; CTweakBall(athena::io::IStreamReader& r) { this->read(r); x74_ = zeus::degToRad(x74_); x90_ = zeus::degToRad(x90_); x15c_ = zeus::degToRad(x15c_); x16c_ = zeus::degToRad(x16c_); x174_ = zeus::degToRad(x174_); x17c_ = zeus::degToRad(x17c_); x184_ = zeus::degToRad(x184_); x188_ = zeus::degToRad(x188_); x1a8_ = zeus::degToRad(x1a8_); x1b0_ = zeus::degToRad(x1b0_); x1b4_ = zeus::degToRad(x1b4_); x1ec_ = zeus::degToRad(x1ec_); } float GetMaxBallTranslationAcceleration(int s) const { return x4_maxTranslationAcceleration[s]; } float GetBallTranslationFriction(int s) const { return x24_translationFriction[s]; } float GetBallTranslationMaxSpeed(int s) const { return x44_translationMaxSpeed[s]; } float GetBallCameraControlDistance() const { return x1d0_ballCameraControlDistance; } float GetLeftStickDivisor() const { return x1e4_leftStickDivisor; } float GetRightStickDivisor() const { return x1e8_rightStickDivisor; } }; } } #endif // __DNAMP1_CTWEAKBALL_HPP__