mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:04:55 +00:00
Lots of CSamusHud imps
This commit is contained in:
@@ -19,20 +19,25 @@ struct ITweakGui : ITweak
|
||||
|
||||
enum class EHelmetVisMode : atUint32
|
||||
{
|
||||
Zero,
|
||||
One,
|
||||
Two,
|
||||
Three,
|
||||
Four
|
||||
ReducedUpdate,
|
||||
NotVisible,
|
||||
Deco,
|
||||
HelmetDeco,
|
||||
GlowHelmetDeco,
|
||||
HelmetOnly
|
||||
};
|
||||
|
||||
virtual float GetMapAlphaInterpolant() const=0;
|
||||
virtual atUint32 GetHudCamFovTweak() const=0;
|
||||
virtual atUint32 GetHudCamYTweak() const=0;
|
||||
virtual atUint32 GetHudCamZTweak() 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 GetScanAppearanceOffset() const=0;
|
||||
virtual float GetBallViewportYReduction() const=0;
|
||||
virtual float GetScanSpeed(int idx) const=0;
|
||||
virtual float GetXrayBlurScaleLinear() const=0;
|
||||
virtual float GetXrayBlurScaleQuadratic() const=0;
|
||||
|
||||
@@ -11,8 +11,12 @@ struct ITweakGuiColors : BigYAML
|
||||
virtual zeus::CColor GetHudMessageOutline() const=0;
|
||||
virtual zeus::CColor GetHudFrameColor() const=0;
|
||||
virtual zeus::CColor GetTickDecoColor() const=0;
|
||||
virtual zeus::CColor GetXRayEnergyDecoColor() const=0;
|
||||
virtual zeus::CColor GetHudCounterFill() const=0;
|
||||
virtual zeus::CColor GetHudCounterOutline() const=0;
|
||||
virtual zeus::CColor GetThermalDecoColor() const=0;
|
||||
virtual zeus::CColor GetThermalOutlinesColor() const=0;
|
||||
virtual zeus::CColor GetThermalLockColor() const=0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ struct ITweakPlayer : ITweak
|
||||
virtual float GetX58() const=0;
|
||||
virtual float GetX5C() const=0;
|
||||
virtual float GetScanningRange() const=0; // x218
|
||||
virtual bool GetScanFreezesGame() const=0; // x21c_25
|
||||
virtual float GetPlayerHeight() const=0; // x26c
|
||||
virtual float GetPlayerXYHalfExtent() const=0; // x270
|
||||
virtual bool GetX228_24() const=0; // x228_24
|
||||
|
||||
@@ -47,9 +47,9 @@ struct CTweakGui : ITweakGui
|
||||
Value<float> x9c_;
|
||||
Value<float> xa0_;
|
||||
Value<float> xa4_;
|
||||
Value<atUint32> xa8_;
|
||||
Value<atUint32> xac_;
|
||||
Value<atUint32> xb0_;
|
||||
Value<atUint32> xa8_hudCamFovTweak;
|
||||
Value<atUint32> xac_hudCamYTweak;
|
||||
Value<atUint32> xb0_hudCamZTweak;
|
||||
Value<float> xb4_;
|
||||
Value<float> xb8_;
|
||||
Value<float> xbc_;
|
||||
@@ -140,7 +140,7 @@ struct CTweakGui : ITweakGui
|
||||
Value<float> x248_;
|
||||
Value<float> x24c_;
|
||||
Value<float> x250_;
|
||||
Value<float> x254_;
|
||||
Value<float> x254_ballViewportYReduction;
|
||||
Value<float> x258_;
|
||||
Value<float> x25c_;
|
||||
Value<float> x260_;
|
||||
@@ -196,12 +196,16 @@ struct CTweakGui : ITweakGui
|
||||
CTweakGui(athena::io::IStreamReader& r) { this->read(r); }
|
||||
|
||||
float GetMapAlphaInterpolant() const { return x8_mapAlphaInterp; }
|
||||
atUint32 GetHudCamFovTweak() const { return xa8_hudCamFovTweak; }
|
||||
atUint32 GetHudCamYTweak() const { return xac_hudCamYTweak; }
|
||||
atUint32 GetHudCamZTweak() const { return xb0_hudCamZTweak; }
|
||||
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 GetScanAppearanceOffset() const { return x244_scanAppearanceOffset; }
|
||||
float GetBallViewportYReduction() const { return x254_ballViewportYReduction; }
|
||||
float GetXrayBlurScaleLinear() const { return x204_xrayBlurScaleLinear; }
|
||||
float GetXrayBlurScaleQuadratic() const { return x208_xrayBlurScaleQuadratic; }
|
||||
float GetScanSidesAngle() const { return x210_scanSidesAngle; }
|
||||
|
||||
@@ -73,7 +73,7 @@ struct CTweakGuiColors : public ITweakGuiColors
|
||||
DNAColor xf4_;
|
||||
DNAColor xf8_;
|
||||
DNAColor xfc_;
|
||||
DNAColor x100_;
|
||||
DNAColor x100_xrayEnergyDecoColor;
|
||||
DNAColor x104_;
|
||||
DNAColor x108_;
|
||||
DNAColor x10c_;
|
||||
@@ -116,10 +116,10 @@ struct CTweakGuiColors : public ITweakGuiColors
|
||||
DNAColor x1a0_;
|
||||
DNAColor x1a4_;
|
||||
DNAColor x1a8_;
|
||||
DNAColor x1ac_;
|
||||
DNAColor x1b0_;
|
||||
DNAColor x1ac_thermalDecoColor;
|
||||
DNAColor x1b0_thermalOutlinesColor;
|
||||
DNAColor x1b4_;
|
||||
DNAColor x1b8_;
|
||||
DNAColor x1b8_thermalLockColor;
|
||||
DNAColor x1bc_;
|
||||
DNAColor x1c0_;
|
||||
struct UnkColors : BigYAML
|
||||
@@ -143,8 +143,12 @@ struct CTweakGuiColors : public ITweakGuiColors
|
||||
zeus::CColor GetHudMessageOutline() const { return x18_hudMessageOutline; }
|
||||
zeus::CColor GetHudFrameColor() const { return x1c_hudFrameColor; }
|
||||
zeus::CColor GetTickDecoColor() const { return x88_tickDecoColor; }
|
||||
zeus::CColor GetXRayEnergyDecoColor() const { return x100_xrayEnergyDecoColor; }
|
||||
zeus::CColor GetHudCounterFill() const { return x180_hudCounterFill; }
|
||||
zeus::CColor GetHudCounterOutline() const { return x184_hudCounterOutline; }
|
||||
zeus::CColor GetThermalDecoColor() const { return x1ac_thermalDecoColor; }
|
||||
zeus::CColor GetThermalOutlinesColor() const { return x1b0_thermalOutlinesColor; }
|
||||
zeus::CColor GetThermalLockColor() const { return x1b8_thermalLockColor; }
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -354,7 +354,7 @@ void CTweakPlayer::read(athena::io::IStreamReader& __dna_reader)
|
||||
/* x21c_24_ */
|
||||
x21c_24_ = __dna_reader.readBool();
|
||||
/* x21c_25_ */
|
||||
x21c_25_ = __dna_reader.readBool();
|
||||
x21c_25_scanFreezesGame = __dna_reader.readBool();
|
||||
/* x21c_26_ */
|
||||
x21c_26_ = __dna_reader.readBool();
|
||||
/* x220_ */
|
||||
@@ -794,7 +794,7 @@ void CTweakPlayer::write(athena::io::IStreamWriter& __dna_writer) const
|
||||
/* x21c_24_ */
|
||||
__dna_writer.writeBool(x21c_24_);
|
||||
/* x21c_25_ */
|
||||
__dna_writer.writeBool(x21c_25_);
|
||||
__dna_writer.writeBool(x21c_25_scanFreezesGame);
|
||||
/* x21c_26_ */
|
||||
__dna_writer.writeBool(x21c_26_);
|
||||
/* x220_ */
|
||||
@@ -1309,7 +1309,7 @@ void CTweakPlayer::read(athena::io::YAMLDocReader& __dna_docin)
|
||||
/* x21c_24_ */
|
||||
x21c_24_ = __dna_docin.readBool("x21c_24_");
|
||||
/* x21c_25_ */
|
||||
x21c_25_ = __dna_docin.readBool("x21c_25_");
|
||||
x21c_25_scanFreezesGame = __dna_docin.readBool("x21c_25_");
|
||||
/* x21c_26_ */
|
||||
x21c_26_ = __dna_docin.readBool("x21c_26_");
|
||||
/* x220_ */
|
||||
@@ -1809,7 +1809,7 @@ void CTweakPlayer::CTweakPlayer::write(athena::io::YAMLDocWriter& __dna_docout)
|
||||
/* x21c_24_ */
|
||||
__dna_docout.writeBool("x21c_24_", x21c_24_);
|
||||
/* x21c_25_ */
|
||||
__dna_docout.writeBool("x21c_25_", x21c_25_);
|
||||
__dna_docout.writeBool("x21c_25_", x21c_25_scanFreezesGame);
|
||||
/* x21c_26_ */
|
||||
__dna_docout.writeBool("x21c_26_", x21c_26_);
|
||||
/* x220_ */
|
||||
|
||||
@@ -93,7 +93,7 @@ struct CTweakPlayer : ITweakPlayer
|
||||
Value<float> x214_;
|
||||
Value<float> x218_scanningRange;
|
||||
Value<bool> x21c_24_ : 1;
|
||||
Value<bool> x21c_25_ : 1;
|
||||
Value<bool> x21c_25_scanFreezesGame : 1;
|
||||
Value<bool> x21c_26_ : 1;
|
||||
Value<float> x220_;
|
||||
Value<float> x224_;
|
||||
@@ -180,6 +180,7 @@ struct CTweakPlayer : ITweakPlayer
|
||||
float GetX58() const { return x44_[5]; }
|
||||
float GetX5C() const { return x44_[6]; }
|
||||
float GetScanningRange() const { return x218_scanningRange; }
|
||||
bool GetScanFreezesGame() const { return x21c_25_scanFreezesGame; }
|
||||
float GetPlayerHeight() const { return x26c_playerHeight; }
|
||||
float GetPlayerXYHalfExtent() const { return x270_playerXYHalfExtent; }
|
||||
float GetX274() const { return x274_; }
|
||||
|
||||
Reference in New Issue
Block a user