2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CTWEAKGAME
|
|
|
|
#define _CTWEAKGAME
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-09-13 04:26:54 +00:00
|
|
|
#include "MetroidPrime/Tweaks/ITweakObject.hpp"
|
|
|
|
|
2022-10-16 14:57:07 +00:00
|
|
|
#include "Kyoto/TOneStatic.hpp"
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
#include "rstl/string.hpp"
|
|
|
|
|
2022-10-16 14:57:07 +00:00
|
|
|
class CTweakGame;
|
|
|
|
|
|
|
|
class CTweakGame : public ITweakObject, public TOneStatic< CTweakGame > {
|
2022-04-10 00:17:06 +00:00
|
|
|
public:
|
2022-10-16 14:57:07 +00:00
|
|
|
CTweakGame(CInputStream&);
|
2023-02-06 17:01:01 +00:00
|
|
|
~CTweakGame() override;
|
2022-09-13 04:26:54 +00:00
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
const rstl::string& GetWorldPrefix() { return x4_worldPrefix; }
|
2022-09-13 04:26:54 +00:00
|
|
|
const rstl::string& GetDefaultRoom() const { return x14_defaultRoom; }
|
|
|
|
bool GetSplashScreensDisabled() const { return x2b_splashScreensDisabled; }
|
2022-10-09 05:37:23 +00:00
|
|
|
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_rippleIntensityPoison; }
|
|
|
|
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; }
|
2022-04-10 00:17:06 +00:00
|
|
|
|
2024-09-22 22:58:50 +00:00
|
|
|
// private:
|
2022-04-10 00:17:06 +00:00
|
|
|
rstl::string x4_worldPrefix;
|
2022-09-13 04:26:54 +00:00
|
|
|
rstl::string x14_defaultRoom;
|
2022-10-09 05:37:23 +00:00
|
|
|
float x24_fov;
|
2022-09-13 04:26:54 +00:00
|
|
|
bool x28_unknown1;
|
|
|
|
bool x29_unknown2;
|
|
|
|
bool x2a_unknown3;
|
|
|
|
bool x2b_splashScreensDisabled;
|
2022-10-09 05:37:23 +00:00
|
|
|
float x2c_unknown5;
|
|
|
|
float x30_pressStartDelay;
|
|
|
|
float x34_wavecapIntensityNormal;
|
|
|
|
float x38_wavecapIntensityPoison;
|
|
|
|
float x3c_wavecapIntensityLava;
|
|
|
|
float x40_rippleIntensityNormal;
|
|
|
|
float x44_rippleIntensityPoison;
|
|
|
|
float x48_rippleIntensityLava;
|
|
|
|
float x4c_fluidEnvBumpScale;
|
|
|
|
float x50_waterFogDistanceBase;
|
|
|
|
float x54_waterFogDistanceRange;
|
|
|
|
float x58_gravityWaterFogDistanceBase;
|
|
|
|
float x5c_gravityWaterFogDistanceRange;
|
|
|
|
float x60_hardmodeDamageMult;
|
|
|
|
float x64_hardmodeWeaponMult;
|
2022-04-10 00:17:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern CTweakGame* gpTweakGame;
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CTWEAKGAME
|