metaforce/DataSpec/DNACommon/Tweaks/ITweakPlayer.hpp

150 lines
7.3 KiB
C++
Raw Normal View History

2015-08-29 01:30:47 +00:00
#ifndef __DNACOMMON_ITWEAKPLAYER_HPP__
#define __DNACOMMON_ITWEAKPLAYER_HPP__
2017-01-21 06:03:37 +00:00
#include "ITweak.hpp"
#include "zeus/CAABox.hpp"
2015-08-29 01:30:47 +00:00
2016-02-13 09:02:47 +00:00
namespace DataSpec
2015-08-29 01:30:47 +00:00
{
2017-01-21 06:03:37 +00:00
struct ITweakPlayer : ITweak
2015-08-29 01:30:47 +00:00
{
virtual float GetMaxTranslationalAcceleration(int s) const=0;
2017-08-16 05:34:02 +00:00
virtual float GetMaxRotationalAcceleration(int s) const=0;
virtual float GetPlayerTranslationFriction(int s) const=0;
2017-08-16 05:34:02 +00:00
virtual float GetPlayerRotationFriction(int s) const=0;
virtual float GetPlayerRotationMaxSpeed(int s) const=0;
virtual float GetPlayerTranslationMaxSpeed(int s) const=0;
2017-07-23 23:45:04 +00:00
virtual float GetNormalGravAccel() const=0;
virtual float GetFluidGravAccel() const=0;
2017-08-16 05:34:02 +00:00
virtual float GetVerticalJumpAccel() const=0;
virtual float GetHorizontalJumpAccel() const=0;
virtual float GetVerticalDoubleJumpAccel() const=0;
virtual float GetHorizontalDoubleJumpAccel() const=0;
virtual float GetWaterJumpFactor() const=0;
2017-08-19 06:52:13 +00:00
virtual float GetWaterBallJumpFactor() const=0;
2017-08-16 05:34:02 +00:00
virtual float GetLavaJumpFactor() const=0;
2017-08-19 06:52:13 +00:00
virtual float GetLavaBallJumpFactor() const=0;
2017-08-16 05:34:02 +00:00
virtual float GetPhazonJumpFactor() const=0;
2017-08-19 06:52:13 +00:00
virtual float GetPhazonBallJumpFactor() const=0;
2017-08-16 05:34:02 +00:00
virtual float GetAllowedJumpTime() const=0;
virtual float GetAllowedDoubleJumpTime() const=0;
virtual float GetMinDoubleJumpWindow() const=0;
virtual float GetMaxDoubleJumpWindow() const=0;
virtual float GetMinJumpTime() const=0;
virtual float GetMinDoubleJumpTime() const=0;
virtual float GetAllowedLedgeTime() const=0;
virtual float GetDoubleJumpImpulse() const=0;
virtual float GetBackwardsForceMultiplier() const=0;
2017-08-19 06:52:13 +00:00
virtual float GetBombJumpRadius() const=0;
virtual float GetBombJumpHeight() const=0;
2017-07-30 01:06:06 +00:00
virtual float GetEyeOffset() const=0;
2017-08-16 05:34:02 +00:00
virtual float GetTurnSpeedMultiplier() const=0;
virtual float GetFreeLookTurnSpeedMultiplier() const=0;
virtual float GetFreeLookSpeed() const=0;
virtual float GetFreeLookSnapSpeed() const=0;
2017-07-31 05:19:05 +00:00
virtual float GetFreeLookCenteredThresholdAngle() const=0;
virtual float GetFreeLookCenteredTime() const=0;
2017-08-19 06:52:13 +00:00
virtual float GetOrbitModeTimer() const=0;
virtual float GetOrbitUpperAngle() const=0;
virtual float GetOrbitLowerAngle() const=0;
2017-07-30 01:06:06 +00:00
virtual float GetOrbitHorizAngle() const=0;
2017-08-19 06:52:13 +00:00
virtual float GetOrbitMaxTargetDistance() const=0;
virtual float GetOrbitMaxLockDistance() const=0;
2017-07-28 06:56:23 +00:00
virtual float GetOrbitDistanceThreshold() const=0;
2017-05-30 03:45:31 +00:00
virtual uint32_t GetOrbitScreenBoxHalfExtentX(int zone) const=0;
virtual uint32_t GetOrbitScreenBoxHalfExtentY(int zone) const=0;
virtual uint32_t GetOrbitScreenBoxCenterX(int zone) const=0;
virtual uint32_t GetOrbitScreenBoxCenterY(int zone) const=0;
2017-07-28 06:56:23 +00:00
virtual uint32_t GetOrbitZoneIdealX(int zone) const=0;
virtual uint32_t GetOrbitZoneIdealY(int zone) const=0;
2017-05-30 03:45:31 +00:00
virtual float GetOrbitNearX() const=0;
virtual float GetOrbitNearZ() const=0;
2017-08-19 06:52:13 +00:00
virtual float GetOrbitFixedOffsetZDiff() const=0;
2017-06-12 04:23:34 +00:00
virtual float GetOrbitZRange() const=0;
2017-08-16 05:34:02 +00:00
virtual bool GetDashEnabled() const=0;
virtual bool GetDashOnButtonRelease() const=0;
virtual float GetDashButtonHoldCancelTime() const=0;
virtual float GetDashStrafeInputThreshold() const=0;
virtual float GetSidewaysDoubleJumpImpulse() const=0;
virtual float GetSidewaysVerticalDoubleJumpAccel() const=0;
virtual float GetSidewaysHorizontalDoubleJumpAccel() const=0;
2017-04-02 03:03:37 +00:00
virtual float GetScanningRange() const=0; // x218
2017-07-31 05:19:05 +00:00
virtual bool GetScanRetention() const=0;
2017-04-03 01:39:23 +00:00
virtual bool GetScanFreezesGame() const=0; // x21c_25
2017-07-30 01:06:06 +00:00
virtual bool GetOrbitWhileScanning() const=0;
2017-08-16 05:34:02 +00:00
virtual bool GetFallingDoubleJump() const=0;
virtual bool GetImpulseDoubleJump() const=0;
2017-07-17 03:04:14 +00:00
virtual bool GetFiringCancelsCameraPitch() const=0;
2017-07-23 23:45:04 +00:00
virtual bool GetAssistedAimingIgnoreHorizontal() const=0;
virtual bool GetAssistedAimingIgnoreVertical() const=0;
2017-07-28 06:56:23 +00:00
virtual float GetAimMaxDistance() const=0;
virtual float GetAimThresholdDistance() const=0;
virtual float GetAimBoxWidth() const=0;
virtual float GetAimBoxHeight() const=0;
2017-07-30 01:06:06 +00:00
virtual float GetAimTargetTimer() const=0;
2017-07-23 23:45:04 +00:00
virtual float GetAimAssistHorizontalAngle() const=0;
virtual float GetAimAssistVerticalAngle() const=0;
2017-08-19 06:52:13 +00:00
virtual float GetScanMaxTargetDistance() const=0;
virtual float GetScanMaxLockDistance() const=0;
2017-08-16 05:34:02 +00:00
virtual bool GetMoveDuringFreeLook() const=0;
virtual bool GetHoldButtonsForFreeLook() const=0;
2017-07-31 05:19:05 +00:00
virtual bool GetTwoButtonsForFreeLook() const=0;
2017-07-30 01:06:06 +00:00
virtual bool GetAimWhenOrbitingPoint() const=0;
2017-07-31 05:19:05 +00:00
virtual bool GetStayInFreeLookWhileFiring() const=0;
2017-08-19 06:52:13 +00:00
virtual bool GetOrbitFixedOffset() const=0;
2017-07-20 06:04:40 +00:00
virtual bool GetGunButtonTogglesHolster() const=0;
virtual bool GetGunNotFiringHolstersGun() const=0;
virtual float GetPlayerHeight() const=0; // x26c
virtual float GetPlayerXYHalfExtent() const=0; // x270
virtual bool GetFreeLookTurnsPlayer() const=0; // x228_24
2017-08-16 05:34:02 +00:00
virtual float GetStepUpHeight() const=0; // x274
virtual float GetStepDownHeight() const=0; // x278
2017-06-12 04:23:34 +00:00
virtual float GetPlayerBallHalfExtent() const=0; // x27c
2017-07-28 06:56:23 +00:00
virtual float GetOrbitDistanceMax() const=0;
2017-07-23 23:45:04 +00:00
virtual float GetGrappleSwingLength() const=0;
2017-07-17 03:04:14 +00:00
virtual float GetGrappleSwingPeriod() const=0;
2017-07-23 23:45:04 +00:00
virtual float GetGrapplePullSpeedMin() const=0;
virtual float GetMaxGrappleLockedTurnAlignDistance() const=0;
virtual float GetGrapplePullSpeedProportion() const=0;
virtual float GetGrapplePullSpeedMax() const=0;
virtual float GetGrappleLookCenterSpeed() const=0;
virtual float GetMaxGrappleTurnSpeed() const=0;
2017-07-17 03:04:14 +00:00
virtual float GetGrappleJumpForce() const=0;
2017-07-18 06:11:37 +00:00
virtual float GetGrappleReleaseTime() const=0;
2017-07-17 03:04:14 +00:00
virtual uint32_t GetGrappleJumpMode() const=0;
2017-08-19 06:52:13 +00:00
virtual bool GetOrbitReleaseBreaksGrapple() const=0;
virtual bool GetInvertGrappleTurn() const=0;
2017-09-04 02:22:46 +00:00
virtual float GetGrappleBeamSpeed() const=0;
virtual float GetGrappleBeamXWaveAmplitude() const=0;
virtual float GetGrappleBeamZWaveAmplitude() const=0;
virtual float GetGrappleBeamAnglePhaseDelta() const=0;
2017-07-31 05:19:05 +00:00
virtual float GetHorizontalFreeLookAngleVel() const=0;
virtual float GetVerticalFreeLookAngleVel() const=0; // x134
2017-08-19 06:52:13 +00:00
virtual float GetOrbitCameraSpeed() const=0; // x184
virtual float GetOrbitPreventionTime() const=0;
virtual float GetJumpCameraPitchDownStart() const=0; // x288
virtual float GetJumpCameraPitchDownFull() const=0; // x28c
virtual float GetJumpCameraPitchDownAngle() const=0; // x290
virtual float GetFallCameraPitchDownStart() const=0; // x294
virtual float GetFallCameraPitchDownFull() const=0; // x298
virtual float GetFallCameraPitchDownAngle() const=0; // x29c
virtual float GetFirstPersonCameraSpeed() const=0; // x280
virtual float GetGrappleCameraSpeed() const=0; // x2b0
virtual float GetFreeLookDampenFactor() const=0; // x14c
2015-08-29 01:30:47 +00:00
virtual float GetLeftLogicalThreshold() const=0;
virtual float GetRightLogicalThreshold() const=0;
2017-08-20 05:23:22 +00:00
virtual float GetOrbitMinDistance(int type) const=0;
2017-08-19 06:52:13 +00:00
virtual float GetOrbitNormalDistance(int type) const=0;
virtual float GetOrbitMaxDistance(int type) const=0;
2017-07-17 03:04:14 +00:00
virtual float GetFrozenTimeout() const=0;
virtual uint32_t GetIceBreakJumpCount() const=0;
virtual float GetVariaDamageReduction() const=0;
virtual float GetGravityDamageReduction() const=0;
virtual float GetPhazonDamageReduction() const=0;
2015-08-29 01:30:47 +00:00
};
}
#endif // __DNACOMMON_ITWEAKPLAYER_HPP__