2015-11-02 18:45:39 +00:00
|
|
|
#ifndef _DNAMP1_CTWEAKGAME_HPP_
|
|
|
|
#define _DNAMP1_CTWEAKGAME_HPP_
|
|
|
|
|
|
|
|
#include "../../DNACommon/Tweaks/ITweakGame.hpp"
|
|
|
|
|
2017-12-29 08:08:12 +00:00
|
|
|
namespace DataSpec::DNAMP1
|
2015-11-02 18:45:39 +00:00
|
|
|
{
|
|
|
|
|
2017-08-27 03:02:18 +00:00
|
|
|
struct CTweakGame final : ITweakGame
|
2015-11-02 18:45:39 +00:00
|
|
|
{
|
2018-02-22 07:24:51 +00:00
|
|
|
AT_DECL_DNA_YAML
|
2016-07-27 04:19:32 +00:00
|
|
|
String<-1> x4_worldPrefix;
|
|
|
|
String<-1> x14_ruinsArea; // ????
|
|
|
|
Value<float> x24_fov;
|
|
|
|
Value<bool> x28_unknown1;
|
|
|
|
Value<bool> x29_unknown2;
|
|
|
|
Value<bool> x2a_unknown3;
|
2016-12-24 06:08:48 +00:00
|
|
|
Value<bool> x2b_splashScreensDisabled;
|
|
|
|
Value<float> x2c_unknown5;
|
2017-08-10 07:05:27 +00:00
|
|
|
Value<float> x30_pressStartDelay;
|
2017-08-10 23:13:25 +00:00
|
|
|
Value<float> x34_wavecapIntensityNormal;
|
|
|
|
Value<float> x38_wavecapIntensityPoison;
|
|
|
|
Value<float> x3c_wavecapIntensityLava;
|
2017-08-14 03:55:06 +00:00
|
|
|
Value<float> x40_rippleIntensityNormal;
|
|
|
|
Value<float> x44_rippleIntentityPoison;
|
|
|
|
Value<float> x48_rippleIntensityLava;
|
2017-08-08 06:03:57 +00:00
|
|
|
Value<float> x4c_fluidEnvBumpScale;
|
2017-10-06 07:29:56 +00:00
|
|
|
Value<float> x50_waterFogDistanceBase;
|
|
|
|
Value<float> x54_waterFogDistanceRange;
|
|
|
|
Value<float> x58_gravityWaterFogDistanceBase;
|
|
|
|
Value<float> x5c_gravityWaterFogDistanceRange;
|
2016-12-24 06:08:48 +00:00
|
|
|
Value<float> x60_hardmodeDamageMult;
|
|
|
|
Value<float> x64_hardmodeWeaponMult;
|
2015-11-02 18:45:39 +00:00
|
|
|
|
2017-11-13 06:19:18 +00:00
|
|
|
std::string_view GetWorldPrefix() const { return x4_worldPrefix; }
|
2017-08-10 07:05:27 +00:00
|
|
|
bool GetSplashScreensDisabled() const { return x2b_splashScreensDisabled; }
|
|
|
|
float GetFirstPersonFOV() const { return x24_fov; }
|
|
|
|
float GetPressStartDelay() const { return x30_pressStartDelay; }
|
2017-08-10 23:13:25 +00:00
|
|
|
float GetWavecapIntensityNormal() const { return x34_wavecapIntensityNormal; }
|
|
|
|
float GetWavecapIntensityPoison() const { return x38_wavecapIntensityPoison; }
|
|
|
|
float GetWavecapIntensityLava() const { return x3c_wavecapIntensityLava; }
|
2017-08-14 03:55:06 +00:00
|
|
|
float GetRippleIntensityNormal() const { return x40_rippleIntensityNormal; }
|
|
|
|
float GetRippleIntensityPoison() const { return x44_rippleIntentityPoison; }
|
|
|
|
float GetRippleIntensityLava() const { return x48_rippleIntensityLava; }
|
2017-08-10 07:05:27 +00:00
|
|
|
float GetFluidEnvBumpScale() const { return x4c_fluidEnvBumpScale; }
|
2017-10-06 07:43:39 +00:00
|
|
|
float GetWaterFogDistanceBase() const { return x50_waterFogDistanceBase; }
|
|
|
|
float GetWaterFogDistanceRange() const { return x54_waterFogDistanceRange; }
|
|
|
|
float GetGravityWaterFogDistanceBase() const { return x58_gravityWaterFogDistanceBase; }
|
|
|
|
float GetGravityWaterFogDistanceRange() const { return x5c_gravityWaterFogDistanceRange; }
|
2017-08-10 07:05:27 +00:00
|
|
|
float GetHardModeDamageMultiplier() const { return x60_hardmodeDamageMult; }
|
|
|
|
float GetHardModeWeaponMultiplier() const { return x64_hardmodeWeaponMult; }
|
2016-12-24 06:08:48 +00:00
|
|
|
CTweakGame() = default;
|
|
|
|
CTweakGame(athena::io::IStreamReader& in)
|
|
|
|
{
|
|
|
|
this->read(in);
|
|
|
|
x2b_splashScreensDisabled = false;
|
|
|
|
}
|
2018-01-15 16:00:20 +00:00
|
|
|
|
|
|
|
void initCVars(hecl::CVarManager* mgr);
|
2015-11-02 18:45:39 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|