mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:04:55 +00:00
Work on HUD interfaces
This commit is contained in:
@@ -28,6 +28,9 @@ struct ITweakGui : ITweak
|
||||
};
|
||||
|
||||
virtual float GetMapAlphaInterpolant() const=0;
|
||||
virtual float GetRadarXYRadius() const=0;
|
||||
virtual float GetRadarZRadius() const=0;
|
||||
virtual float GetRadarZCloseRadius() const=0;
|
||||
virtual float GetEnergyBarFilledSpeed() const=0;
|
||||
virtual float GetEnergyBarShadowSpeed() const=0;
|
||||
virtual float GetEnergyBarDrainDelay() const=0;
|
||||
@@ -35,12 +38,17 @@ struct ITweakGui : ITweak
|
||||
virtual atUint32 GetHudCamFovTweak() const=0;
|
||||
virtual atUint32 GetHudCamYTweak() const=0;
|
||||
virtual atUint32 GetHudCamZTweak() const=0;
|
||||
virtual float GetMaxThreatEnergy() const=0;
|
||||
virtual float GetRadarScopeCoordRadius() const=0;
|
||||
virtual float GetRadarPlayerPaintRadius() const=0;
|
||||
virtual float GetRadarEnemyPaintRadius() const=0;
|
||||
virtual float GetMissileArrowVisTime() const=0;
|
||||
virtual EHudVisMode GetHudVisMode() const=0;
|
||||
virtual EHelmetVisMode GetHelmetVisMode() const=0;
|
||||
virtual atUint32 GetEnableAutoMapper() const=0;
|
||||
virtual atUint32 GetEnableTargetingManager() const=0;
|
||||
virtual atUint32 GetEnablePlayerVisor() const=0;
|
||||
virtual float GetThreatWarningFraction() const=0;
|
||||
virtual float GetMissileWarningFraction() const=0;
|
||||
virtual float GetMissileWarningPulseTime() const=0;
|
||||
virtual float GetScanAppearanceOffset() const=0;
|
||||
|
||||
@@ -22,6 +22,9 @@ struct ITweakGuiColors : BigYAML
|
||||
zeus::CColor shadow;
|
||||
};
|
||||
|
||||
virtual zeus::CColor GetRadarStuffColor() const=0;
|
||||
virtual zeus::CColor GetRadarPlayerPaintColor() const=0;
|
||||
virtual zeus::CColor GetRadarEnemyPaintColor() const=0;
|
||||
virtual zeus::CColor GetHudMessageFill() const=0;
|
||||
virtual zeus::CColor GetHudMessageOutline() const=0;
|
||||
virtual zeus::CColor GetHudFrameColor() const=0;
|
||||
@@ -30,22 +33,42 @@ struct ITweakGuiColors : BigYAML
|
||||
virtual zeus::CColor GetEnergyBarShadowLowEnergy() const=0;
|
||||
virtual zeus::CColor GetEnergyBarEmptyLowEnergy() const=0;
|
||||
virtual zeus::CColor GetEnergyWarningFont() const=0;
|
||||
virtual zeus::CColor GetThreatWarningFont() const=0;
|
||||
virtual zeus::CColor GetMissileWarningFont() const=0;
|
||||
virtual zeus::CColor GetThreatBarFilled() const=0;
|
||||
virtual zeus::CColor GetThreatBarShadow() const=0;
|
||||
virtual zeus::CColor GetThreatBarEmpty() const=0;
|
||||
virtual zeus::CColor GetMissileBarFilled() const=0;
|
||||
virtual zeus::CColor GetMissileBarShadow() const=0;
|
||||
virtual zeus::CColor GetMissileBarEmpty() const=0;
|
||||
virtual zeus::CColor GetThreatIconColor() const=0;
|
||||
virtual zeus::CColor GetTickDecoColor() const=0;
|
||||
virtual zeus::CColor GetHelmetLightColor() const=0;
|
||||
virtual zeus::CColor GetThreatIconSafeColor() const=0;
|
||||
virtual zeus::CColor GetMissileIconColorInactive() const=0;
|
||||
virtual zeus::CColor GetMissileIconColorChargedCanAlt() const=0;
|
||||
virtual zeus::CColor GetMissileIconColorChargedNoAlt() const=0;
|
||||
virtual zeus::CColor GetMissileIconColorDepleteAlt() const=0;
|
||||
virtual zeus::CColor GetEnergyWarningOutline() const=0;
|
||||
virtual zeus::CColor GetThreatWarningOutline() const=0;
|
||||
virtual zeus::CColor GetMissileWarningOutline() const=0;
|
||||
virtual zeus::CColor GetEnergyBarFlashColor() const=0;
|
||||
virtual zeus::CColor GetXRayEnergyDecoColor() const=0;
|
||||
virtual zeus::CColor GetPowerBombDigitAvailableFont() const=0;
|
||||
virtual zeus::CColor GetPowerBombDigitAvailableOutline() const=0;
|
||||
virtual zeus::CColor GetBallBombFilledColor() const=0;
|
||||
virtual zeus::CColor GetBallBombEmptyColor() const=0;
|
||||
virtual zeus::CColor GetPowerBombIconAvailableColor() const=0;
|
||||
virtual zeus::CColor GetBallBombEnergyColor() const=0;
|
||||
virtual zeus::CColor GetBallBombDecoColor() const=0;
|
||||
virtual zeus::CColor GetPowerBombDigitDelpetedFont() const=0;
|
||||
virtual zeus::CColor GetPowerBombDigitDelpetedOutline() const=0;
|
||||
virtual zeus::CColor GetPowerBombIconDepletedColor() const=0;
|
||||
virtual zeus::CColor GetThreatIconWarningColor() const=0;
|
||||
virtual zeus::CColor GetHudCounterFill() const=0;
|
||||
virtual zeus::CColor GetHudCounterOutline() const=0;
|
||||
virtual zeus::CColor GetThreatDigitsFont() const=0;
|
||||
virtual zeus::CColor GetThreatDigitsOutline() const=0;
|
||||
virtual zeus::CColor GetMissileDigitsFont() const=0;
|
||||
virtual zeus::CColor GetMissileDigitsOutline() const=0;
|
||||
virtual zeus::CColor GetThermalDecoColor() const=0;
|
||||
|
||||
@@ -13,13 +13,13 @@ struct CTweakGui : ITweakGui
|
||||
Value<bool> x4_;
|
||||
Value<float> x8_mapAlphaInterp;
|
||||
Value<float> xc_;
|
||||
Value<float> x10_;
|
||||
Value<float> x10_radarXYRadius;
|
||||
Value<float> x14_;
|
||||
Value<float> x18_;
|
||||
Value<float> x1c_;
|
||||
Value<float> x20_;
|
||||
Value<float> x24_;
|
||||
Value<float> x28_;
|
||||
Value<float> x24_radarZRadius;
|
||||
Value<float> x28_radarZCloseRadius;
|
||||
atUint32 x2c_ = 0;
|
||||
Value<float> x30_;
|
||||
Value<float> x34_energyBarFilledSpeed;
|
||||
@@ -62,10 +62,10 @@ struct CTweakGui : ITweakGui
|
||||
Value<float> xd8_;
|
||||
Value<float> xdc_;
|
||||
Value<float> xe0_;
|
||||
Value<float> xe4_;
|
||||
Value<float> xe8_;
|
||||
Value<float> xec_;
|
||||
Value<float> xf0_;
|
||||
Value<float> xe4_maxThreatEnergy;
|
||||
Value<float> xe8_radarScopeCoordRadius;
|
||||
Value<float> xec_radarPlayerPaintRadius;
|
||||
Value<float> xf0_radarEnemyPaintRadius;
|
||||
Value<float> xf4_missileArrowVisTime;
|
||||
Value<EHudVisMode> xf8_hudVisMode;
|
||||
Value<EHelmetVisMode> xfc_helmetVisMode;
|
||||
@@ -73,7 +73,7 @@ struct CTweakGui : ITweakGui
|
||||
Value<atUint32> x104_;
|
||||
Value<atUint32> x108_enableTargetingManager;
|
||||
Value<atUint32> x10c_enablePlayerVisor;
|
||||
Value<float> x110_;
|
||||
Value<float> x110_threatWarningFraction;
|
||||
Value<float> x114_missileWarningFraction;
|
||||
Value<float> x118_;
|
||||
Value<float> x11c_;
|
||||
@@ -196,6 +196,9 @@ struct CTweakGui : ITweakGui
|
||||
CTweakGui(athena::io::IStreamReader& r) { this->read(r); }
|
||||
|
||||
float GetMapAlphaInterpolant() const { return x8_mapAlphaInterp; }
|
||||
float GetRadarXYRadius() const { return x10_radarXYRadius; }
|
||||
float GetRadarZRadius() const { return x24_radarZRadius; }
|
||||
float GetRadarZCloseRadius() const { return x28_radarZCloseRadius; }
|
||||
float GetEnergyBarFilledSpeed() const { return x34_energyBarFilledSpeed; }
|
||||
float GetEnergyBarShadowSpeed() const { return x38_energyBarShadowSpeed; }
|
||||
float GetEnergyBarDrainDelay() const { return x3c_energyBarDrainDelay; }
|
||||
@@ -203,12 +206,17 @@ struct CTweakGui : ITweakGui
|
||||
atUint32 GetHudCamFovTweak() const { return xa8_hudCamFovTweak; }
|
||||
atUint32 GetHudCamYTweak() const { return xac_hudCamYTweak; }
|
||||
atUint32 GetHudCamZTweak() const { return xb0_hudCamZTweak; }
|
||||
float GetMaxThreatEnergy() const { return xe4_maxThreatEnergy; }
|
||||
float GetRadarScopeCoordRadius() const { return xe8_radarScopeCoordRadius; }
|
||||
float GetRadarPlayerPaintRadius() const { return xec_radarPlayerPaintRadius; }
|
||||
float GetRadarEnemyPaintRadius() const { return xf0_radarEnemyPaintRadius; }
|
||||
float GetMissileArrowVisTime() const { return xf4_missileArrowVisTime; }
|
||||
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; }
|
||||
float GetThreatWarningFraction() const { return x110_threatWarningFraction; }
|
||||
float GetMissileWarningFraction() const { return x114_missileWarningFraction; }
|
||||
float GetMissileWarningPulseTime() const { return x1a0_missileWarningPulseTime; }
|
||||
float GetScanAppearanceOffset() const { return x244_scanAppearanceOffset; }
|
||||
|
||||
@@ -11,9 +11,9 @@ struct CTweakGuiColors : public ITweakGuiColors
|
||||
{
|
||||
DECL_YAML
|
||||
DNAColor x4_;
|
||||
DNAColor x8_;
|
||||
DNAColor xc_;
|
||||
DNAColor x10_;
|
||||
DNAColor x8_radarStuffColor;
|
||||
DNAColor xc_radarPlayerPaintColor;
|
||||
DNAColor x10_radarEnemyPaintColor;
|
||||
DNAColor x14_hudMessageFill;
|
||||
DNAColor x18_hudMessageOutline;
|
||||
DNAColor x1c_hudFrameColor;
|
||||
@@ -33,19 +33,19 @@ struct CTweakGuiColors : public ITweakGuiColors
|
||||
DNAColor x54_;
|
||||
DNAColor x58_;
|
||||
DNAColor x5c_energyWarningFont;
|
||||
DNAColor x60_;
|
||||
DNAColor x60_threatWarningFont;
|
||||
DNAColor x64_missileWarningFont;
|
||||
DNAColor x68_;
|
||||
DNAColor x6c_;
|
||||
DNAColor x70_;
|
||||
DNAColor x68_threatBarFilled;
|
||||
DNAColor x6c_threatBarShadow;
|
||||
DNAColor x70_threatBarEmpty;
|
||||
DNAColor x74_missileBarFilled;
|
||||
DNAColor x78_missileBarShadow;
|
||||
DNAColor x7c_missileBarEmpty;
|
||||
DNAColor x80_;
|
||||
DNAColor x80_threatIconColor;
|
||||
DNAColor x84_;
|
||||
DNAColor x88_tickDecoColor;
|
||||
DNAColor x8c_helmetLightColor;
|
||||
DNAColor x90_;
|
||||
DNAColor x90_threatIconSafeColor;
|
||||
DNAColor x94_missileIconColorInactive;
|
||||
DNAColor x98_missileIconColorChargedCanAlt;
|
||||
DNAColor x9c_missileIconColorChargedNoAlt;
|
||||
@@ -55,7 +55,7 @@ struct CTweakGuiColors : public ITweakGuiColors
|
||||
DNAColor xac_;
|
||||
DNAColor xb0_;
|
||||
DNAColor xb4_energyWarningOutline;
|
||||
DNAColor xb8_;
|
||||
DNAColor xb8_threatWarningOutline;
|
||||
DNAColor xbc_missileWarningOutline;
|
||||
DNAColor xc0_;
|
||||
DNAColor xc4_;
|
||||
@@ -88,23 +88,23 @@ struct CTweakGuiColors : public ITweakGuiColors
|
||||
DNAColor x130_;
|
||||
DNAColor x134_;
|
||||
DNAColor x138_;
|
||||
DNAColor x13c_;
|
||||
DNAColor x140_;
|
||||
DNAColor x13c_powerBombDigitAvailableFont;
|
||||
DNAColor x140_powerBombDigitAvailableOutline;
|
||||
DNAColor x144_;
|
||||
DNAColor x148_;
|
||||
DNAColor x14c_;
|
||||
DNAColor x150_;
|
||||
DNAColor x148_ballBombFilled;
|
||||
DNAColor x14c_ballBombEmpty;
|
||||
DNAColor x150_powerBombIconAvailable;
|
||||
DNAColor x154_;
|
||||
DNAColor x158_;
|
||||
DNAColor x15c_;
|
||||
DNAColor x160_;
|
||||
DNAColor x164_;
|
||||
DNAColor x168_;
|
||||
DNAColor x158_ballEnergyDeco;
|
||||
DNAColor x15c_ballBombDeco;
|
||||
DNAColor x160_powerBombDigitDepletedFont;
|
||||
DNAColor x164_powerBombDigitDepletedOutline;
|
||||
DNAColor x168_powerBombIconUnavailable;
|
||||
DNAColor x16c_;
|
||||
DNAColor x170_;
|
||||
DNAColor x174_;
|
||||
DNAColor x178_;
|
||||
DNAColor x17c_;
|
||||
DNAColor x17c_threatIconWarningColor;
|
||||
DNAColor x180_hudCounterFill;
|
||||
DNAColor x184_hudCounterOutline;
|
||||
DNAColor x188_;
|
||||
@@ -112,8 +112,8 @@ struct CTweakGuiColors : public ITweakGuiColors
|
||||
DNAColor x190_;
|
||||
DNAColor x194_;
|
||||
DNAColor x198_;
|
||||
DNAColor x19c_;
|
||||
DNAColor x1a0_;
|
||||
DNAColor x19c_threatDigitsFont;
|
||||
DNAColor x1a0_threatDigitsOutline;
|
||||
DNAColor x1a4_missileDigitsFont;
|
||||
DNAColor x1a8_missileDigitsOutline;
|
||||
DNAColor x1ac_thermalDecoColor;
|
||||
@@ -140,6 +140,9 @@ struct CTweakGuiColors : public ITweakGuiColors
|
||||
CTweakGuiColors() = default;
|
||||
CTweakGuiColors(athena::io::IStreamReader& r) { this->read(r); }
|
||||
|
||||
zeus::CColor GetRadarStuffColor() const { return x8_radarStuffColor; }
|
||||
zeus::CColor GetRadarPlayerPaintColor() const { return xc_radarPlayerPaintColor; }
|
||||
zeus::CColor GetRadarEnemyPaintColor() const { return x10_radarEnemyPaintColor; }
|
||||
zeus::CColor GetHudMessageFill() const { return x14_hudMessageFill; }
|
||||
zeus::CColor GetHudMessageOutline() const { return x18_hudMessageOutline; }
|
||||
zeus::CColor GetHudFrameColor() const { return x1c_hudFrameColor; }
|
||||
@@ -148,22 +151,42 @@ struct CTweakGuiColors : public ITweakGuiColors
|
||||
zeus::CColor GetEnergyBarShadowLowEnergy() const { return x38_energyBarShadowLowEnergy; }
|
||||
zeus::CColor GetEnergyBarEmptyLowEnergy() const { return x3c_energyBarEmptyLowEnergy; }
|
||||
zeus::CColor GetEnergyWarningFont() const { return x5c_energyWarningFont; }
|
||||
zeus::CColor GetThreatWarningFont() const { return x60_threatWarningFont; }
|
||||
zeus::CColor GetMissileWarningFont() const { return x64_missileWarningFont; }
|
||||
zeus::CColor GetThreatBarFilled() const { return x68_threatBarFilled; }
|
||||
zeus::CColor GetThreatBarShadow() const { return x6c_threatBarShadow; }
|
||||
zeus::CColor GetThreatBarEmpty() const { return x70_threatBarEmpty; }
|
||||
zeus::CColor GetMissileBarFilled() const { return x74_missileBarFilled; }
|
||||
zeus::CColor GetMissileBarShadow() const { return x78_missileBarShadow; }
|
||||
zeus::CColor GetMissileBarEmpty() const { return x7c_missileBarEmpty; }
|
||||
zeus::CColor GetThreatIconColor() const { return x80_threatIconColor; }
|
||||
zeus::CColor GetTickDecoColor() const { return x88_tickDecoColor; }
|
||||
zeus::CColor GetHelmetLightColor() const { return x8c_helmetLightColor; }
|
||||
zeus::CColor GetThreatIconSafeColor() const { return x90_threatIconSafeColor; }
|
||||
zeus::CColor GetMissileIconColorInactive() const { return x94_missileIconColorInactive; }
|
||||
zeus::CColor GetMissileIconColorChargedCanAlt() const { return x98_missileIconColorChargedCanAlt; }
|
||||
zeus::CColor GetMissileIconColorChargedNoAlt() const { return x9c_missileIconColorChargedNoAlt; }
|
||||
zeus::CColor GetMissileIconColorDepleteAlt() const { return xa0_missileIconColorDepleteAlt; }
|
||||
zeus::CColor GetEnergyWarningOutline() const { return xb4_energyWarningOutline; }
|
||||
zeus::CColor GetThreatWarningOutline() const { return xb8_threatWarningOutline; }
|
||||
zeus::CColor GetMissileWarningOutline() const { return xbc_missileWarningOutline; }
|
||||
zeus::CColor GetEnergyBarFlashColor() const { return xe8_energyBarFlashColor; }
|
||||
zeus::CColor GetXRayEnergyDecoColor() const { return x100_xrayEnergyDecoColor; }
|
||||
zeus::CColor GetPowerBombDigitAvailableFont() const { return x13c_powerBombDigitAvailableFont; }
|
||||
zeus::CColor GetPowerBombDigitAvailableOutline() const { return x140_powerBombDigitAvailableOutline; }
|
||||
zeus::CColor GetBallBombFilledColor() const { return x148_ballBombFilled; }
|
||||
zeus::CColor GetBallBombEmptyColor() const { return x14c_ballBombEmpty; }
|
||||
zeus::CColor GetPowerBombIconAvailableColor() const { return x150_powerBombIconAvailable; }
|
||||
zeus::CColor GetBallBombEnergyColor() const { return x158_ballEnergyDeco; }
|
||||
zeus::CColor GetBallBombDecoColor() const { return x15c_ballBombDeco; }
|
||||
zeus::CColor GetPowerBombDigitDelpetedFont() const { return x160_powerBombDigitDepletedFont; }
|
||||
zeus::CColor GetPowerBombDigitDelpetedOutline() const { return x164_powerBombDigitDepletedOutline; }
|
||||
zeus::CColor GetPowerBombIconDepletedColor() const { return x168_powerBombIconUnavailable; }
|
||||
zeus::CColor GetThreatIconWarningColor() const { return x17c_threatIconWarningColor; }
|
||||
zeus::CColor GetHudCounterFill() const { return x180_hudCounterFill; }
|
||||
zeus::CColor GetHudCounterOutline() const { return x184_hudCounterOutline; }
|
||||
zeus::CColor GetThreatDigitsFont() const { return x19c_threatDigitsFont; }
|
||||
zeus::CColor GetThreatDigitsOutline() const { return x1a0_threatDigitsOutline; }
|
||||
zeus::CColor GetMissileDigitsFont() const { return x1a4_missileDigitsFont; }
|
||||
zeus::CColor GetMissileDigitsOutline() const { return x1a8_missileDigitsOutline; }
|
||||
zeus::CColor GetThermalDecoColor() const { return x1ac_thermalDecoColor; }
|
||||
|
||||
Reference in New Issue
Block a user