2017-01-23 10:13:36 +00:00
|
|
|
#ifndef _DNAMP1_CTWEAKGUI_HPP_
|
|
|
|
#define _DNAMP1_CTWEAKGUI_HPP_
|
2016-08-20 04:22:13 +00:00
|
|
|
|
|
|
|
#include "../../DNACommon/Tweaks/ITweakGui.hpp"
|
|
|
|
|
|
|
|
namespace DataSpec
|
|
|
|
{
|
|
|
|
namespace DNAMP1
|
|
|
|
{
|
|
|
|
struct CTweakGui : ITweakGui
|
|
|
|
{
|
|
|
|
DECL_YAML
|
|
|
|
Value<bool> x4_;
|
2017-03-20 05:09:53 +00:00
|
|
|
Value<float> x8_mapAlphaInterp;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> xc_;
|
2017-04-07 05:35:09 +00:00
|
|
|
Value<float> x10_radarXYRadius;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> x14_;
|
|
|
|
Value<float> x18_;
|
|
|
|
Value<float> x1c_;
|
|
|
|
Value<float> x20_;
|
2017-04-07 05:35:09 +00:00
|
|
|
Value<float> x24_radarZRadius;
|
|
|
|
Value<float> x28_radarZCloseRadius;
|
2016-08-31 00:33:59 +00:00
|
|
|
atUint32 x2c_ = 0;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> x30_;
|
2017-04-03 05:37:54 +00:00
|
|
|
Value<float> x34_energyBarFilledSpeed;
|
|
|
|
Value<float> x38_energyBarShadowSpeed;
|
|
|
|
Value<float> x3c_energyBarDrainDelay;
|
|
|
|
Value<bool> x40_energyBarAlwaysResetDelay;
|
2017-04-13 19:28:31 +00:00
|
|
|
Value<float> x44_hudDamagePracticalsGainConstant;
|
|
|
|
Value<float> x48_hudDamagePracticalsGainLinear;
|
|
|
|
Value<float> x4c_hudDamagePracticalsInitConstant;
|
|
|
|
Value<float> x50_hudDamagePracticalsInitLinear;
|
2017-04-08 20:40:36 +00:00
|
|
|
Value<float> x54_hudDamageLightSpotAngle;
|
|
|
|
Value<float> x58_damageLightAngleC;
|
|
|
|
Value<float> x5c_damageLightAngleL;
|
|
|
|
Value<float> x60_damageLightAngleQ;
|
|
|
|
Value<atVec3f> x64_damageLightPreTranslate;
|
|
|
|
Value<atVec3f> x70_damageLightCenterTranslate;
|
|
|
|
Value<float> x7c_damageLightXfXAngle;
|
|
|
|
Value<float> x80_damageLightXfZAngle;
|
2017-04-13 19:28:31 +00:00
|
|
|
Value<float> x84_hudDecoShakeTranslateVelConstant;
|
|
|
|
Value<float> x88_hudDecoShakeTranslateVelLinear;
|
|
|
|
Value<float> x8c_maxDecoDamageShakeTranslate;
|
|
|
|
Value<float> x90_decoDamageShakeDeceleration;
|
|
|
|
Value<float> x94_decoShakeGainConstant;
|
|
|
|
Value<float> x98_decoShakeGainLinear;
|
|
|
|
Value<float> x9c_decoShakeInitConstant;
|
|
|
|
Value<float> xa0_decoShakeInitLinear;
|
|
|
|
Value<float> xa4_maxDecoDamageShakeRotate;
|
2017-04-03 01:39:23 +00:00
|
|
|
Value<atUint32> xa8_hudCamFovTweak;
|
|
|
|
Value<atUint32> xac_hudCamYTweak;
|
|
|
|
Value<atUint32> xb0_hudCamZTweak;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> xb4_;
|
|
|
|
Value<float> xb8_;
|
|
|
|
Value<float> xbc_;
|
2017-04-08 20:40:36 +00:00
|
|
|
Value<float> xc0_beamVisorMenuAnimTime;
|
|
|
|
Value<float> xc4_visorBeamMenuItemActiveScale;
|
|
|
|
Value<float> xc8_visorBeamMenuItemInactiveScale;
|
|
|
|
Value<float> xcc_visorBeamMenuItemTranslate;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> xd0_;
|
|
|
|
Value<atUint32> xd4_;
|
|
|
|
Value<float> xd8_;
|
|
|
|
Value<float> xdc_;
|
|
|
|
Value<float> xe0_;
|
2017-04-09 06:14:22 +00:00
|
|
|
Value<float> xe4_threatRange;
|
2017-04-07 05:35:09 +00:00
|
|
|
Value<float> xe8_radarScopeCoordRadius;
|
|
|
|
Value<float> xec_radarPlayerPaintRadius;
|
|
|
|
Value<float> xf0_radarEnemyPaintRadius;
|
2017-04-04 05:48:13 +00:00
|
|
|
Value<float> xf4_missileArrowVisTime;
|
2017-02-12 03:17:18 +00:00
|
|
|
Value<EHudVisMode> xf8_hudVisMode;
|
|
|
|
Value<EHelmetVisMode> xfc_helmetVisMode;
|
|
|
|
Value<atUint32> x100_enableAutoMapper;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<atUint32> x104_;
|
2017-02-12 03:17:18 +00:00
|
|
|
Value<atUint32> x108_enableTargetingManager;
|
|
|
|
Value<atUint32> x10c_enablePlayerVisor;
|
2017-04-07 05:35:09 +00:00
|
|
|
Value<float> x110_threatWarningFraction;
|
2017-04-04 05:48:13 +00:00
|
|
|
Value<float> x114_missileWarningFraction;
|
2017-04-08 20:40:36 +00:00
|
|
|
Value<float> x118_freeLookFadeTime;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> x11c_;
|
|
|
|
Value<float> x120_;
|
|
|
|
Value<float> x124_;
|
|
|
|
Value<float> x128_;
|
2017-04-08 20:40:36 +00:00
|
|
|
Value<float> x12c_freeLookSfxPitchScale;
|
|
|
|
Value<bool> x130_noAbsoluteFreeLookSfxPitch;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> x134_;
|
|
|
|
Value<float> x138_;
|
|
|
|
Value<atUint32> x13c_;
|
|
|
|
Value<atUint32> x140_;
|
2017-04-13 19:28:31 +00:00
|
|
|
Value<atUint32> x144_faceReflectionDistance;
|
|
|
|
Value<atUint32> x148_faceReflectionHeight;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<atUint32> x14c_;
|
|
|
|
String<-1> x150_;
|
|
|
|
String<-1> x160_;
|
|
|
|
String<-1> x170_;
|
|
|
|
String<-1> x180_;
|
|
|
|
String<-1> x190_;
|
2017-04-04 05:48:13 +00:00
|
|
|
Value<float> x1a0_missileWarningPulseTime;
|
2017-04-13 19:28:31 +00:00
|
|
|
Value<float> x1a4_explosionLightFalloffMultConstant;
|
|
|
|
Value<float> x1a8_explosionLightFalloffMultLinear;
|
|
|
|
Value<float> x1ac_explosionLightFalloffMultQuadratic;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> x1b0_;
|
2017-04-13 19:28:31 +00:00
|
|
|
Value<float> x1b4_hudDamagePeakFactor;
|
|
|
|
Value<float> x1b8_hudDamageFilterGainConstant;
|
|
|
|
Value<float> x1bc_hudDamageFilterGainLinear;
|
|
|
|
Value<float> x1c0_hudDamageFilterInitConstant;
|
|
|
|
Value<float> x1c4_hudDamageFilterInitLinear;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> x1c8_;
|
|
|
|
Value<bool> x1cc_;
|
|
|
|
Value<bool> x1cd_;
|
2017-04-13 19:28:31 +00:00
|
|
|
Value<float> x1d0_hudDamagePulseDuration;
|
|
|
|
Value<float> x1d4_hudDamageColorGain;
|
|
|
|
Value<float> x1d8_hudDecoShakeTranslateGain;
|
2017-04-09 06:14:22 +00:00
|
|
|
Value<float> x1dc_hudLagOffsetScale;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> x1e0_;
|
|
|
|
Value<float> x1e4_;
|
|
|
|
Value<float> x1e8_;
|
|
|
|
Value<float> x1ec_;
|
|
|
|
Value<float> x1f0_;
|
|
|
|
Value<float> x1f4_;
|
|
|
|
Value<float> x1f8_;
|
|
|
|
Value<float> x1fc_;
|
2017-01-26 10:06:18 +00:00
|
|
|
float x200_;
|
2016-08-20 04:22:13 +00:00
|
|
|
float x204_xrayBlurScaleLinear = 0.0014f;
|
|
|
|
float x208_xrayBlurScaleQuadratic = 0.0000525f;
|
|
|
|
Value<float> x20c_;
|
2017-04-02 03:03:37 +00:00
|
|
|
Value<float> x210_scanSidesAngle;
|
|
|
|
Value<float> x214_scanSidesXScale;
|
|
|
|
Value<float> x218_scanSidesPositionEnd;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> x21c_;
|
2017-04-02 03:03:37 +00:00
|
|
|
Value<float> x220_scanSidesDuration;
|
|
|
|
Value<float> x224_scanSidesStartTime;
|
|
|
|
float x228_scanSidesEndTime;
|
2017-05-17 05:04:38 +00:00
|
|
|
Value<float> x22c_scanDataDotRadius;
|
|
|
|
Value<float> x230_scanDataDotPosRandMag;
|
2017-05-18 07:07:49 +00:00
|
|
|
Value<float> x234_scanDataDotSeekDurationMin;
|
|
|
|
Value<float> x238_scanDataDotSeekDurationMax;
|
|
|
|
Value<float> x23c_scanDataDotHoldDurationMin;
|
|
|
|
Value<float> x240_scanDataDotHoldDurationMax;
|
2017-05-17 05:04:38 +00:00
|
|
|
Value<float> x244_scanAppearanceDuration;
|
2017-05-18 07:07:49 +00:00
|
|
|
Value<float> x248_scanPaneFlashFactor;
|
2017-05-17 05:04:38 +00:00
|
|
|
Value<float> x24c_scanPaneFadeInTime;
|
|
|
|
Value<float> x250_scanPaneFadeOutTime;
|
2017-04-03 01:39:23 +00:00
|
|
|
Value<float> x254_ballViewportYReduction;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> x258_;
|
|
|
|
Value<float> x25c_;
|
|
|
|
Value<float> x260_;
|
|
|
|
Value<float> x264_;
|
|
|
|
Value<float> x268_;
|
|
|
|
Value<float> x26c_;
|
2017-04-02 03:03:37 +00:00
|
|
|
Value<float> x270_scanSidesPositionStart;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<bool> x274_;
|
2017-05-14 19:58:44 +00:00
|
|
|
bool x275_latchArticleText = true;
|
2017-02-12 03:17:18 +00:00
|
|
|
Value<float> x278_wtMgrCharsPerSfx;
|
2017-03-04 04:31:08 +00:00
|
|
|
Value<atUint32> x27c_xrayFogMode;
|
|
|
|
Value<float> x280_xrayFogNearZ;
|
|
|
|
Value<float> x284_xrayFogFarZ;
|
|
|
|
DNAColor x288_xrayFogColor;
|
|
|
|
Value<float> x28c_thermalVisorLevel;
|
|
|
|
DNAColor x290_thermalVisorColor;
|
2017-04-13 19:28:31 +00:00
|
|
|
DNAColor x294_hudLightAddPerVisor[4];
|
|
|
|
DNAColor x2a4_hudLightMultiplyPerVisor[4];
|
|
|
|
DNAColor x2b4_hudReflectivityLightColor;
|
|
|
|
Value<float> x2b8_hudLightAttMulConstant;
|
|
|
|
Value<float> x2bc_hudLightAttMulLinear;
|
|
|
|
Value<float> x2c0_hudLightAttMulQuadratic;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<atUint32> m_scanSpeedsCount;
|
|
|
|
Vector<float, DNA_COUNT(m_scanSpeedsCount)> x2c4_scanSpeeds;
|
|
|
|
String<-1> x2d0_;
|
|
|
|
String<-1> x2e0_;
|
|
|
|
String<-1> x2f0_;
|
2017-01-26 10:06:18 +00:00
|
|
|
DNAColor x300_;
|
|
|
|
DNAColor x304_;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> x308_;
|
|
|
|
Value<float> x30c_;
|
|
|
|
Value<float> x310_;
|
|
|
|
String<-1> x314_;
|
|
|
|
String<-1> x324_;
|
|
|
|
String<-1> x334_;
|
2017-01-26 10:06:18 +00:00
|
|
|
DNAColor x344_;
|
|
|
|
DNAColor x348_;
|
|
|
|
DNAColor x34c_;
|
|
|
|
DNAColor x350_;
|
|
|
|
DNAColor x354_;
|
|
|
|
DNAColor x358_;
|
2016-08-20 04:22:13 +00:00
|
|
|
Value<float> x35c_;
|
|
|
|
Value<float> x360_;
|
|
|
|
Value<float> x364_;
|
|
|
|
|
2017-01-26 10:06:18 +00:00
|
|
|
CTweakGui() = default;
|
|
|
|
CTweakGui(athena::io::IStreamReader& r) { this->read(r); }
|
2017-02-10 05:43:07 +00:00
|
|
|
|
2017-03-20 05:09:53 +00:00
|
|
|
float GetMapAlphaInterpolant() const { return x8_mapAlphaInterp; }
|
2017-04-07 05:35:09 +00:00
|
|
|
float GetRadarXYRadius() const { return x10_radarXYRadius; }
|
|
|
|
float GetRadarZRadius() const { return x24_radarZRadius; }
|
|
|
|
float GetRadarZCloseRadius() const { return x28_radarZCloseRadius; }
|
2017-04-03 05:37:54 +00:00
|
|
|
float GetEnergyBarFilledSpeed() const { return x34_energyBarFilledSpeed; }
|
|
|
|
float GetEnergyBarShadowSpeed() const { return x38_energyBarShadowSpeed; }
|
|
|
|
float GetEnergyBarDrainDelay() const { return x3c_energyBarDrainDelay; }
|
|
|
|
bool GetEnergyBarAlwaysResetDelay() const { return x40_energyBarAlwaysResetDelay; }
|
2017-04-13 19:28:31 +00:00
|
|
|
float GetHudDamagePracticalsGainConstant() const { return x44_hudDamagePracticalsGainConstant; }
|
|
|
|
float GetHudDamagePracticalsGainLinear() const { return x48_hudDamagePracticalsGainLinear; }
|
|
|
|
float GetHudDamagePracticalsInitConstant() const { return x4c_hudDamagePracticalsInitConstant; }
|
|
|
|
float GetHudDamagePracticalsInitLinear() const { return x50_hudDamagePracticalsInitLinear; }
|
2017-04-08 20:40:36 +00:00
|
|
|
float GetHudDamageLightSpotAngle() const { return x54_hudDamageLightSpotAngle; }
|
|
|
|
float GetDamageLightAngleC() const { return x58_damageLightAngleC; }
|
|
|
|
float GetDamageLightAngleL() const { return x5c_damageLightAngleL; }
|
|
|
|
float GetDamageLightAngleQ() const { return x60_damageLightAngleQ; }
|
|
|
|
atVec3f GetDamageLightPreTranslate() const { return x64_damageLightPreTranslate; }
|
|
|
|
atVec3f GetDamageLightCenterTranslate() const { return x70_damageLightCenterTranslate; }
|
|
|
|
float GetDamageLightXfXAngle() const { return x7c_damageLightXfXAngle; }
|
|
|
|
float GetDamageLightXfZAngle() const { return x80_damageLightXfZAngle; }
|
2017-04-13 19:28:31 +00:00
|
|
|
float GetHudDecoShakeTranslateVelConstant() const { return x84_hudDecoShakeTranslateVelConstant; }
|
|
|
|
float GetHudDecoShakeTranslateVelLinear() const { return x88_hudDecoShakeTranslateVelLinear; }
|
|
|
|
float GetMaxDecoDamageShakeTranslate() const { return x8c_maxDecoDamageShakeTranslate; }
|
|
|
|
float GetDecoDamageShakeDeceleration() const { return x90_decoDamageShakeDeceleration; }
|
|
|
|
float GetDecoShakeGainConstant() const { return x94_decoShakeGainConstant; }
|
|
|
|
float GetDecoShakeGainLinear() const { return x98_decoShakeGainLinear; }
|
|
|
|
float GetDecoShakeInitConstant() const { return x9c_decoShakeInitConstant; }
|
|
|
|
float GetDecoShakeInitLinear() const { return xa0_decoShakeInitLinear; }
|
|
|
|
float GetMaxDecoDamageShakeRotate() const { return xa4_maxDecoDamageShakeRotate; }
|
2017-04-03 01:39:23 +00:00
|
|
|
atUint32 GetHudCamFovTweak() const { return xa8_hudCamFovTweak; }
|
|
|
|
atUint32 GetHudCamYTweak() const { return xac_hudCamYTweak; }
|
|
|
|
atUint32 GetHudCamZTweak() const { return xb0_hudCamZTweak; }
|
2017-04-08 20:40:36 +00:00
|
|
|
float GetBeamVisorMenuAnimTime() const { return xc0_beamVisorMenuAnimTime; }
|
|
|
|
float GetVisorBeamMenuItemActiveScale() const { return xc4_visorBeamMenuItemActiveScale; }
|
|
|
|
float GetVisorBeamMenuItemInactiveScale() const { return xc8_visorBeamMenuItemInactiveScale; }
|
|
|
|
float GetVisorBeamMenuItemTranslate() const { return xcc_visorBeamMenuItemTranslate; }
|
2017-04-09 06:14:22 +00:00
|
|
|
float GetThreatRange() const { return xe4_threatRange; }
|
2017-04-07 05:35:09 +00:00
|
|
|
float GetRadarScopeCoordRadius() const { return xe8_radarScopeCoordRadius; }
|
|
|
|
float GetRadarPlayerPaintRadius() const { return xec_radarPlayerPaintRadius; }
|
|
|
|
float GetRadarEnemyPaintRadius() const { return xf0_radarEnemyPaintRadius; }
|
2017-04-04 05:48:13 +00:00
|
|
|
float GetMissileArrowVisTime() const { return xf4_missileArrowVisTime; }
|
2017-02-12 03:17:18 +00:00
|
|
|
EHudVisMode GetHudVisMode() const { return xf8_hudVisMode; }
|
|
|
|
EHelmetVisMode GetHelmetVisMode() const { return xfc_helmetVisMode; }
|
|
|
|
atUint32 GetEnableAutoMapper() const { return x100_enableAutoMapper; }
|
|
|
|
atUint32 GetEnableTargetingManager() const { return x108_enableTargetingManager; }
|
|
|
|
atUint32 GetEnablePlayerVisor() const { return x10c_enablePlayerVisor; }
|
2017-04-07 05:35:09 +00:00
|
|
|
float GetThreatWarningFraction() const { return x110_threatWarningFraction; }
|
2017-04-04 05:48:13 +00:00
|
|
|
float GetMissileWarningFraction() const { return x114_missileWarningFraction; }
|
2017-04-08 20:40:36 +00:00
|
|
|
float GetFreeLookFadeTime() const { return x118_freeLookFadeTime; }
|
|
|
|
float GetFreeLookSfxPitchScale() const { return x12c_freeLookSfxPitchScale; }
|
|
|
|
bool GetNoAbsoluteFreeLookSfxPitch() const { return x130_noAbsoluteFreeLookSfxPitch; }
|
2017-04-13 19:28:31 +00:00
|
|
|
float GetFaceReflectionDistance() const { return x144_faceReflectionDistance; }
|
|
|
|
float GetFaceReflectionHeight() const { return x148_faceReflectionHeight; }
|
2017-04-04 05:48:13 +00:00
|
|
|
float GetMissileWarningPulseTime() const { return x1a0_missileWarningPulseTime; }
|
2017-04-13 19:28:31 +00:00
|
|
|
float GetExplosionLightFalloffMultConstant() const { return x1a4_explosionLightFalloffMultConstant; }
|
|
|
|
float GetExplosionLightFalloffMultLinear() const { return x1a8_explosionLightFalloffMultLinear; }
|
|
|
|
float GetExplosionLightFalloffMultQuadratic() const { return x1ac_explosionLightFalloffMultQuadratic; }
|
|
|
|
float GetHudDamagePeakFactor() const { return x1b4_hudDamagePeakFactor; }
|
|
|
|
float GetHudDamageFilterGainConstant() const { return x1b8_hudDamageFilterGainConstant; }
|
|
|
|
float GetHudDamageFilterGainLinear() const { return x1bc_hudDamageFilterGainLinear; }
|
|
|
|
float GetHudDamageFilterInitConstant() const { return x1c0_hudDamageFilterInitConstant; }
|
|
|
|
float GetHudDamageFilterInitLinear() const { return x1c4_hudDamageFilterInitLinear; }
|
|
|
|
float GetHudDamagePulseDuration() const { return x1d0_hudDamagePulseDuration; }
|
|
|
|
float GetHudDamageColorGain() const { return x1d4_hudDamageColorGain; }
|
|
|
|
float GetHudDecoShakeTranslateGain() const { return x1d8_hudDecoShakeTranslateGain; }
|
2017-04-09 06:14:22 +00:00
|
|
|
float GetHudLagOffsetScale() const { return x1dc_hudLagOffsetScale; }
|
2016-08-20 04:22:13 +00:00
|
|
|
float GetXrayBlurScaleLinear() const { return x204_xrayBlurScaleLinear; }
|
|
|
|
float GetXrayBlurScaleQuadratic() const { return x208_xrayBlurScaleQuadratic; }
|
2017-04-02 03:03:37 +00:00
|
|
|
float GetScanSidesAngle() const { return x210_scanSidesAngle; }
|
|
|
|
float GetScanSidesXScale() const { return x214_scanSidesXScale; }
|
|
|
|
float GetScanSidesPositionEnd() const { return x218_scanSidesPositionEnd; }
|
|
|
|
float GetScanSidesDuration() const { return x220_scanSidesDuration; }
|
|
|
|
float GetScanSidesStartTime() const { return x224_scanSidesStartTime; }
|
|
|
|
float GetScanSidesEndTime() const { return x228_scanSidesEndTime; }
|
2017-05-17 05:04:38 +00:00
|
|
|
float GetScanDataDotRadius() const { return x22c_scanDataDotRadius; }
|
|
|
|
float GetScanDataDotPosRandMagnitude() const { return x230_scanDataDotPosRandMag; }
|
2017-05-18 07:07:49 +00:00
|
|
|
float GetScanDataDotSeekDurationMin() const { return x234_scanDataDotSeekDurationMin; }
|
|
|
|
float GetScanDataDotSeekDurationMax() const { return x238_scanDataDotSeekDurationMax; }
|
|
|
|
float GetScanDataDotHoldDurationMin() const { return x23c_scanDataDotHoldDurationMin; }
|
|
|
|
float GetScanDataDotHoldDurationMax() const { return x240_scanDataDotHoldDurationMax; }
|
|
|
|
float GetScanAppearanceDuration() const { return x244_scanAppearanceDuration; }
|
|
|
|
float GetScanPaneFlashFactor() const { return x248_scanPaneFlashFactor; }
|
|
|
|
float GetScanPaneFadeInTime() const { return x24c_scanPaneFadeInTime; }
|
|
|
|
float GetScanPaneFadeOutTime() const { return x250_scanPaneFadeOutTime; }
|
|
|
|
float GetBallViewportYReduction() const { return x254_ballViewportYReduction; }
|
2017-04-02 03:03:37 +00:00
|
|
|
float GetScanSidesPositionStart() const { return x270_scanSidesPositionStart; }
|
2017-05-14 19:58:44 +00:00
|
|
|
bool GetLatchArticleText() const { return x275_latchArticleText; }
|
2017-02-12 03:17:18 +00:00
|
|
|
float GetWorldTransManagerCharsPerSfx() const { return x278_wtMgrCharsPerSfx; }
|
2017-03-04 04:31:08 +00:00
|
|
|
atUint32 GetXRayFogMode() const { return x27c_xrayFogMode; }
|
|
|
|
float GetXRayFogNearZ() const { return x280_xrayFogNearZ; }
|
|
|
|
float GetXRayFogFarZ() const { return x284_xrayFogFarZ; }
|
|
|
|
const zeus::CColor& GetXRayFogColor() const { return x288_xrayFogColor; }
|
|
|
|
float GetThermalVisorLevel() const { return x28c_thermalVisorLevel; }
|
|
|
|
const zeus::CColor& GetThermalVisorColor() const { return x290_thermalVisorColor; }
|
2017-04-13 19:28:31 +00:00
|
|
|
const zeus::CColor& GetVisorHudLightAdd(int v) const { return x294_hudLightAddPerVisor[v]; }
|
|
|
|
const zeus::CColor& GetVisorHudLightMultiply(int v) const { return x2a4_hudLightMultiplyPerVisor[v]; }
|
|
|
|
const zeus::CColor& GetHudReflectivityLightColor() const { return x2b4_hudReflectivityLightColor; }
|
|
|
|
float GetHudLightAttMulConstant() const { return x2b8_hudLightAttMulConstant; }
|
|
|
|
float GetHudLightAttMulLinear() const { return x2bc_hudLightAttMulLinear; }
|
|
|
|
float GetHudLightAttMulQuadratic() const { return x2c0_hudLightAttMulQuadratic; }
|
2016-08-20 04:22:13 +00:00
|
|
|
|
|
|
|
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_);
|
|
|
|
|
2017-01-26 10:06:18 +00:00
|
|
|
x200_ = x1f4_ * 0.25f;
|
|
|
|
x204_xrayBlurScaleLinear = x1f8_ * 0.25f;
|
|
|
|
x208_xrayBlurScaleQuadratic = x1fc_ * 0.25f;
|
2016-08-20 04:22:13 +00:00
|
|
|
|
2017-04-02 03:03:37 +00:00
|
|
|
x210_scanSidesAngle = zeus::degToRad(x210_scanSidesAngle);
|
|
|
|
x228_scanSidesEndTime = x220_scanSidesDuration + x224_scanSidesStartTime;
|
2016-08-20 04:22:13 +00:00
|
|
|
|
2017-03-04 04:31:08 +00:00
|
|
|
if (x27c_xrayFogMode == 1)
|
|
|
|
x27c_xrayFogMode = 2;
|
|
|
|
else if (x27c_xrayFogMode == 2)
|
|
|
|
x27c_xrayFogMode = 4;
|
|
|
|
else if (x27c_xrayFogMode == 3)
|
|
|
|
x27c_xrayFogMode = 5;
|
2016-08-20 04:22:13 +00:00
|
|
|
else
|
2017-03-04 04:31:08 +00:00
|
|
|
x27c_xrayFogMode = 0;
|
2016-08-20 04:22:13 +00:00
|
|
|
|
2017-04-13 19:28:31 +00:00
|
|
|
x84_hudDecoShakeTranslateVelConstant *= 2.0f;
|
2016-08-20 04:22:13 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-23 10:13:36 +00:00
|
|
|
#endif // _DNAMP1_CTWEAKGUI_HPP_
|