2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:44:56 +00:00

Initial InGameGuiManager imps

This commit is contained in:
Jack Andersen
2017-02-11 17:17:18 -10:00
parent def32a1cca
commit a7cab596e6
57 changed files with 1133 additions and 221 deletions

View File

@@ -70,7 +70,7 @@ struct CTweakAutoMapper : public ITweakAutoMapper
Value<float> xe0_;
Value<float> xe4_;
Value<float> xe8_;
Value<float> xec_;
Value<float> xec_camVerticalOffset;
DNAColor xf0_;
DNAColor xf4_;
DNAColor xf8_;
@@ -83,6 +83,7 @@ struct CTweakAutoMapper : public ITweakAutoMapper
CTweakAutoMapper() = default;
CTweakAutoMapper(athena::io::IStreamReader& r) { this->read(r); }
const zeus::CVector3f& GetDoorCenter() const { return xa4_doorCenter; }
float GetCamVerticalOffset() const { return xec_camVerticalOffset; }
};
}
}

View File

@@ -67,12 +67,12 @@ struct CTweakGui : ITweakGui
Value<float> xec_;
Value<float> xf0_;
Value<float> xf4_;
Value<atUint32> xf8_;
Value<atUint32> xfc_;
Value<atUint32> x100_;
Value<EHudVisMode> xf8_hudVisMode;
Value<EHelmetVisMode> xfc_helmetVisMode;
Value<atUint32> x100_enableAutoMapper;
Value<atUint32> x104_;
Value<atUint32> x108_;
Value<atUint32> x10c_;
Value<atUint32> x108_enableTargetingManager;
Value<atUint32> x10c_enablePlayerVisor;
Value<float> x110_;
Value<float> x114_;
Value<float> x118_;
@@ -150,7 +150,7 @@ struct CTweakGui : ITweakGui
Value<float> x270_;
Value<bool> x274_;
bool x275_ = true;
Value<float> x278_;
Value<float> x278_wtMgrCharsPerSfx;
Value<atUint32> x27c_;
Value<float> x280_;
Value<float> x284_;
@@ -195,9 +195,15 @@ struct CTweakGui : ITweakGui
CTweakGui() = default;
CTweakGui(athena::io::IStreamReader& r) { this->read(r); }
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 GetXrayBlurScaleLinear() const { return x204_xrayBlurScaleLinear; }
float GetXrayBlurScaleQuadratic() const { return x208_xrayBlurScaleQuadratic; }
float GetWorldTransManagerCharsPerSfx() const { return x278_wtMgrCharsPerSfx; }
float GetScanSpeed(int idx) const
{

View File

@@ -94,7 +94,7 @@ struct CTweakPlayerRes : ITweakPlayerRes
const std::string& GetBallTransitionsANCS() const { return m_ballTransitionsANCS; }
const std::string& GetBallTransitionModel(size_t idx) const { return (&m_ballTransitionsPower)[idx]; }
const std::string& GetBallTransitionBeamRes(size_t idx) const { return (&m_ballTransitionsPower)[idx]; }
const std::string& GetBeamCineModel(size_t idx) const { return (&m_cinePower)[idx]; }
float GetUnkFloat() const { return m_unkFloat; }