2015-11-02 18:45:39 +00:00
|
|
|
#ifndef _DNAMP1_CTWEAKGAME_HPP_
|
|
|
|
#define _DNAMP1_CTWEAKGAME_HPP_
|
|
|
|
|
|
|
|
#include "../../DNACommon/Tweaks/ITweakGame.hpp"
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
namespace DataSpec
|
2015-11-02 18:45:39 +00:00
|
|
|
{
|
|
|
|
namespace DNAMP1
|
|
|
|
{
|
|
|
|
|
|
|
|
struct CTweakGame : ITweakGame
|
|
|
|
{
|
|
|
|
DECL_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;
|
|
|
|
Value<float> x30_presStartDelay;
|
2016-07-27 04:19:32 +00:00
|
|
|
Value<float> x34_unknown7;
|
|
|
|
Value<float> x38_unknown8;
|
|
|
|
Value<float> x3c_unknown9;
|
|
|
|
Value<float> x40_unknown10;
|
|
|
|
Value<float> x44_unknown11;
|
|
|
|
Value<float> x48_unknown12;
|
|
|
|
Value<float> x4c_unknown13;
|
|
|
|
Value<float> x50_unknown14;
|
|
|
|
Value<float> x54_unknown15;
|
|
|
|
Value<float> x58_unknown16;
|
|
|
|
Value<float> x5c_unknown17;
|
2016-12-24 06:08:48 +00:00
|
|
|
Value<float> x60_hardmodeDamageMult;
|
|
|
|
Value<float> x64_hardmodeWeaponMult;
|
2015-11-02 18:45:39 +00:00
|
|
|
|
2016-07-27 04:19:32 +00:00
|
|
|
virtual const std::string& GetWorldPrefix() const { return x4_worldPrefix; }
|
2016-12-24 06:08:48 +00:00
|
|
|
virtual bool GetSplashScreensDisabled() const { return x2b_splashScreensDisabled; }
|
2016-10-31 22:56:44 +00:00
|
|
|
virtual float GetFirstPersonFOV() const { return x24_fov; }
|
2016-12-24 06:08:48 +00:00
|
|
|
virtual float GetPressStartDelay() const { return x30_presStartDelay; }
|
|
|
|
virtual float GetHardModeDamageMultiplier() const { return x60_hardmodeDamageMult; }
|
|
|
|
virtual float GetHardModeWeaponMultiplier() const { return x64_hardmodeWeaponMult; }
|
|
|
|
CTweakGame() = default;
|
|
|
|
CTweakGame(athena::io::IStreamReader& in)
|
|
|
|
{
|
|
|
|
this->read(in);
|
|
|
|
x2b_splashScreensDisabled = false;
|
|
|
|
}
|
2015-11-02 18:45:39 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|