metaforce/DataSpec/DNAMP1/Tweaks/CTweakGame.hpp

59 lines
1.8 KiB
C++
Raw Permalink Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2019-09-29 12:44:37 +00:00
#include "DataSpec/DNACommon/Tweaks/ITweakGame.hpp"
namespace hecl {
class CVar;
} // namespace hecl
2018-12-08 05:30:43 +00:00
namespace DataSpec::DNAMP1 {
2021-06-07 19:29:18 +00:00
#define DEFINE_CVAR_GLOBAL(name) extern hecl::CVar* tw_##name;
DEFINE_CVAR_GLOBAL(WorldPrefix);
DEFINE_CVAR_GLOBAL(FieldOfView);
DEFINE_CVAR_GLOBAL(SplashScreensDisabled);
DEFINE_CVAR_GLOBAL(PressStartDelay);
DEFINE_CVAR_GLOBAL(WavecapIntensityNormal);
DEFINE_CVAR_GLOBAL(WavecapIntensityPoison);
DEFINE_CVAR_GLOBAL(WavecapIntensityLava);
DEFINE_CVAR_GLOBAL(RippleIntensityNormal);
DEFINE_CVAR_GLOBAL(RippleIntensityPoison);
DEFINE_CVAR_GLOBAL(RippleIntensityLava);
DEFINE_CVAR_GLOBAL(FluidEnvBumpScale);
DEFINE_CVAR_GLOBAL(WaterFogDistanceBase);
DEFINE_CVAR_GLOBAL(WaterFogDistanceRange);
DEFINE_CVAR_GLOBAL(GravityWaterFogDistanceBase);
DEFINE_CVAR_GLOBAL(GravityWaterFogDistanceRange);
DEFINE_CVAR_GLOBAL(HardModeDamageMult);
DEFINE_CVAR_GLOBAL(HardModeWeaponMult);
#undef DEFINE_CVAR_GLOBAL
2018-12-08 05:30:43 +00:00
struct CTweakGame final : ITweakGame {
AT_DECL_DNA_YAML
String<-1> x4_worldPrefix;
2019-08-04 00:02:53 +00:00
String<-1> x14_defaultRoom;
2018-12-08 05:30:43 +00:00
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_rippleIntensityPoison;
2018-12-08 05:30:43 +00:00
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;
};
2018-12-08 05:30:43 +00:00
} // namespace DataSpec::DNAMP1