2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:47:43 +00:00

CCameraManager imps

This commit is contained in:
2016-10-31 15:56:44 -07:00
parent 5bbfd3bec9
commit d733dce1cf
17 changed files with 253 additions and 94 deletions

View File

@@ -9,6 +9,7 @@ namespace DataSpec
struct ITweakGame : BigYAML
{
virtual const std::string& GetWorldPrefix() const=0;
virtual float GetFirstPersonFOV() const =0;
};
}

View File

@@ -9,24 +9,28 @@ namespace DataSpec
struct ITweakPlayer : BigYAML
{
virtual float GetX50() const=0;
virtual float GetX54() const=0;
virtual float GetX58() const=0;
virtual float GetX5C() const=0;
virtual float GetPlayerHeight() const=0; // x26c
virtual float GetPlayerXYHalfExtent() const=0; // x270
virtual float GetPlayerSomething1() const=0; // x274
virtual float GetPlayerSomething2() const=0; // x278
virtual float GetPlayerSomething3() const=0; // x27c
virtual float GetPlayerSomething4() const=0; // x134
virtual bool GetPlayerSomething5() const=0; // x228_24
virtual float GetPlayerSomething6() const=0; // x288
virtual float GetPlayerSomething7() const=0; // x28c
virtual float GetPlayerSomething8() const=0; // x290
virtual float GetPlayerSomething9() const=0; // x294
virtual float GetPlayerSomething10() const=0; // x298
virtual float GetPlayerSomething11() const=0; // x29c
virtual float GetPlayerSomething12() const=0; // x280
virtual float GetPlayerSomething13() const=0; // x2b0
virtual float GetPlayerSomething14() const=0; // x184
virtual float GetPlayerSomething15() const=0; // x138
virtual float GetPlayerSomething16() const=0; // x14c
virtual bool GetX228_24() const=0; // x228_24
virtual float GetX274() const=0; // x274
virtual float GetX278() const=0; // x278
virtual float GetX27C() const=0; // x27c
virtual float GetX124() const=0; // x134
virtual float GetX288() const=0; // x288
virtual float GetX28c() const=0; // x28c
virtual float GetX290() const=0; // x290
virtual float GetX294() const=0; // x294
virtual float GetX298() const=0; // x298
virtual float GetX29C() const=0; // x29c
virtual float GetX280() const=0; // x280
virtual float GetX2B0() const=0; // x2b0
virtual float GetX184() const=0; // x184
virtual float GetX138() const=0; // x138
virtual float GetX14C() const=0; // x14c
virtual float GetLeftLogicalThreshold() const=0;
virtual float GetRightLogicalThreshold() const=0;
};

View File

@@ -36,6 +36,7 @@ struct CTweakGame : ITweakGame
Value<float> x68_hardmodeWeaponMult;
virtual const std::string& GetWorldPrefix() const { return x4_worldPrefix; }
virtual float GetFirstPersonFOV() const { return x24_fov; }
CTweakGame(athena::io::IStreamReader& in) { this->read(in); x2b_unknown4 = false; }
};
}

View File

@@ -175,24 +175,28 @@ struct CTweakPlayer : ITweakPlayer
Value<float> x300_;
Value<float> x304_;
Value<float> x308_;
float GetX50() const { return x44_[3]; }
float GetX54() const { return x44_[4]; }
float GetX58() const { return x44_[5]; }
float GetX5C() const { return x44_[6]; }
float GetPlayerHeight() const { return x26c_playerHeight; }
float GetPlayerXYHalfExtent() const { return x270_playerXYHalfExtent; }
float GetPlayerSomething1() const { return x274_; }
float GetPlayerSomething2() const { return x278_; }
float GetPlayerSomething3() const { return x27c_; }
float GetPlayerSomething4() const { return x134_; }
bool GetPlayerSomething5() const { return x228_24_; }
float GetPlayerSomething6() const { return x288_; }
float GetPlayerSomething7() const { return x28c_; }
float GetPlayerSomething8() const { return x290_; }
float GetPlayerSomething9() const { return x294_; }
float GetPlayerSomething10() const { return x298_; }
float GetPlayerSomething11() const { return x29c_; }
float GetPlayerSomething12() const { return x280_; }
float GetPlayerSomething13() const { return x2b0_; }
float GetPlayerSomething14() const { return x184_; }
float GetPlayerSomething15() const { return x138_; }
float GetPlayerSomething16() const { return x14c_; }
float GetX274() const { return x274_; }
float GetX278() const { return x278_; }
float GetX27C() const { return x27c_; }
float GetX124() const { return x134_; }
bool GetX228_24() const { return x228_24_; }
float GetX288() const { return x288_; }
float GetX28c() const { return x28c_; }
float GetX290() const { return x290_; }
float GetX294() const { return x294_; }
float GetX298() const { return x298_; }
float GetX29C() const { return x29c_; }
float GetX280() const { return x280_; }
float GetX2B0() const { return x2b0_; }
float GetX184() const { return x184_; }
float GetX138() const { return x138_; }
float GetX14C() const { return x14c_; }
float GetLeftLogicalThreshold() const {return x150_leftDiv;}
float GetRightLogicalThreshold() const {return x154_rightDiv;}
CTweakPlayer() = default;