mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 01:47:43 +00:00
More CPlayer implementations
This commit is contained in:
@@ -24,11 +24,11 @@ struct CTweakPlayer : ITweakPlayer
|
||||
Value<float> xd4_verticalDoubleJumpAccel;
|
||||
Value<float> xd8_horizontalDoubleJumpAccel;
|
||||
Value<float> xdc_waterJumpFactor;
|
||||
Value<float> xe0_;
|
||||
Value<float> xe0_waterBallJumpFactor;
|
||||
Value<float> xe4_lavaJumpFactor;
|
||||
Value<float> xe8_;
|
||||
Value<float> xe8_lavaBallJumpFactor;
|
||||
Value<float> xec_phazonJumpFactor;
|
||||
Value<float> xf0_;
|
||||
Value<float> xf0_phazonBallJumpFactor;
|
||||
Value<float> xf4_allowedJumpTime;
|
||||
Value<float> xf8_allowedDoubleJumpTime;
|
||||
Value<float> xfc_minDoubleJumpWindow;
|
||||
@@ -39,8 +39,8 @@ struct CTweakPlayer : ITweakPlayer
|
||||
Value<float> x110_allowedLedgeTime;
|
||||
Value<float> x114_doubleJumpImpulse;
|
||||
Value<float> x118_backwardsForceMultiplier;
|
||||
Value<float> x11c_;
|
||||
Value<float> x120_;
|
||||
Value<float> x11c_bombJumpRadius;
|
||||
Value<float> x120_bombJumpHeight;
|
||||
Value<float> x124_eyeOffset;
|
||||
Value<float> x128_turnSpeedMultiplier;
|
||||
Value<float> x12c_freeLookTurnSpeedMultiplier;
|
||||
@@ -51,22 +51,22 @@ struct CTweakPlayer : ITweakPlayer
|
||||
Value<float> x140_;
|
||||
Value<float> x144_freeLookCenteredThresholdAngle;
|
||||
Value<float> x148_freeLookCenteredTime;
|
||||
Value<float> x14c_;
|
||||
Value<float> x14c_freeLookDampenFactor;
|
||||
Value<float> x150_leftDiv;
|
||||
Value<float> x154_rightDiv;
|
||||
Value<float> x158_[3];
|
||||
Value<float> x164_[3];
|
||||
Value<float> x170_[3];
|
||||
Value<float> x158_orbitZBasedDistance[3];
|
||||
Value<float> x164_orbitNormalDistance[3];
|
||||
Value<float> x170_orbitMaxDistance[3];
|
||||
Value<float> x17c_;
|
||||
Value<float> x180_orbitNormalDistance;
|
||||
Value<float> x184_;
|
||||
Value<float> x188_maxUpwardOrbitLookAngle;
|
||||
Value<float> x18c_maxDownwardOrbitLookAngle;
|
||||
Value<float> x180_orbitModeTimer;
|
||||
Value<float> x184_orbitCameraSpeed;
|
||||
Value<float> x188_orbitUpperAngle;
|
||||
Value<float> x18c_orbitLowerAngle;
|
||||
Value<float> x190_orbitHorizAngle;
|
||||
Value<float> x194_;
|
||||
Value<float> x198_;
|
||||
Value<float> x19c_;
|
||||
Value<float> x1a0_;
|
||||
Value<float> x19c_orbitMaxTargetDistance;
|
||||
Value<float> x1a0_orbitMaxLockDistance;
|
||||
Value<float> x1a4_orbitDistanceThreshold;
|
||||
Value<atUint32> x1a8_orbitScreenBoxHalfExtentX[2];
|
||||
Value<atUint32> x1b0_orbitScreenBoxHalfExtentY[2];
|
||||
@@ -78,12 +78,12 @@ struct CTweakPlayer : ITweakPlayer
|
||||
Value<float> x1dc_orbitNearZ;
|
||||
Value<float> x1e0_;
|
||||
Value<float> x1e4_;
|
||||
Value<float> x1e8_;
|
||||
Value<float> x1e8_orbitFixedOffsetZDiff;
|
||||
Value<float> x1ec_orbitZRange;
|
||||
Value<float> x1f0_;
|
||||
Value<float> x1f4_;
|
||||
Value<float> x1f8_;
|
||||
Value<float> x1fc_;
|
||||
Value<float> x1fc_orbitPreventionTime;
|
||||
Value<bool> x200_24_dashEnabled : 1;
|
||||
Value<bool> x200_25_dashOnButtonRelease : 1;
|
||||
Value<float> x204_dashButtonHoldCancelTime;
|
||||
@@ -95,8 +95,8 @@ struct CTweakPlayer : ITweakPlayer
|
||||
Value<bool> x21c_24_scanRetention : 1;
|
||||
Value<bool> x21c_25_scanFreezesGame : 1;
|
||||
Value<bool> x21c_26_orbitWhileScanning : 1;
|
||||
Value<float> x220_;
|
||||
Value<float> x224_scanningFrameSenseRange;
|
||||
Value<float> x220_scanMaxTargetDistance;
|
||||
Value<float> x224_scanMaxLockDistance;
|
||||
Value<bool> x228_24_freelookTurnsPlayer : 1;
|
||||
Value<bool> x228_25_ : 1;
|
||||
Value<bool> x228_26_ : 1;
|
||||
@@ -110,7 +110,7 @@ struct CTweakPlayer : ITweakPlayer
|
||||
Value<bool> x229_26_stayInFreeLookWhileFiring : 1;
|
||||
Value<bool> x229_27_ : 1;
|
||||
Value<bool> x229_28_ : 1;
|
||||
Value<bool> x229_29_ : 1;
|
||||
Value<bool> x229_29_orbitFixedOffset : 1;
|
||||
Value<bool> x229_30_gunButtonTogglesHolster : 1;
|
||||
Value<bool> x229_31_gunNotFiringHolstersGun : 1;
|
||||
Value<bool> x22a_24_fallingDoubleJump : 1;
|
||||
@@ -139,19 +139,19 @@ struct CTweakPlayer : ITweakPlayer
|
||||
Value<float> x274_stepUpHeight;
|
||||
Value<float> x278_stepDownHeight;
|
||||
Value<float> x27c_playerBallHalfExtent;
|
||||
Value<float> x280_;
|
||||
Value<float> x280_firstPersonCameraSpeed;
|
||||
Value<float> x284_;
|
||||
Value<float> x288_;
|
||||
Value<float> x28c_;
|
||||
Value<float> x290_;
|
||||
Value<float> x294_;
|
||||
Value<float> x298_;
|
||||
Value<float> x29c_;
|
||||
Value<float> x288_jumpCameraPitchDownStart;
|
||||
Value<float> x28c_jumpCameraPitchDownFull;
|
||||
Value<float> x290_jumpCameraPitchDownAngle;
|
||||
Value<float> x294_fallCameraPitchDownStart;
|
||||
Value<float> x298_fallCameraPitchDownFull;
|
||||
Value<float> x29c_fallCameraPitchDownAngle;
|
||||
Value<float> x2a0_orbitDistanceMax;
|
||||
Value<float> x2a4_grappleSwingLength;
|
||||
Value<float> x2a8_grappleSwingPeriod;
|
||||
Value<float> x2ac_grapplePullSpeedMin;
|
||||
Value<float> x2b0_;
|
||||
Value<float> x2b0_grappleCameraSpeed;
|
||||
Value<float> x2b4_maxGrappleLockedTurnAlignDistance;
|
||||
Value<float> x2b8_grapplePullSpeedProportion;
|
||||
Value<float> x2bc_grapplePullSpeedMax;
|
||||
@@ -160,7 +160,7 @@ struct CTweakPlayer : ITweakPlayer
|
||||
Value<float> x2c8_grappleJumpForce;
|
||||
Value<float> x2cc_grappleReleaseTime;
|
||||
Value<atUint32> x2d0_grappleJumpMode;
|
||||
Value<bool> x2d4_;
|
||||
Value<bool> x2d4_orbitReleaseBreaksGrapple;
|
||||
Value<bool> x2d5_invertGrappleTurn;
|
||||
Value<float> x2d8_;
|
||||
Value<float> x2dc_;
|
||||
@@ -188,8 +188,11 @@ struct CTweakPlayer : ITweakPlayer
|
||||
float GetVerticalDoubleJumpAccel() const { return xd4_verticalDoubleJumpAccel; }
|
||||
float GetHorizontalDoubleJumpAccel() const { return xd8_horizontalDoubleJumpAccel; }
|
||||
float GetWaterJumpFactor() const { return xdc_waterJumpFactor; }
|
||||
float GetWaterBallJumpFactor() const { return xe0_waterBallJumpFactor; }
|
||||
float GetLavaJumpFactor() const { return xe4_lavaJumpFactor; }
|
||||
float GetLavaBallJumpFactor() const { return xe8_lavaBallJumpFactor; }
|
||||
float GetPhazonJumpFactor() const { return xec_phazonJumpFactor; }
|
||||
float GetPhazonBallJumpFactor() const { return xf0_phazonBallJumpFactor; }
|
||||
float GetAllowedJumpTime() const { return xf4_allowedJumpTime; }
|
||||
float GetAllowedDoubleJumpTime() const { return xf8_allowedDoubleJumpTime; }
|
||||
float GetMinDoubleJumpWindow() const { return xfc_minDoubleJumpWindow; }
|
||||
@@ -199,6 +202,8 @@ struct CTweakPlayer : ITweakPlayer
|
||||
float GetAllowedLedgeTime() const { return x110_allowedLedgeTime; }
|
||||
float GetDoubleJumpImpulse() const { return x114_doubleJumpImpulse; }
|
||||
float GetBackwardsForceMultiplier() const { return x118_backwardsForceMultiplier; }
|
||||
float GetBombJumpRadius() const { return x11c_bombJumpRadius; }
|
||||
float GetBombJumpHeight() const { return x120_bombJumpHeight; }
|
||||
float GetEyeOffset() const { return x124_eyeOffset; }
|
||||
float GetTurnSpeedMultiplier() const { return x128_turnSpeedMultiplier; }
|
||||
float GetFreeLookTurnSpeedMultiplier() const { return x12c_freeLookTurnSpeedMultiplier; }
|
||||
@@ -206,10 +211,12 @@ struct CTweakPlayer : ITweakPlayer
|
||||
float GetFreeLookSnapSpeed() const { return x13c_freeLookSnapSpeed; }
|
||||
float GetFreeLookCenteredThresholdAngle() const { return x144_freeLookCenteredThresholdAngle; }
|
||||
float GetFreeLookCenteredTime() const { return x148_freeLookCenteredTime; }
|
||||
float GetOrbitNormalDistance() const { return x180_orbitNormalDistance; }
|
||||
float GetMaxUpwardOrbitLookAngle() const { return x188_maxUpwardOrbitLookAngle; }
|
||||
float GetMaxDownwardOrbitLookAngle() const { return x18c_maxDownwardOrbitLookAngle; }
|
||||
float GetOrbitModeTimer() const { return x180_orbitModeTimer; }
|
||||
float GetOrbitUpperAngle() const { return x188_orbitUpperAngle; }
|
||||
float GetOrbitLowerAngle() const { return x18c_orbitLowerAngle; }
|
||||
float GetOrbitHorizAngle() const { return x190_orbitHorizAngle; }
|
||||
float GetOrbitMaxTargetDistance() const { return x19c_orbitMaxTargetDistance; }
|
||||
float GetOrbitMaxLockDistance() const { return x1a0_orbitMaxLockDistance; }
|
||||
float GetOrbitDistanceThreshold() const { return x1a4_orbitDistanceThreshold; }
|
||||
uint32_t GetOrbitScreenBoxHalfExtentX(int zone) const { return x1a8_orbitScreenBoxHalfExtentX[zone]; }
|
||||
uint32_t GetOrbitScreenBoxHalfExtentY(int zone) const { return x1b0_orbitScreenBoxHalfExtentY[zone]; }
|
||||
@@ -219,6 +226,7 @@ struct CTweakPlayer : ITweakPlayer
|
||||
uint32_t GetOrbitZoneIdealY(int zone) const { return x1d0_orbitZoneIdealY[zone]; }
|
||||
float GetOrbitNearX() const { return x1d8_orbitNearX; }
|
||||
float GetOrbitNearZ() const { return x1dc_orbitNearZ; }
|
||||
float GetOrbitFixedOffsetZDiff() const { return x1e8_orbitFixedOffsetZDiff; }
|
||||
float GetOrbitZRange() const { return x1ec_orbitZRange; }
|
||||
bool GetDashEnabled() const { return x200_24_dashEnabled; }
|
||||
bool GetDashOnButtonRelease() const { return x200_25_dashOnButtonRelease; }
|
||||
@@ -231,12 +239,14 @@ struct CTweakPlayer : ITweakPlayer
|
||||
bool GetScanRetention() const { return x21c_24_scanRetention; }
|
||||
bool GetScanFreezesGame() const { return x21c_25_scanFreezesGame; }
|
||||
bool GetOrbitWhileScanning() const { return x21c_26_orbitWhileScanning; }
|
||||
float GetScanningFrameSenseRange() const { return x224_scanningFrameSenseRange; }
|
||||
float GetScanMaxTargetDistance() const { return x220_scanMaxTargetDistance; }
|
||||
float GetScanMaxLockDistance() const { return x224_scanMaxLockDistance; }
|
||||
bool GetMoveDuringFreeLook() const { return x228_27_moveDuringFreeLook; }
|
||||
bool GetHoldButtonsForFreeLook() const { return x228_28_holdButtonsForFreeLook; }
|
||||
bool GetTwoButtonsForFreeLook() const { return x228_29_twoButtonsForFreeLook; }
|
||||
bool GetAimWhenOrbitingPoint() const { return x229_25_aimWhenOrbitingPoint; }
|
||||
bool GetStayInFreeLookWhileFiring() const { return x229_26_stayInFreeLookWhileFiring; }
|
||||
bool GetOrbitFixedOffset() const { return x229_29_orbitFixedOffset; }
|
||||
bool GetGunButtonTogglesHolster() const { return x229_30_gunButtonTogglesHolster; }
|
||||
bool GetGunNotFiringHolstersGun() const { return x229_31_gunNotFiringHolstersGun; }
|
||||
bool GetFallingDoubleJump() const { return x22a_24_fallingDoubleJump; }
|
||||
@@ -268,24 +278,27 @@ struct CTweakPlayer : ITweakPlayer
|
||||
float GetGrappleJumpForce() const { return x2c8_grappleJumpForce; }
|
||||
float GetGrappleReleaseTime() const { return x2cc_grappleReleaseTime; }
|
||||
uint32_t GetGrappleJumpMode() const { return x2d0_grappleJumpMode; }
|
||||
bool InvertGrappleTurn() const { return x2d5_invertGrappleTurn; }
|
||||
bool GetOrbitReleaseBreaksGrapple() const { return x2d4_orbitReleaseBreaksGrapple; }
|
||||
bool GetInvertGrappleTurn() const { return x2d5_invertGrappleTurn; }
|
||||
float GetHorizontalFreeLookAngleVel() const { return x130_horizontalFreeLookAngleVel; }
|
||||
float GetVerticalFreeLookAngleVel() const { return x134_verticalFreeLookAngleVel; }
|
||||
float GetX184() const { return x184_; }
|
||||
float GetX1fc() const { return x1fc_; }
|
||||
float GetOrbitCameraSpeed() const { return x184_orbitCameraSpeed; }
|
||||
float GetOrbitPreventionTime() const { return x1fc_orbitPreventionTime; }
|
||||
bool GetFreeLookTurnsPlayer() const { return x228_24_freelookTurnsPlayer; }
|
||||
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 GetX14C() const { return x14c_; }
|
||||
float GetJumpCameraPitchDownStart() const { return x288_jumpCameraPitchDownStart; }
|
||||
float GetJumpCameraPitchDownFull() const { return x28c_jumpCameraPitchDownFull; }
|
||||
float GetJumpCameraPitchDownAngle() const { return x290_jumpCameraPitchDownAngle; }
|
||||
float GetFallCameraPitchDownStart() const { return x294_fallCameraPitchDownStart; }
|
||||
float GetFallCameraPitchDownFull() const { return x298_fallCameraPitchDownFull; }
|
||||
float GetFallCameraPitchDownAngle() const { return x29c_fallCameraPitchDownAngle; }
|
||||
float GetFirstPersonCameraSpeed() const { return x280_firstPersonCameraSpeed; }
|
||||
float GetGrappleCameraSpeed() const { return x2b0_grappleCameraSpeed; }
|
||||
float GetFreeLookDampenFactor() const { return x14c_freeLookDampenFactor; }
|
||||
float GetLeftLogicalThreshold() const { return x150_leftDiv; }
|
||||
float GetRightLogicalThreshold() const { return x154_rightDiv; }
|
||||
float GetX164(int type) const { return x164_[type]; }
|
||||
float GetOrbitZBasedDistance(int type) const { return x158_orbitZBasedDistance[type]; }
|
||||
float GetOrbitNormalDistance(int type) const { return x164_orbitNormalDistance[type]; }
|
||||
float GetOrbitMaxDistance(int type) const { return x170_orbitMaxDistance[type]; }
|
||||
float GetFrozenTimeout() const { return x2f8_frozenTimeout; }
|
||||
uint32_t GetIceBreakJumpCount() const { return x2fc_iceBreakJumpCount; }
|
||||
float GetVariaDamageReduction() const { return x300_variaDamageReduction; }
|
||||
|
||||
Reference in New Issue
Block a user