metaforce/DataSpec/DNAMP1/Tweaks/CTweakGame.hpp

65 lines
2.5 KiB
C++

#ifndef _DNAMP1_CTWEAKGAME_HPP_
#define _DNAMP1_CTWEAKGAME_HPP_
#include "../../DNACommon/Tweaks/ITweakGame.hpp"
namespace DataSpec
{
namespace DNAMP1
{
struct CTweakGame final : ITweakGame
{
DECL_YAML
String<-1> x4_worldPrefix;
String<-1> x14_ruinsArea; // ????
Value<float> x24_fov;
Value<bool> x28_unknown1;
Value<bool> x29_unknown2;
Value<bool> x2a_unknown3;
Value<bool> x2b_splashScreensDisabled;
Value<float> x2c_unknown5;
Value<float> x30_pressStartDelay;
Value<float> x34_wavecapIntensityNormal;
Value<float> x38_wavecapIntensityPoison;
Value<float> x3c_wavecapIntensityLava;
Value<float> x40_rippleIntensityNormal;
Value<float> x44_rippleIntentityPoison;
Value<float> x48_rippleIntensityLava;
Value<float> x4c_fluidEnvBumpScale;
Value<float> x50_waterFogDistanceBase;
Value<float> x54_waterFogDistanceRange;
Value<float> x58_gravityWaterFogDistanceBase;
Value<float> x5c_gravityWaterFogDistanceRange;
Value<float> x60_hardmodeDamageMult;
Value<float> x64_hardmodeWeaponMult;
std::string_view GetWorldPrefix() const { return x4_worldPrefix; }
bool GetSplashScreensDisabled() const { return x2b_splashScreensDisabled; }
float GetFirstPersonFOV() const { return x24_fov; }
float GetPressStartDelay() const { return x30_pressStartDelay; }
float GetWavecapIntensityNormal() const { return x34_wavecapIntensityNormal; }
float GetWavecapIntensityPoison() const { return x38_wavecapIntensityPoison; }
float GetWavecapIntensityLava() const { return x3c_wavecapIntensityLava; }
float GetRippleIntensityNormal() const { return x40_rippleIntensityNormal; }
float GetRippleIntensityPoison() const { return x44_rippleIntentityPoison; }
float GetRippleIntensityLava() const { return x48_rippleIntensityLava; }
float GetFluidEnvBumpScale() const { return x4c_fluidEnvBumpScale; }
float GetWaterFogDistanceBase() const { return x50_waterFogDistanceBase; }
float GetWaterFogDistanceRange() const { return x54_waterFogDistanceRange; }
float GetGravityWaterFogDistanceBase() const { return x58_gravityWaterFogDistanceBase; }
float GetGravityWaterFogDistanceRange() const { return x5c_gravityWaterFogDistanceRange; }
float GetHardModeDamageMultiplier() const { return x60_hardmodeDamageMult; }
float GetHardModeWeaponMultiplier() const { return x64_hardmodeWeaponMult; }
CTweakGame() = default;
CTweakGame(athena::io::IStreamReader& in)
{
this->read(in);
x2b_splashScreensDisabled = false;
}
};
}
}
#endif