mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 15:44:56 +00:00
Work on CPlayer
This commit is contained in:
@@ -205,10 +205,10 @@ void CTweakPlayer::read(athena::io::IStreamReader& __dna_reader)
|
||||
x229_28_ = __dna_reader.readBool();
|
||||
/* x229_29_ */
|
||||
x229_29_ = __dna_reader.readBool();
|
||||
/* x229_30_ */
|
||||
x229_30_ = __dna_reader.readBool();
|
||||
/* x229_31_ */
|
||||
x229_31_ = __dna_reader.readBool();
|
||||
/* x229_30_gunButtonTogglesHolster */
|
||||
x229_30_gunButtonTogglesHolster = __dna_reader.readBool();
|
||||
/* x229_31_gunNotFiringHolstersGun */
|
||||
x229_31_gunNotFiringHolstersGun = __dna_reader.readBool();
|
||||
/* x22a_24_ */
|
||||
x22a_24_ = __dna_reader.readBool();
|
||||
/* x22a_25_ */
|
||||
@@ -645,10 +645,10 @@ void CTweakPlayer::write(athena::io::IStreamWriter& __dna_writer) const
|
||||
__dna_writer.writeBool(x229_28_);
|
||||
/* x229_29_ */
|
||||
__dna_writer.writeBool(x229_29_);
|
||||
/* x229_30_ */
|
||||
__dna_writer.writeBool(x229_30_);
|
||||
/* x229_31_ */
|
||||
__dna_writer.writeBool(x229_31_);
|
||||
/* x229_30_gunButtonTogglesHolster */
|
||||
__dna_writer.writeBool(x229_30_gunButtonTogglesHolster);
|
||||
/* x229_31_gunNotFiringHolstersGun */
|
||||
__dna_writer.writeBool(x229_31_gunNotFiringHolstersGun);
|
||||
/* x22a_24_ */
|
||||
__dna_writer.writeBool(x22a_24_);
|
||||
/* x22a_25_ */
|
||||
@@ -1115,10 +1115,10 @@ void CTweakPlayer::read(athena::io::YAMLDocReader& __dna_docin)
|
||||
x229_28_ = __dna_docin.readBool("x229_28_");
|
||||
/* x229_29_ */
|
||||
x229_29_ = __dna_docin.readBool("x229_29_");
|
||||
/* x229_30_ */
|
||||
x229_30_ = __dna_docin.readBool("x229_30_");
|
||||
/* x229_31_ */
|
||||
x229_31_ = __dna_docin.readBool("x229_31_");
|
||||
/* x229_30_gunButtonTogglesHolster */
|
||||
x229_30_gunButtonTogglesHolster = __dna_docin.readBool("x229_30_gunButtonTogglesHolster");
|
||||
/* x229_31_gunNotFiringHolstersGun */
|
||||
x229_31_gunNotFiringHolstersGun = __dna_docin.readBool("x229_31_gunNotFiringHolstersGun");
|
||||
/* x22a_24_ */
|
||||
x22a_24_ = __dna_docin.readBool("x22a_24_");
|
||||
/* x22a_25_ */
|
||||
@@ -1624,10 +1624,10 @@ void CTweakPlayer::write(athena::io::YAMLDocWriter& __dna_docout) const
|
||||
__dna_docout.writeBool("x229_28_", x229_28_);
|
||||
/* x229_29_ */
|
||||
__dna_docout.writeBool("x229_29_", x229_29_);
|
||||
/* x229_30_ */
|
||||
__dna_docout.writeBool("x229_30_", x229_30_);
|
||||
/* x229_31_ */
|
||||
__dna_docout.writeBool("x229_31_", x229_31_);
|
||||
/* x229_30_gunButtonTogglesHolster */
|
||||
__dna_docout.writeBool("x229_30_gunButtonTogglesHolster", x229_30_gunButtonTogglesHolster);
|
||||
/* x229_31_gunNotFiringHolstersGun */
|
||||
__dna_docout.writeBool("x229_31_gunNotFiringHolstersGun", x229_31_gunNotFiringHolstersGun);
|
||||
/* x22a_24_ */
|
||||
__dna_docout.writeBool("x22a_24_", x22a_24_);
|
||||
/* x22a_25_ */
|
||||
|
||||
@@ -111,8 +111,8 @@ struct CTweakPlayer : ITweakPlayer
|
||||
Value<bool> x229_27_ : 1;
|
||||
Value<bool> x229_28_ : 1;
|
||||
Value<bool> x229_29_ : 1;
|
||||
Value<bool> x229_30_ : 1;
|
||||
Value<bool> x229_31_ : 1;
|
||||
Value<bool> x229_30_gunButtonTogglesHolster : 1;
|
||||
Value<bool> x229_31_gunNotFiringHolstersGun : 1;
|
||||
Value<bool> x22a_24_ : 1;
|
||||
Value<bool> x22a_25_ : 1;
|
||||
Value<bool> x22a_26_firingCancelsCameraPitch : 1;
|
||||
@@ -194,6 +194,8 @@ struct CTweakPlayer : ITweakPlayer
|
||||
float GetScanningRange() const { return x218_scanningRange; }
|
||||
bool GetScanFreezesGame() const { return x21c_25_scanFreezesGame; }
|
||||
float GetScanningFrameSenseRange() const { return x224_scanningFrameSenseRange; }
|
||||
bool GetGunButtonTogglesHolster() const { return x229_30_gunButtonTogglesHolster; }
|
||||
bool GetGunNotFiringHolstersGun() const { return x229_31_gunNotFiringHolstersGun; }
|
||||
bool GetFiringCancelsCameraPitch() const { return x22a_26_firingCancelsCameraPitch; }
|
||||
float GetPlayerHeight() const { return x26c_playerHeight; }
|
||||
float GetPlayerXYHalfExtent() const { return x270_playerXYHalfExtent; }
|
||||
|
||||
Reference in New Issue
Block a user