#ifndef _DNAMP1_CTWEAKGUI_HPP_ #define _DNAMP1_CTWEAKGUI_HPP_ #include "../../DNACommon/Tweaks/ITweakGui.hpp" namespace DataSpec { namespace DNAMP1 { struct CTweakGui : ITweakGui { DECL_YAML Value x4_; Value x8_; Value xc_; Value x10_; Value x14_; Value x18_; Value x1c_; Value x20_; Value x24_; Value x28_; atUint32 x2c_ = 0; Value x30_; Value x34_; Value x38_; Value x3c_; Value x40_; Value x44_; Value x48_; Value x4c_; Value x50_; Value x54_; Value x58_; Value x5c_; Value x60_; Value x64_; Value x70_; Value x7c_; Value x80_; 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_; Value xc8_; Value xcc_; Value xd0_; Value xd4_; Value xd8_; Value xdc_; Value xe0_; Value xe4_; Value xe8_; Value xec_; Value xf0_; Value xf4_; Value xf8_; Value xfc_; Value x100_; Value x104_; Value x108_; Value x10c_; Value x110_; Value x114_; Value x118_; Value x11c_; Value x120_; Value x124_; Value x128_; Value x12c_; Value x130_; Value x134_; Value x138_; Value x13c_; Value x140_; Value x144_; Value x148_; Value x14c_; String<-1> x150_; String<-1> x160_; String<-1> x170_; String<-1> x180_; String<-1> x190_; Value x1a0_; Value x1a4_; Value x1a8_; Value x1ac_; Value x1b0_; Value x1b4_; Value x1b8_; Value x1bc_; Value x1c0_; Value x1c4_; Value x1c8_; Value x1cc_; Value x1cd_; Value x1d0_; Value x1d4_; Value x1d8_; Value x1dc_; Value x1e0_; Value x1e4_; Value x1e8_; Value x1ec_; Value x1f0_; Value x1f4_; Value x1f8_; Value x1fc_; atVec4f x200_; float x204_xrayBlurScaleLinear = 0.0014f; float x208_xrayBlurScaleQuadratic = 0.0000525f; Value x20c_; Value x210_; Value x214_; Value x218_; Value x21c_; Value x220_; Value x224_; float x228_; Value x22c_; Value x230_; Value x234_; Value x238_; Value x23c_; Value x240_; Value x244_; Value x248_; Value x24c_; Value x250_; Value x254_; Value x258_; Value x25c_; Value x260_; Value x264_; Value x268_; Value x26c_; Value x270_; Value x274_; Value x275_ = true; Value x278_; Value x27c_; Value x280_; Value x284_; Value x288_; Value x28c_; Value x290_; Value x294_; Value x298_; Value x29c_; Value x2a0_; Value x2a4_; Value x2a8_; Value x2ac_; Value x2b0_; Value x2b4_; Value x2b8_; Value x2bc_; Value x2c0_; Value m_scanSpeedsCount; Vector x2c4_scanSpeeds; String<-1> x2d0_; String<-1> x2e0_; String<-1> x2f0_; Value x300_; Value x304_; Value x308_; Value x30c_; Value x310_; String<-1> x314_; String<-1> x324_; String<-1> x334_; Value x344_; Value x348_; Value x34c_; Value x350_; Value x354_; Value x358_; Value x35c_; Value x360_; Value x364_; float GetXrayBlurScaleLinear() const { return x204_xrayBlurScaleLinear; } float GetXrayBlurScaleQuadratic() const { return x208_xrayBlurScaleQuadratic; } float GetScanSpeed(int idx) const { if (idx < 0 || idx >= x2c4_scanSpeeds.size()) return 0.f; return x2c4_scanSpeeds[idx]; } void FixupValues() { xd8_ = zeus::degToRad(xd8_); xdc_ = zeus::degToRad(xdc_); x200_.vec[0] = x1f4_ * 0.25f; x200_.vec[1] = x1f8_ * 0.25f; x200_.vec[2] = x1fc_ * 0.25f; x200_.vec[3] = 1.f; x210_ = zeus::degToRad(x210_); x228_ = x220_ + x224_; if (x27c_ == 1) x27c_ = 2; else if (x27c_ == 2) x27c_ = 4; else if (x27c_ == 3) x27c_ = 5; else x27c_ = 0; x84_ *= 2.0f; } }; } } #endif // _DNAMP1_CTWEAKGUI_HPP_