#ifndef __DNAMP1_CTWEAKAUTOMAPPER_HPP__ #define __DNAMP1_CTWEAKAUTOMAPPER_HPP__ #include "../../DataSpec/DNACommon/Tweaks/ITweakAutoMapper.hpp" #include "zeus/CVector3f.hpp" namespace DataSpec { namespace DNAMP1 { struct CTweakAutoMapper : public ITweakAutoMapper { DECL_YAML Value x4_24_showOneMiniMapArea : 1; Value x4_25_ : 1; Value x4_26_scaleMoveSpeedWithCamDist : 1; Value x8_camDist; Value xc_minCamDist; Value x10_maxCamDist; Value x14_minCamRotateX; Value x18_maxCamRotateX; Value x1c_camAngle; Value x20_; DNAColor x24_; Value x28_miniCamDist; Value x2c_miniCamXAngle; Value x30_miniCamAngle; Value x34_; DNAColor x38_; DNAColor x3c_; DNAColor x40_; DNAColor x44_; DNAColor x48_; DNAColor x4c_; DNAColor x50_; Value x54_; Value x58_; Value x5c_; float x60_ = 0.4f; Value x64_openMapScreenTime; Value x68_closeMapScreenTime; Value x6c_hintPanTime; Value x70_zoomUnitsPerFrame; Value x74_rotateDegPerFrame; Value x78_baseMapScreenCameraMoveSpeed; DNAColor x7c_; DNAColor x80_; Value x84_miniAlphaSurfaceVisited; Value x88_alphaSurfaceVisited; Value x8c_miniAlphaOutlineVisited; Value x90_alphaOutlineVisited; Value x94_miniAlphaSurfaceUnvisited; Value x98_alphaSurfaceUnvisited; Value x9c_miniAlphaOutlineUnvisited; Value xa0_alphaOutlineUnvisited; /* Originally 4 separate floats */ Value xa4_doorCenter; Value xb0_; Value xb4_; Value xb8_miniMapViewportWidth; Value xbc_miniMapViewportHeight; Value xc0_miniMapCamDistScale; Value xc4_; Value xc8_; Value xcc_; Value xd0_universeCamDist; Value xd4_minUniverseCamDist; Value xd8_maxUniverseCamDist; Value xdc_switchToFromUniverseTime; Value xe0_camPanUnitsPerFrame; Value xe4_; Value xe8_; Value xec_camVerticalOffset; DNAColor xf0_; DNAColor xf4_; DNAColor xf8_; DNAColor xfc_; Value x100_doorColorCount; Vector x104_doorColors; DNAColor x118_doorBorderColor; DNAColor x11c_openDoorColor; CTweakAutoMapper() = default; CTweakAutoMapper(athena::io::IStreamReader& r) { this->read(r); } bool GetShowOneMiniMapArea() const { return x4_24_showOneMiniMapArea; } bool GetScaleMoveSpeedWithCamDist() const { return x4_26_scaleMoveSpeedWithCamDist; } float GetCamDist() const { return x8_camDist; } float GetMinCamDist() const { return xc_minCamDist; } float GetMaxCamDist() const { return x10_maxCamDist; } float GetMinCamRotateX() const { return x14_minCamRotateX; } float GetMaxCamRotateX() const { return x18_maxCamRotateX; } float GetCamAngle() const { return x1c_camAngle; } float GetMiniCamDist() const { return x28_miniCamDist; } float GetMiniCamXAngle() const { return x2c_miniCamXAngle; } float GetMiniCamAngle() const { return x30_miniCamAngle; } float GetOpenMapScreenTime() const { return x64_openMapScreenTime; } float GetCloseMapScreenTime() const { return x68_closeMapScreenTime; } float GetHintPanTime() const { return x6c_hintPanTime; } float GetCamZoomUnitsPerFrame() const { return x70_zoomUnitsPerFrame; } float GetCamRotateDegreesPerFrame() const { return x74_rotateDegPerFrame; } float GetBaseMapScreenCameraMoveSpeed() const { return x78_baseMapScreenCameraMoveSpeed; } float GetMiniAlphaSurfaceVisited() const { return x84_miniAlphaSurfaceVisited; } float GetAlphaSurfaceVisited() const { return x88_alphaSurfaceVisited; } float GetMiniAlphaOutlineVisited() const { return x8c_miniAlphaOutlineVisited; } float GetAlphaOutlineVisited() const { return x90_alphaOutlineVisited; } float GetMiniAlphaSurfaceUnvisited() const { return x94_miniAlphaSurfaceUnvisited; } float GetAlphaSurfaceUnvisited() const { return x98_alphaSurfaceUnvisited; } float GetMiniAlphaOutlineUnvisited() const { return x9c_miniAlphaOutlineUnvisited; } float GetAlphaOutlineUnvisited() const { return xa0_alphaOutlineUnvisited; } const zeus::CVector3f& GetDoorCenter() const { return xa4_doorCenter; } float GetMiniMapViewportWidth() const { return xb8_miniMapViewportWidth; } float GetMiniMapViewportHeight() const { return xbc_miniMapViewportHeight; } float GetMiniMapCamDistScale() const { return xc0_miniMapCamDistScale; } float GetUniverseCamDist() const { return xd0_universeCamDist; } float GetMinUniverseCamDist() const { return xd4_minUniverseCamDist; } float GetMaxUniverseCamDist() const { return xd8_maxUniverseCamDist; } float GetSwitchToFromUniverseTime() const { return xdc_switchToFromUniverseTime; } float GetCamPanUnitsPerFrame() const { return xe0_camPanUnitsPerFrame; } float GetCamVerticalOffset() const { return xec_camVerticalOffset; } }; } } #endif // __DNAMP1_CTWEAKAUTOMAPPER_HPP__