metaforce/DataSpec/DNACommon/Tweaks/ITweakPlayer.hpp

133 lines
6.2 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;
virtual float GetLavaJumpFactor() const=0;
virtual float GetPhazonJumpFactor() const=0;
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-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-07-17 03:04:14 +00:00
virtual float GetOrbitNormalDistance() const=0;
2017-07-30 01:06:06 +00:00
virtual float GetMaxUpwardOrbitLookAngle() const=0;
virtual float GetMaxDownwardOrbitLookAngle() const=0;
virtual float GetOrbitHorizAngle() 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-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-05-30 03:45:31 +00:00
virtual float GetScanningFrameSenseRange() 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-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-07-23 23:45:04 +00:00
virtual bool InvertGrappleTurn() const=0;
2017-07-31 05:19:05 +00:00
virtual float GetHorizontalFreeLookAngleVel() const=0;
virtual float GetVerticalFreeLookAngleVel() const=0; // x134
2017-03-24 05:30:16 +00:00
virtual float GetX184() const=0; // x184
2017-06-12 04:23:34 +00:00
virtual float GetX1fc() const=0;
2016-10-31 22:56:44 +00:00
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 GetX14C() const=0; // x14c
2015-08-29 01:30:47 +00:00
virtual float GetLeftLogicalThreshold() const=0;
virtual float GetRightLogicalThreshold() const=0;
2017-06-12 04:23:34 +00:00
virtual float GetX164(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__