mirror of https://github.com/AxioDL/metaforce.git
1946 lines
75 KiB
C++
1946 lines
75 KiB
C++
#include "CTweakPlayer.hpp"
|
|
#include "zeus/Math.hpp"
|
|
|
|
namespace DataSpec
|
|
{
|
|
namespace DNAMP1
|
|
{
|
|
void CTweakPlayer::read(athena::io::IStreamReader& __dna_reader)
|
|
{
|
|
/* x4_maxTranslationalAcceleration[0] */
|
|
x4_maxTranslationalAcceleration[0] = __dna_reader.readFloatBig();
|
|
/* x4_maxTranslationalAcceleration[1] */
|
|
x4_maxTranslationalAcceleration[1] = __dna_reader.readFloatBig();
|
|
/* x4_maxTranslationalAcceleration[2] */
|
|
x4_maxTranslationalAcceleration[2] = __dna_reader.readFloatBig();
|
|
/* x4_maxTranslationalAcceleration[3] */
|
|
x4_maxTranslationalAcceleration[3] = __dna_reader.readFloatBig();
|
|
/* x4_maxTranslationalAcceleration[4] */
|
|
x4_maxTranslationalAcceleration[4] = __dna_reader.readFloatBig();
|
|
/* x4_maxTranslationalAcceleration[5] */
|
|
x4_maxTranslationalAcceleration[5] = __dna_reader.readFloatBig();
|
|
/* x4_maxTranslationalAcceleration[6] */
|
|
x4_maxTranslationalAcceleration[6] = __dna_reader.readFloatBig();
|
|
/* x4_maxTranslationalAcceleration[7] */
|
|
x4_maxTranslationalAcceleration[7] = __dna_reader.readFloatBig();
|
|
/* x24_[0] */
|
|
x24_[0] = __dna_reader.readFloatBig();
|
|
/* x24_[1] */
|
|
x24_[1] = __dna_reader.readFloatBig();
|
|
/* x24_[2] */
|
|
x24_[2] = __dna_reader.readFloatBig();
|
|
/* x24_[3] */
|
|
x24_[3] = __dna_reader.readFloatBig();
|
|
/* x24_[4] */
|
|
x24_[4] = __dna_reader.readFloatBig();
|
|
/* x24_[5] */
|
|
x24_[5] = __dna_reader.readFloatBig();
|
|
/* x24_[6] */
|
|
x24_[6] = __dna_reader.readFloatBig();
|
|
/* x24_[7] */
|
|
x24_[7] = __dna_reader.readFloatBig();
|
|
/* x44_translationFriction[0] */
|
|
x44_translationFriction[0] = __dna_reader.readFloatBig();
|
|
/* x44_translationFriction[1] */
|
|
x44_translationFriction[1] = __dna_reader.readFloatBig();
|
|
/* x44_translationFriction[2] */
|
|
x44_translationFriction[2] = __dna_reader.readFloatBig();
|
|
/* x44_translationFriction[3] */
|
|
x44_translationFriction[3] = __dna_reader.readFloatBig();
|
|
/* x44_translationFriction[4] */
|
|
x44_translationFriction[4] = __dna_reader.readFloatBig();
|
|
/* x44_translationFriction[5] */
|
|
x44_translationFriction[5] = __dna_reader.readFloatBig();
|
|
/* x44_translationFriction[6] */
|
|
x44_translationFriction[6] = __dna_reader.readFloatBig();
|
|
/* x44_translationFriction[7] */
|
|
x44_translationFriction[7] = __dna_reader.readFloatBig();
|
|
/* x64_[0] */
|
|
x64_[0] = __dna_reader.readFloatBig();
|
|
/* x64_[1] */
|
|
x64_[1] = __dna_reader.readFloatBig();
|
|
/* x64_[2] */
|
|
x64_[2] = __dna_reader.readFloatBig();
|
|
/* x64_[3] */
|
|
x64_[3] = __dna_reader.readFloatBig();
|
|
/* x64_[4] */
|
|
x64_[4] = __dna_reader.readFloatBig();
|
|
/* x64_[5] */
|
|
x64_[5] = __dna_reader.readFloatBig();
|
|
/* x64_[6] */
|
|
x64_[6] = __dna_reader.readFloatBig();
|
|
/* x64_[7] */
|
|
x64_[7] = __dna_reader.readFloatBig();
|
|
/* x84_[0] */
|
|
x84_[0] = __dna_reader.readFloatBig();
|
|
/* x84_[1] */
|
|
x84_[1] = __dna_reader.readFloatBig();
|
|
/* x84_[2] */
|
|
x84_[2] = __dna_reader.readFloatBig();
|
|
/* x84_[3] */
|
|
x84_[3] = __dna_reader.readFloatBig();
|
|
/* x84_[4] */
|
|
x84_[4] = __dna_reader.readFloatBig();
|
|
/* x84_[5] */
|
|
x84_[5] = __dna_reader.readFloatBig();
|
|
/* x84_[6] */
|
|
x84_[6] = __dna_reader.readFloatBig();
|
|
/* x84_[7] */
|
|
x84_[7] = __dna_reader.readFloatBig();
|
|
/* xa4_translationMaxSpeed[0] */
|
|
xa4_translationMaxSpeed[0] = __dna_reader.readFloatBig();
|
|
/* xa4_translationMaxSpeed[1] */
|
|
xa4_translationMaxSpeed[1] = __dna_reader.readFloatBig();
|
|
/* xa4_translationMaxSpeed[2] */
|
|
xa4_translationMaxSpeed[2] = __dna_reader.readFloatBig();
|
|
/* xa4_translationMaxSpeed[3] */
|
|
xa4_translationMaxSpeed[3] = __dna_reader.readFloatBig();
|
|
/* xa4_translationMaxSpeed[4] */
|
|
xa4_translationMaxSpeed[4] = __dna_reader.readFloatBig();
|
|
/* xa4_translationMaxSpeed[5] */
|
|
xa4_translationMaxSpeed[5] = __dna_reader.readFloatBig();
|
|
/* xa4_translationMaxSpeed[6] */
|
|
xa4_translationMaxSpeed[6] = __dna_reader.readFloatBig();
|
|
/* xa4_translationMaxSpeed[7] */
|
|
xa4_translationMaxSpeed[7] = __dna_reader.readFloatBig();
|
|
/* xc4_normalGravAccel */
|
|
xc4_normalGravAccel = __dna_reader.readFloatBig();
|
|
/* xc8_fluidGravAccel */
|
|
xc8_fluidGravAccel = __dna_reader.readFloatBig();
|
|
/* xcc_ */
|
|
xcc_ = __dna_reader.readFloatBig();
|
|
/* xd0_ */
|
|
xd0_ = __dna_reader.readFloatBig();
|
|
/* xd4_ */
|
|
xd4_ = __dna_reader.readFloatBig();
|
|
/* xd8_ */
|
|
xd8_ = __dna_reader.readFloatBig();
|
|
/* xdc_ */
|
|
xdc_ = __dna_reader.readFloatBig();
|
|
/* xe0_ */
|
|
xe0_ = __dna_reader.readFloatBig();
|
|
/* xe4_ */
|
|
xe4_ = __dna_reader.readFloatBig();
|
|
/* xe8_ */
|
|
xe8_ = __dna_reader.readFloatBig();
|
|
/* xec_ */
|
|
xec_ = __dna_reader.readFloatBig();
|
|
/* xf0_ */
|
|
xf0_ = __dna_reader.readFloatBig();
|
|
/* xf4_ */
|
|
xf4_ = __dna_reader.readFloatBig();
|
|
/* xf8_ */
|
|
xf8_ = __dna_reader.readFloatBig();
|
|
/* xfc_ */
|
|
xfc_ = __dna_reader.readFloatBig();
|
|
/* x100_ */
|
|
x100_ = __dna_reader.readFloatBig();
|
|
/* x104_ */
|
|
x104_ = __dna_reader.readFloatBig();
|
|
/* x108_ */
|
|
x108_ = __dna_reader.readFloatBig();
|
|
/* x10c_ */
|
|
x10c_ = __dna_reader.readFloatBig();
|
|
/* x110_ */
|
|
x110_ = __dna_reader.readFloatBig();
|
|
/* x114_ */
|
|
x114_ = __dna_reader.readFloatBig();
|
|
/* x118_ */
|
|
x118_ = __dna_reader.readFloatBig();
|
|
/* x11c_ */
|
|
x11c_ = __dna_reader.readFloatBig();
|
|
/* x120_ */
|
|
x120_ = __dna_reader.readFloatBig();
|
|
/* x124_eyeOffset */
|
|
x124_eyeOffset = __dna_reader.readFloatBig();
|
|
/* x128_ */
|
|
x128_ = __dna_reader.readFloatBig();
|
|
/* x12c_ */
|
|
x12c_ = __dna_reader.readFloatBig();
|
|
/* x130_horizontalFreeLookAngleVel */
|
|
x130_horizontalFreeLookAngleVel = __dna_reader.readFloatBig();
|
|
/* x134_verticalFreeLookAngleVel */
|
|
x134_verticalFreeLookAngleVel = __dna_reader.readFloatBig();
|
|
/* x138_freeLookSpeed */
|
|
x138_freeLookSpeed = __dna_reader.readFloatBig();
|
|
/* x13c_freeLookSnapSpeed */
|
|
x13c_freeLookSnapSpeed = __dna_reader.readFloatBig();
|
|
/* x140_ */
|
|
x140_ = __dna_reader.readFloatBig();
|
|
/* x144_freeLookCenteredThresholdAngle */
|
|
x144_freeLookCenteredThresholdAngle = __dna_reader.readFloatBig();
|
|
/* x148_freeLookCenteredTime */
|
|
x148_freeLookCenteredTime = __dna_reader.readFloatBig();
|
|
/* x14c_ */
|
|
x14c_ = __dna_reader.readFloatBig();
|
|
/* x150_leftDiv */
|
|
x150_leftDiv = __dna_reader.readFloatBig();
|
|
/* x154_rightDiv */
|
|
x154_rightDiv = __dna_reader.readFloatBig();
|
|
/* x228_24_freelookTurnsPlayer */
|
|
x228_24_freelookTurnsPlayer = __dna_reader.readBool();
|
|
/* x228_25_ */
|
|
x228_25_ = __dna_reader.readBool();
|
|
/* x228_26_ */
|
|
x228_26_ = __dna_reader.readBool();
|
|
/* x228_27_ */
|
|
x228_27_ = __dna_reader.readBool();
|
|
/* x228_28_enableFreeLook */
|
|
x228_28_enableFreeLook = __dna_reader.readBool();
|
|
/* x228_29_twoButtonsForFreeLook */
|
|
x228_29_twoButtonsForFreeLook = __dna_reader.readBool();
|
|
/* x228_30_ */
|
|
x228_30_ = __dna_reader.readBool();
|
|
/* x228_31_ */
|
|
x228_31_ = __dna_reader.readBool();
|
|
/* x229_24_ */
|
|
x229_24_ = __dna_reader.readBool();
|
|
/* x229_25_aimWhenOrbitingPoint */
|
|
x229_25_aimWhenOrbitingPoint = __dna_reader.readBool();
|
|
/* x229_26_stayInFreeLookWhileFiring */
|
|
x229_26_stayInFreeLookWhileFiring = __dna_reader.readBool();
|
|
/* x229_27_ */
|
|
x229_27_ = __dna_reader.readBool();
|
|
/* x229_28_ */
|
|
x229_28_ = __dna_reader.readBool();
|
|
/* x229_29_ */
|
|
x229_29_ = __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_ */
|
|
x22a_25_ = __dna_reader.readBool();
|
|
/* x22a_26_ */
|
|
x22a_26_firingCancelsCameraPitch = __dna_reader.readBool();
|
|
/* x22a_27_assistedAimingIgnoreHorizontal */
|
|
x22a_27_assistedAimingIgnoreHorizontal = __dna_reader.readBool();
|
|
/* x22a_28_assistedAimingIgnoreVertical */
|
|
x22a_28_assistedAimingIgnoreVertical = __dna_reader.readBool();
|
|
/* x22c_ */
|
|
x22c_ = __dna_reader.readFloatBig();
|
|
/* x230_ */
|
|
x230_ = __dna_reader.readFloatBig();
|
|
/* x234_aimMaxDistance */
|
|
x234_aimMaxDistance = __dna_reader.readFloatBig();
|
|
/* x238_ */
|
|
x238_ = __dna_reader.readFloatBig();
|
|
/* x23c_ */
|
|
x23c_ = __dna_reader.readFloatBig();
|
|
/* x240_ */
|
|
x240_ = __dna_reader.readFloatBig();
|
|
/* x244_ */
|
|
x244_ = __dna_reader.readFloatBig();
|
|
/* x248_ */
|
|
x248_ = __dna_reader.readFloatBig();
|
|
/* x24c_aimThresholdDistance */
|
|
x24c_aimThresholdDistance = __dna_reader.readFloatBig();
|
|
/* x250_ */
|
|
x250_ = __dna_reader.readFloatBig();
|
|
/* x254_ */
|
|
x254_ = __dna_reader.readFloatBig();
|
|
/* x258_aimBoxWidth */
|
|
x258_aimBoxWidth = __dna_reader.readFloatBig();
|
|
/* x25c_aimBoxHeight */
|
|
x25c_aimBoxHeight = __dna_reader.readFloatBig();
|
|
/* x260_aimTargetTimer */
|
|
x260_aimTargetTimer = __dna_reader.readFloatBig();
|
|
/* x264_aimAssistHorizontalAngle */
|
|
x264_aimAssistHorizontalAngle = __dna_reader.readFloatBig();
|
|
/* x268_aimAssistVerticalAngle */
|
|
x268_aimAssistVerticalAngle = __dna_reader.readFloatBig();
|
|
/* x158_[0] */
|
|
x158_[0] = __dna_reader.readFloatBig();
|
|
/* x164_[0] */
|
|
x164_[0] = __dna_reader.readFloatBig();
|
|
/* x170_[0] */
|
|
x170_[0] = __dna_reader.readFloatBig();
|
|
/* x158_[1] */
|
|
x158_[1] = __dna_reader.readFloatBig();
|
|
/* x164_[1] */
|
|
x164_[1] = __dna_reader.readFloatBig();
|
|
/* x170_[1] */
|
|
x170_[1] = __dna_reader.readFloatBig();
|
|
/* x158_[2] */
|
|
x158_[2] = __dna_reader.readFloatBig();
|
|
/* x164_[2] */
|
|
x164_[2] = __dna_reader.readFloatBig();
|
|
/* x170_[2] */
|
|
x170_[2] = __dna_reader.readFloatBig();
|
|
/* x17c_ */
|
|
x17c_ = __dna_reader.readFloatBig();
|
|
/* x180_ */
|
|
x180_orbitNormalDistance = __dna_reader.readFloatBig();
|
|
/* x184_ */
|
|
x184_ = __dna_reader.readFloatBig();
|
|
/* x188_maxUpwardOrbitLookAngle */
|
|
x188_maxUpwardOrbitLookAngle = __dna_reader.readFloatBig();
|
|
/* x18c_maxDownwardOrbitLookAngle */
|
|
x18c_maxDownwardOrbitLookAngle = __dna_reader.readFloatBig();
|
|
/* x190_orbitHorizAngle */
|
|
x190_orbitHorizAngle = __dna_reader.readFloatBig();
|
|
/* x194_ */
|
|
x194_ = __dna_reader.readFloatBig();
|
|
/* x198_ */
|
|
x198_ = __dna_reader.readFloatBig();
|
|
/* x19c_ */
|
|
x19c_ = __dna_reader.readFloatBig();
|
|
/* x1a0_ */
|
|
x1a0_ = __dna_reader.readFloatBig();
|
|
/* x1a4_orbitDistanceThreshold */
|
|
x1a4_orbitDistanceThreshold = __dna_reader.readFloatBig();
|
|
/* x1a8_orbitScreenBoxHalfExtentX[0] */
|
|
x1a8_orbitScreenBoxHalfExtentX[0] = __dna_reader.readUint32Big();
|
|
/* x1b0_orbitScreenBoxHalfExtentY[0] */
|
|
x1b0_orbitScreenBoxHalfExtentY[0] = __dna_reader.readUint32Big();
|
|
/* x1b8_orbitScreenBoxCenterX[0] */
|
|
x1b8_orbitScreenBoxCenterX[0] = __dna_reader.readUint32Big();
|
|
/* x1c0_orbitScreenBoxCenterY[0] */
|
|
x1c0_orbitScreenBoxCenterY[0] = __dna_reader.readUint32Big();
|
|
/* x1c8_orbitZoneIdealX[0] */
|
|
x1c8_orbitZoneIdealX[0] = __dna_reader.readUint32Big();
|
|
/* x1d0_orbitZoneIdealY[0] */
|
|
x1d0_orbitZoneIdealY[0] = __dna_reader.readUint32Big();
|
|
/* x1a8_orbitScreenBoxHalfExtentX[1] */
|
|
x1a8_orbitScreenBoxHalfExtentX[1] = __dna_reader.readUint32Big();
|
|
/* x1b0_orbitScreenBoxHalfExtentY[1] */
|
|
x1b0_orbitScreenBoxHalfExtentY[1] = __dna_reader.readUint32Big();
|
|
/* x1b8_orbitScreenBoxCenterX[1] */
|
|
x1b8_orbitScreenBoxCenterX[1] = __dna_reader.readUint32Big();
|
|
/* x1c0_orbitScreenBoxCenterY[1] */
|
|
x1c0_orbitScreenBoxCenterY[1] = __dna_reader.readUint32Big();
|
|
/* x1c8_orbitZoneIdealX[1] */
|
|
x1c8_orbitZoneIdealX[1] = __dna_reader.readUint32Big();
|
|
/* x1d0_orbitZoneIdealY[1] */
|
|
x1d0_orbitZoneIdealY[1] = __dna_reader.readUint32Big();
|
|
/* x1d8_orbitNearX */
|
|
x1d8_orbitNearX = __dna_reader.readFloatBig();
|
|
/* x1dc_orbitNearZ */
|
|
x1dc_orbitNearZ = __dna_reader.readFloatBig();
|
|
/* x1e0_ */
|
|
x1e0_ = __dna_reader.readFloatBig();
|
|
/* x1e4_ */
|
|
x1e4_ = __dna_reader.readFloatBig();
|
|
/* x1e8_ */
|
|
x1e8_ = __dna_reader.readFloatBig();
|
|
/* x1ec_orbitZRange */
|
|
x1ec_orbitZRange = __dna_reader.readFloatBig();
|
|
/* x1f0_ */
|
|
x1f0_ = __dna_reader.readFloatBig();
|
|
/* x1f4_ */
|
|
x1f4_ = __dna_reader.readFloatBig();
|
|
/* x1f8_ */
|
|
x1f8_ = __dna_reader.readFloatBig();
|
|
/* x1fc_ */
|
|
x1fc_ = __dna_reader.readFloatBig();
|
|
/* x200_24_ */
|
|
x200_24_ = __dna_reader.readBool();
|
|
/* x200_25_ */
|
|
x200_25_ = __dna_reader.readBool();
|
|
/* x204_ */
|
|
x204_ = __dna_reader.readFloatBig();
|
|
/* x208_ */
|
|
x208_ = __dna_reader.readFloatBig();
|
|
/* x20c_ */
|
|
x20c_ = __dna_reader.readFloatBig();
|
|
/* x210_ */
|
|
x210_ = __dna_reader.readFloatBig();
|
|
/* x214_ */
|
|
x214_ = __dna_reader.readFloatBig();
|
|
/* x218_scanningRange */
|
|
x218_scanningRange = __dna_reader.readFloatBig();
|
|
/* x21c_24_scanRetention */
|
|
x21c_24_scanRetention = __dna_reader.readBool();
|
|
/* x21c_25_scanFreezesGame */
|
|
x21c_25_scanFreezesGame = __dna_reader.readBool();
|
|
/* x21c_26_orbitWhileScanning */
|
|
x21c_26_orbitWhileScanning = __dna_reader.readBool();
|
|
/* x220_ */
|
|
x220_ = __dna_reader.readFloatBig();
|
|
/* x224_scanningFrameSenseRange */
|
|
x224_scanningFrameSenseRange = __dna_reader.readFloatBig();
|
|
/* x2a0_orbitDistanceMax */
|
|
x2a0_orbitDistanceMax = __dna_reader.readFloatBig();
|
|
/* x2a4_grappleSwingLength */
|
|
x2a4_grappleSwingLength = __dna_reader.readFloatBig();
|
|
/* x2a8_grappleSwingPeriod */
|
|
x2a8_grappleSwingPeriod = __dna_reader.readFloatBig();
|
|
/* x2ac_grapplePullSpeedMin */
|
|
x2ac_grapplePullSpeedMin = __dna_reader.readFloatBig();
|
|
/* x2b0_ */
|
|
x2b0_ = __dna_reader.readFloatBig();
|
|
/* x2b4_maxGrappleLockedTurnAlignDistance */
|
|
x2b4_maxGrappleLockedTurnAlignDistance = __dna_reader.readFloatBig();
|
|
/* x2b8_grapplePullSpeedProportion */
|
|
x2b8_grapplePullSpeedProportion = __dna_reader.readFloatBig();
|
|
/* x2bc_grapplePullSpeedMax */
|
|
x2bc_grapplePullSpeedMax = __dna_reader.readFloatBig();
|
|
/* x2c0_grappleLookCenterSpeed */
|
|
x2c0_grappleLookCenterSpeed = __dna_reader.readFloatBig();
|
|
/* x2c4_maxGrappleTurnSpeed */
|
|
x2c4_maxGrappleTurnSpeed = __dna_reader.readFloatBig();
|
|
/* x2c8_grappleJumpForce */
|
|
x2c8_grappleJumpForce = __dna_reader.readFloatBig();
|
|
/* x2cc_grappleReleaseTime */
|
|
x2cc_grappleReleaseTime = __dna_reader.readFloatBig();
|
|
/* x2d0_grappleJumpMode */
|
|
x2d0_grappleJumpMode = __dna_reader.readUint32Big();
|
|
/* x2d4_ */
|
|
x2d4_ = __dna_reader.readBool();
|
|
/* x2d5_ */
|
|
x2d5_invertGrappleTurn = __dna_reader.readBool();
|
|
/* x2d8_ */
|
|
x2d8_ = __dna_reader.readFloatBig();
|
|
/* x2dc_ */
|
|
x2dc_ = __dna_reader.readFloatBig();
|
|
/* x2e0_ */
|
|
x2e0_ = __dna_reader.readFloatBig();
|
|
/* x2e4_ */
|
|
x2e4_ = __dna_reader.readFloatBig();
|
|
/* x26c_playerHeight */
|
|
x26c_playerHeight = __dna_reader.readFloatBig();
|
|
/* x270_playerXYHalfExtent */
|
|
x270_playerXYHalfExtent = __dna_reader.readFloatBig();
|
|
/* x274_ */
|
|
x274_ = __dna_reader.readFloatBig();
|
|
/* x278_ */
|
|
x278_ = __dna_reader.readFloatBig();
|
|
/* x27c_playerBallHalfExtent */
|
|
x27c_playerBallHalfExtent = __dna_reader.readFloatBig();
|
|
/* x280_ */
|
|
x280_ = __dna_reader.readFloatBig();
|
|
/* x284_ */
|
|
x284_ = __dna_reader.readFloatBig();
|
|
/* x288_ */
|
|
x288_ = __dna_reader.readFloatBig();
|
|
/* x28c_ */
|
|
x28c_ = __dna_reader.readFloatBig();
|
|
/* x290_ */
|
|
x290_ = __dna_reader.readFloatBig();
|
|
/* x294_ */
|
|
x294_ = __dna_reader.readFloatBig();
|
|
/* x298_ */
|
|
x298_ = __dna_reader.readFloatBig();
|
|
/* x29c_ */
|
|
x29c_ = __dna_reader.readFloatBig();
|
|
/* x2e8_ */
|
|
x2e8_ = __dna_reader.readFloatBig();
|
|
/* x2ec_ */
|
|
x2ec_ = __dna_reader.readFloatBig();
|
|
/* x2f0_ */
|
|
x2f0_ = __dna_reader.readFloatBig();
|
|
/* x2f4_ */
|
|
x2f4_ = __dna_reader.readBool();
|
|
/* x2f8_frozenTimeout */
|
|
x2f8_frozenTimeout = __dna_reader.readFloatBig();
|
|
/* x2fc_iceBreakJumpCount */
|
|
x2fc_iceBreakJumpCount = __dna_reader.readUint32Big();
|
|
/* x300_variaDamageReduction */
|
|
x300_variaDamageReduction = __dna_reader.readFloatBig();
|
|
/* x304_gravityDamageReduction */
|
|
x304_gravityDamageReduction = __dna_reader.readFloatBig();
|
|
/* x308_phazonDamageReduction */
|
|
x308_phazonDamageReduction = __dna_reader.readFloatBig();
|
|
}
|
|
|
|
void CTweakPlayer::write(athena::io::IStreamWriter& __dna_writer) const
|
|
{
|
|
/* x4_maxTranslationalAcceleration[0] */
|
|
__dna_writer.writeFloatBig(x4_maxTranslationalAcceleration[0]);
|
|
/* x4_maxTranslationalAcceleration[1] */
|
|
__dna_writer.writeFloatBig(x4_maxTranslationalAcceleration[1]);
|
|
/* x4_maxTranslationalAcceleration[2] */
|
|
__dna_writer.writeFloatBig(x4_maxTranslationalAcceleration[2]);
|
|
/* x4_maxTranslationalAcceleration[3] */
|
|
__dna_writer.writeFloatBig(x4_maxTranslationalAcceleration[3]);
|
|
/* x4_maxTranslationalAcceleration[4] */
|
|
__dna_writer.writeFloatBig(x4_maxTranslationalAcceleration[4]);
|
|
/* x4_maxTranslationalAcceleration[5] */
|
|
__dna_writer.writeFloatBig(x4_maxTranslationalAcceleration[5]);
|
|
/* x4_maxTranslationalAcceleration[6] */
|
|
__dna_writer.writeFloatBig(x4_maxTranslationalAcceleration[6]);
|
|
/* x4_maxTranslationalAcceleration[7] */
|
|
__dna_writer.writeFloatBig(x4_maxTranslationalAcceleration[7]);
|
|
/* x24_[0] */
|
|
__dna_writer.writeFloatBig(x24_[0]);
|
|
/* x24_[1] */
|
|
__dna_writer.writeFloatBig(x24_[1]);
|
|
/* x24_[2] */
|
|
__dna_writer.writeFloatBig(x24_[2]);
|
|
/* x24_[3] */
|
|
__dna_writer.writeFloatBig(x24_[3]);
|
|
/* x24_[4] */
|
|
__dna_writer.writeFloatBig(x24_[4]);
|
|
/* x24_[5] */
|
|
__dna_writer.writeFloatBig(x24_[5]);
|
|
/* x24_[6] */
|
|
__dna_writer.writeFloatBig(x24_[6]);
|
|
/* x24_[7] */
|
|
__dna_writer.writeFloatBig(x24_[7]);
|
|
/* x44_translationFriction[0] */
|
|
__dna_writer.writeFloatBig(x44_translationFriction[0]);
|
|
/* x44_translationFriction[1] */
|
|
__dna_writer.writeFloatBig(x44_translationFriction[1]);
|
|
/* x44_translationFriction[2] */
|
|
__dna_writer.writeFloatBig(x44_translationFriction[2]);
|
|
/* x44_translationFriction[3] */
|
|
__dna_writer.writeFloatBig(x44_translationFriction[3]);
|
|
/* x44_translationFriction[4] */
|
|
__dna_writer.writeFloatBig(x44_translationFriction[4]);
|
|
/* x44_translationFriction[5] */
|
|
__dna_writer.writeFloatBig(x44_translationFriction[5]);
|
|
/* x44_translationFriction[6] */
|
|
__dna_writer.writeFloatBig(x44_translationFriction[6]);
|
|
/* x44_translationFriction[7] */
|
|
__dna_writer.writeFloatBig(x44_translationFriction[7]);
|
|
/* x64_[0] */
|
|
__dna_writer.writeFloatBig(x64_[0]);
|
|
/* x64_[1] */
|
|
__dna_writer.writeFloatBig(x64_[1]);
|
|
/* x64_[2] */
|
|
__dna_writer.writeFloatBig(x64_[2]);
|
|
/* x64_[3] */
|
|
__dna_writer.writeFloatBig(x64_[3]);
|
|
/* x64_[4] */
|
|
__dna_writer.writeFloatBig(x64_[4]);
|
|
/* x64_[5] */
|
|
__dna_writer.writeFloatBig(x64_[5]);
|
|
/* x64_[6] */
|
|
__dna_writer.writeFloatBig(x64_[6]);
|
|
/* x64_[7] */
|
|
__dna_writer.writeFloatBig(x64_[7]);
|
|
/* x84_[0] */
|
|
__dna_writer.writeFloatBig(x84_[0]);
|
|
/* x84_[1] */
|
|
__dna_writer.writeFloatBig(x84_[1]);
|
|
/* x84_[2] */
|
|
__dna_writer.writeFloatBig(x84_[2]);
|
|
/* x84_[3] */
|
|
__dna_writer.writeFloatBig(x84_[3]);
|
|
/* x84_[4] */
|
|
__dna_writer.writeFloatBig(x84_[4]);
|
|
/* x84_[5] */
|
|
__dna_writer.writeFloatBig(x84_[5]);
|
|
/* x84_[6] */
|
|
__dna_writer.writeFloatBig(x84_[6]);
|
|
/* x84_[7] */
|
|
__dna_writer.writeFloatBig(x84_[7]);
|
|
/* xa4_translationMaxSpeed[0] */
|
|
__dna_writer.writeFloatBig(xa4_translationMaxSpeed[0]);
|
|
/* xa4_translationMaxSpeed[1] */
|
|
__dna_writer.writeFloatBig(xa4_translationMaxSpeed[1]);
|
|
/* xa4_translationMaxSpeed[2] */
|
|
__dna_writer.writeFloatBig(xa4_translationMaxSpeed[2]);
|
|
/* xa4_translationMaxSpeed[3] */
|
|
__dna_writer.writeFloatBig(xa4_translationMaxSpeed[3]);
|
|
/* xa4_translationMaxSpeed[4] */
|
|
__dna_writer.writeFloatBig(xa4_translationMaxSpeed[4]);
|
|
/* xa4_translationMaxSpeed[5] */
|
|
__dna_writer.writeFloatBig(xa4_translationMaxSpeed[5]);
|
|
/* xa4_translationMaxSpeed[6] */
|
|
__dna_writer.writeFloatBig(xa4_translationMaxSpeed[6]);
|
|
/* xa4_translationMaxSpeed[7] */
|
|
__dna_writer.writeFloatBig(xa4_translationMaxSpeed[7]);
|
|
/* xc4_normalGravAccel */
|
|
__dna_writer.writeFloatBig(xc4_normalGravAccel);
|
|
/* xc8_fluidGravAccel */
|
|
__dna_writer.writeFloatBig(xc8_fluidGravAccel);
|
|
/* xcc_ */
|
|
__dna_writer.writeFloatBig(xcc_);
|
|
/* xd0_ */
|
|
__dna_writer.writeFloatBig(xd0_);
|
|
/* xd4_ */
|
|
__dna_writer.writeFloatBig(xd4_);
|
|
/* xd8_ */
|
|
__dna_writer.writeFloatBig(xd8_);
|
|
/* xdc_ */
|
|
__dna_writer.writeFloatBig(xdc_);
|
|
/* xe0_ */
|
|
__dna_writer.writeFloatBig(xe0_);
|
|
/* xe4_ */
|
|
__dna_writer.writeFloatBig(xe4_);
|
|
/* xe8_ */
|
|
__dna_writer.writeFloatBig(xe8_);
|
|
/* xec_ */
|
|
__dna_writer.writeFloatBig(xec_);
|
|
/* xf0_ */
|
|
__dna_writer.writeFloatBig(xf0_);
|
|
/* xf4_ */
|
|
__dna_writer.writeFloatBig(xf4_);
|
|
/* xf8_ */
|
|
__dna_writer.writeFloatBig(xf8_);
|
|
/* xfc_ */
|
|
__dna_writer.writeFloatBig(xfc_);
|
|
/* x100_ */
|
|
__dna_writer.writeFloatBig(x100_);
|
|
/* x104_ */
|
|
__dna_writer.writeFloatBig(x104_);
|
|
/* x108_ */
|
|
__dna_writer.writeFloatBig(x108_);
|
|
/* x10c_ */
|
|
__dna_writer.writeFloatBig(x10c_);
|
|
/* x110_ */
|
|
__dna_writer.writeFloatBig(x110_);
|
|
/* x114_ */
|
|
__dna_writer.writeFloatBig(x114_);
|
|
/* x118_ */
|
|
__dna_writer.writeFloatBig(x118_);
|
|
/* x11c_ */
|
|
__dna_writer.writeFloatBig(x11c_);
|
|
/* x120_ */
|
|
__dna_writer.writeFloatBig(x120_);
|
|
/* x124_eyeOffset */
|
|
__dna_writer.writeFloatBig(x124_eyeOffset);
|
|
/* x128_ */
|
|
__dna_writer.writeFloatBig(x128_);
|
|
/* x12c_ */
|
|
__dna_writer.writeFloatBig(x12c_);
|
|
/* x130_horizontalFreeLookAngleVel */
|
|
__dna_writer.writeFloatBig(x130_horizontalFreeLookAngleVel);
|
|
/* x134_verticalFreeLookAngleVel */
|
|
__dna_writer.writeFloatBig(x134_verticalFreeLookAngleVel);
|
|
/* x138_freeLookSpeed */
|
|
__dna_writer.writeFloatBig(x138_freeLookSpeed);
|
|
/* x13c_freeLookSnapSpeed */
|
|
__dna_writer.writeFloatBig(x13c_freeLookSnapSpeed);
|
|
/* x140_ */
|
|
__dna_writer.writeFloatBig(x140_);
|
|
/* x144_freeLookCenteredThresholdAngle */
|
|
__dna_writer.writeFloatBig(x144_freeLookCenteredThresholdAngle);
|
|
/* x148_freeLookCenteredTime */
|
|
__dna_writer.writeFloatBig(x148_freeLookCenteredTime);
|
|
/* x14c_ */
|
|
__dna_writer.writeFloatBig(x14c_);
|
|
/* x150_leftDiv */
|
|
__dna_writer.writeFloatBig(x150_leftDiv);
|
|
/* x154_rightDiv */
|
|
__dna_writer.writeFloatBig(x154_rightDiv);
|
|
/* x228_24_freelookTurnsPlayer */
|
|
__dna_writer.writeBool(x228_24_freelookTurnsPlayer);
|
|
/* x228_25_ */
|
|
__dna_writer.writeBool(x228_25_);
|
|
/* x228_26_ */
|
|
__dna_writer.writeBool(x228_26_);
|
|
/* x228_27_ */
|
|
__dna_writer.writeBool(x228_27_);
|
|
/* x228_28_enableFreeLook */
|
|
__dna_writer.writeBool(x228_28_enableFreeLook);
|
|
/* x228_29_twoButtonsForFreeLook */
|
|
__dna_writer.writeBool(x228_29_twoButtonsForFreeLook);
|
|
/* x228_30_ */
|
|
__dna_writer.writeBool(x228_30_);
|
|
/* x228_31_ */
|
|
__dna_writer.writeBool(x228_31_);
|
|
/* x229_24_ */
|
|
__dna_writer.writeBool(x229_24_);
|
|
/* x229_25_aimWhenOrbitingPoint */
|
|
__dna_writer.writeBool(x229_25_aimWhenOrbitingPoint);
|
|
/* x229_26_stayInFreeLookWhileFiring */
|
|
__dna_writer.writeBool(x229_26_stayInFreeLookWhileFiring);
|
|
/* x229_27_ */
|
|
__dna_writer.writeBool(x229_27_);
|
|
/* x229_28_ */
|
|
__dna_writer.writeBool(x229_28_);
|
|
/* x229_29_ */
|
|
__dna_writer.writeBool(x229_29_);
|
|
/* 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_ */
|
|
__dna_writer.writeBool(x22a_25_);
|
|
/* x22a_26_ */
|
|
__dna_writer.writeBool(x22a_26_firingCancelsCameraPitch);
|
|
/* x22a_27_assistedAimingIgnoreHorizontal */
|
|
__dna_writer.writeBool(x22a_27_assistedAimingIgnoreHorizontal);
|
|
/* x22a_28_assistedAimingIgnoreVertical */
|
|
__dna_writer.writeBool(x22a_28_assistedAimingIgnoreVertical);
|
|
/* x22c_ */
|
|
__dna_writer.writeFloatBig(x22c_);
|
|
/* x230_ */
|
|
__dna_writer.writeFloatBig(x230_);
|
|
/* x234_aimMaxDistance */
|
|
__dna_writer.writeFloatBig(x234_aimMaxDistance);
|
|
/* x238_ */
|
|
__dna_writer.writeFloatBig(x238_);
|
|
/* x23c_ */
|
|
__dna_writer.writeFloatBig(x23c_);
|
|
/* x240_ */
|
|
__dna_writer.writeFloatBig(x240_);
|
|
/* x244_ */
|
|
__dna_writer.writeFloatBig(x244_);
|
|
/* x248_ */
|
|
__dna_writer.writeFloatBig(x248_);
|
|
/* x24c_aimThresholdDistance */
|
|
__dna_writer.writeFloatBig(x24c_aimThresholdDistance);
|
|
/* x250_ */
|
|
__dna_writer.writeFloatBig(x250_);
|
|
/* x254_ */
|
|
__dna_writer.writeFloatBig(x254_);
|
|
/* x258_aimBoxWidth */
|
|
__dna_writer.writeFloatBig(x258_aimBoxWidth);
|
|
/* x25c_aimBoxHeight */
|
|
__dna_writer.writeFloatBig(x25c_aimBoxHeight);
|
|
/* x260_aimTargetTimer */
|
|
__dna_writer.writeFloatBig(x260_aimTargetTimer);
|
|
/* x264_aimAssistHorizontalAngle */
|
|
__dna_writer.writeFloatBig(x264_aimAssistHorizontalAngle);
|
|
/* x268_aimAssistVerticalAngle */
|
|
__dna_writer.writeFloatBig(x268_aimAssistVerticalAngle);
|
|
/* x158_[0] */
|
|
__dna_writer.writeFloatBig(x158_[0]);
|
|
/* x164_[0] */
|
|
__dna_writer.writeFloatBig(x164_[0]);
|
|
/* x170_[0] */
|
|
__dna_writer.writeFloatBig(x170_[0]);
|
|
/* x158_[1] */
|
|
__dna_writer.writeFloatBig(x158_[1]);
|
|
/* x164_[1] */
|
|
__dna_writer.writeFloatBig(x164_[1]);
|
|
/* x170_[1] */
|
|
__dna_writer.writeFloatBig(x170_[1]);
|
|
/* x158_[2] */
|
|
__dna_writer.writeFloatBig(x158_[2]);
|
|
/* x164_[2] */
|
|
__dna_writer.writeFloatBig(x164_[2]);
|
|
/* x170_[2] */
|
|
__dna_writer.writeFloatBig(x170_[2]);
|
|
/* x17c_ */
|
|
__dna_writer.writeFloatBig(x17c_);
|
|
/* x180_ */
|
|
__dna_writer.writeFloatBig(x180_orbitNormalDistance);
|
|
/* x184_ */
|
|
__dna_writer.writeFloatBig(x184_);
|
|
/* x188_maxUpwardOrbitLookAngle */
|
|
__dna_writer.writeFloatBig(x188_maxUpwardOrbitLookAngle);
|
|
/* x18c_maxDownwardOrbitLookAngle */
|
|
__dna_writer.writeFloatBig(x18c_maxDownwardOrbitLookAngle);
|
|
/* x190_orbitHorizAngle */
|
|
__dna_writer.writeFloatBig(x190_orbitHorizAngle);
|
|
/* x194_ */
|
|
__dna_writer.writeFloatBig(x194_);
|
|
/* x198_ */
|
|
__dna_writer.writeFloatBig(x198_);
|
|
/* x19c_ */
|
|
__dna_writer.writeFloatBig(x19c_);
|
|
/* x1a0_ */
|
|
__dna_writer.writeFloatBig(x1a0_);
|
|
/* x1a4_orbitDistanceThreshold */
|
|
__dna_writer.writeFloatBig(x1a4_orbitDistanceThreshold);
|
|
/* x1a8_orbitScreenBoxHalfExtentX[0] */
|
|
__dna_writer.writeUint32Big(x1a8_orbitScreenBoxHalfExtentX[0]);
|
|
/* x1b0_orbitScreenBoxHalfExtentY[0] */
|
|
__dna_writer.writeUint32Big(x1b0_orbitScreenBoxHalfExtentY[0]);
|
|
/* x1b8_orbitScreenBoxCenterX[0] */
|
|
__dna_writer.writeUint32Big(x1b8_orbitScreenBoxCenterX[0]);
|
|
/* x1c0_orbitScreenBoxCenterY[0] */
|
|
__dna_writer.writeUint32Big(x1c0_orbitScreenBoxCenterY[0]);
|
|
/* x1c8_orbitZoneIdealX[0] */
|
|
__dna_writer.writeUint32Big(x1c8_orbitZoneIdealX[0]);
|
|
/* x1d0_orbitZoneIdealY[0] */
|
|
__dna_writer.writeUint32Big(x1d0_orbitZoneIdealY[0]);
|
|
/* x1a8_orbitScreenBoxHalfExtentX[1] */
|
|
__dna_writer.writeUint32Big(x1a8_orbitScreenBoxHalfExtentX[1]);
|
|
/* x1b0_orbitScreenBoxHalfExtentY[1] */
|
|
__dna_writer.writeUint32Big(x1b0_orbitScreenBoxHalfExtentY[1]);
|
|
/* x1b8_orbitScreenBoxCenterX[1] */
|
|
__dna_writer.writeUint32Big(x1b8_orbitScreenBoxCenterX[1]);
|
|
/* x1c0_orbitScreenBoxCenterY[1] */
|
|
__dna_writer.writeUint32Big(x1c0_orbitScreenBoxCenterY[1]);
|
|
/* x1c8_orbitZoneIdealX[1] */
|
|
__dna_writer.writeUint32Big(x1c8_orbitZoneIdealX[1]);
|
|
/* x1d0_orbitZoneIdealY[1] */
|
|
__dna_writer.writeUint32Big(x1d0_orbitZoneIdealY[1]);
|
|
/* x1d8_orbitNearX */
|
|
__dna_writer.writeFloatBig(x1d8_orbitNearX);
|
|
/* x1dc_orbitNearZ */
|
|
__dna_writer.writeFloatBig(x1dc_orbitNearZ);
|
|
/* x1e0_ */
|
|
__dna_writer.writeFloatBig(x1e0_);
|
|
/* x1e4_ */
|
|
__dna_writer.writeFloatBig(x1e4_);
|
|
/* x1e8_ */
|
|
__dna_writer.writeFloatBig(x1e8_);
|
|
/* x1ec_orbitZRange */
|
|
__dna_writer.writeFloatBig(x1ec_orbitZRange);
|
|
/* x1f0_ */
|
|
__dna_writer.writeFloatBig(x1f0_);
|
|
/* x1f4_ */
|
|
__dna_writer.writeFloatBig(x1f4_);
|
|
/* x1f8_ */
|
|
__dna_writer.writeFloatBig(x1f8_);
|
|
/* x1fc_ */
|
|
__dna_writer.writeFloatBig(x1fc_);
|
|
/* x200_24_ */
|
|
__dna_writer.writeBool(x200_24_);
|
|
/* x200_25_ */
|
|
__dna_writer.writeBool(x200_25_);
|
|
/* x204_ */
|
|
__dna_writer.writeFloatBig(x204_);
|
|
/* x208_ */
|
|
__dna_writer.writeFloatBig(x208_);
|
|
/* x20c_ */
|
|
__dna_writer.writeFloatBig(x20c_);
|
|
/* x210_ */
|
|
__dna_writer.writeFloatBig(x210_);
|
|
/* x214_ */
|
|
__dna_writer.writeFloatBig(x214_);
|
|
/* x218_scanningRange */
|
|
__dna_writer.writeFloatBig(x218_scanningRange);
|
|
/* x21c_24_scanRetention */
|
|
__dna_writer.writeBool(x21c_24_scanRetention);
|
|
/* x21c_25_scanFreezesGame */
|
|
__dna_writer.writeBool(x21c_25_scanFreezesGame);
|
|
/* x21c_26_orbitWhileScanning */
|
|
__dna_writer.writeBool(x21c_26_orbitWhileScanning);
|
|
/* x220_ */
|
|
__dna_writer.writeFloatBig(x220_);
|
|
/* x224_scanningFrameSenseRange */
|
|
__dna_writer.writeFloatBig(x224_scanningFrameSenseRange);
|
|
/* x2a0_orbitDistanceMax */
|
|
__dna_writer.writeFloatBig(x2a0_orbitDistanceMax);
|
|
/* x2a4_grappleSwingLength */
|
|
__dna_writer.writeFloatBig(x2a4_grappleSwingLength);
|
|
/* x2a8_grappleSwingPeriod */
|
|
__dna_writer.writeFloatBig(x2a8_grappleSwingPeriod);
|
|
/* x2ac_grapplePullSpeedMin */
|
|
__dna_writer.writeFloatBig(x2ac_grapplePullSpeedMin);
|
|
/* x2b0_ */
|
|
__dna_writer.writeFloatBig(x2b0_);
|
|
/* x2b4_maxGrappleLockedTurnAlignDistance */
|
|
__dna_writer.writeFloatBig(x2b4_maxGrappleLockedTurnAlignDistance);
|
|
/* x2b8_grapplePullSpeedProportion */
|
|
__dna_writer.writeFloatBig(x2b8_grapplePullSpeedProportion);
|
|
/* x2bc_grapplePullSpeedMax */
|
|
__dna_writer.writeFloatBig(x2bc_grapplePullSpeedMax);
|
|
/* x2c0_grappleLookCenterSpeed */
|
|
__dna_writer.writeFloatBig(x2c0_grappleLookCenterSpeed);
|
|
/* x2c4_maxGrappleTurnSpeed */
|
|
__dna_writer.writeFloatBig(x2c4_maxGrappleTurnSpeed);
|
|
/* x2c8_grappleJumpForce */
|
|
__dna_writer.writeFloatBig(x2c8_grappleJumpForce);
|
|
/* x2cc_grappleReleaseTime */
|
|
__dna_writer.writeFloatBig(x2cc_grappleReleaseTime);
|
|
/* x2d0_grappleJumpMode */
|
|
__dna_writer.writeUint32Big(x2d0_grappleJumpMode);
|
|
/* x2d4_ */
|
|
__dna_writer.writeBool(x2d4_);
|
|
/* x2d5_ */
|
|
__dna_writer.writeBool(x2d5_invertGrappleTurn);
|
|
/* x2d8_ */
|
|
__dna_writer.writeFloatBig(x2d8_);
|
|
/* x2dc_ */
|
|
__dna_writer.writeFloatBig(x2dc_);
|
|
/* x2e0_ */
|
|
__dna_writer.writeFloatBig(x2e0_);
|
|
/* x2e4_ */
|
|
__dna_writer.writeFloatBig(x2e4_);
|
|
/* x26c_playerHeight */
|
|
__dna_writer.writeFloatBig(x26c_playerHeight);
|
|
/* x270_playerXYHalfExtent */
|
|
__dna_writer.writeFloatBig(x270_playerXYHalfExtent);
|
|
/* x274_ */
|
|
__dna_writer.writeFloatBig(x274_);
|
|
/* x278_ */
|
|
__dna_writer.writeFloatBig(x278_);
|
|
/* x27c_playerBallHalfExtent */
|
|
__dna_writer.writeFloatBig(x27c_playerBallHalfExtent);
|
|
/* x280_ */
|
|
__dna_writer.writeFloatBig(x280_);
|
|
/* x284_ */
|
|
__dna_writer.writeFloatBig(x284_);
|
|
/* x288_ */
|
|
__dna_writer.writeFloatBig(x288_);
|
|
/* x28c_ */
|
|
__dna_writer.writeFloatBig(x28c_);
|
|
/* x290_ */
|
|
__dna_writer.writeFloatBig(x290_);
|
|
/* x294_ */
|
|
__dna_writer.writeFloatBig(x294_);
|
|
/* x298_ */
|
|
__dna_writer.writeFloatBig(x298_);
|
|
/* x29c_ */
|
|
__dna_writer.writeFloatBig(x29c_);
|
|
/* x2e8_ */
|
|
__dna_writer.writeFloatBig(x2e8_);
|
|
/* x2ec_ */
|
|
__dna_writer.writeFloatBig(x2ec_);
|
|
/* x2f0_ */
|
|
__dna_writer.writeFloatBig(x2f0_);
|
|
/* x2f4_ */
|
|
__dna_writer.writeBool(x2f4_);
|
|
/* x2f8_frozenTimeout */
|
|
__dna_writer.writeFloatBig(x2f8_frozenTimeout);
|
|
/* x2fc_iceBreakJumpCount */
|
|
__dna_writer.writeUint32Big(x2fc_iceBreakJumpCount);
|
|
/* x300_variaDamageReduction */
|
|
__dna_writer.writeFloatBig(x300_variaDamageReduction);
|
|
/* x304_gravityDamageReduction */
|
|
__dna_writer.writeFloatBig(x304_gravityDamageReduction);
|
|
/* x308_phazonDamageReduction */
|
|
__dna_writer.writeFloatBig(x308_phazonDamageReduction);
|
|
}
|
|
|
|
void CTweakPlayer::read(athena::io::YAMLDocReader& __dna_docin)
|
|
{
|
|
/* x4_maxTranslationalAcceleration */
|
|
size_t __x4_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x4_maxTranslationalAcceleration", __x4_Count))
|
|
{
|
|
/* x4_maxTranslationalAcceleration[0] */
|
|
x4_maxTranslationalAcceleration[0] = __dna_docin.readFloat("x4_maxTranslationalAcceleration");
|
|
/* x4_maxTranslationalAcceleration[1] */
|
|
x4_maxTranslationalAcceleration[1] = __dna_docin.readFloat("x4_maxTranslationalAcceleration");
|
|
/* x4_maxTranslationalAcceleration[2] */
|
|
x4_maxTranslationalAcceleration[2] = __dna_docin.readFloat("x4_maxTranslationalAcceleration");
|
|
/* x4_maxTranslationalAcceleration[3] */
|
|
x4_maxTranslationalAcceleration[3] = __dna_docin.readFloat("x4_maxTranslationalAcceleration");
|
|
/* x4_maxTranslationalAcceleration[4] */
|
|
x4_maxTranslationalAcceleration[4] = __dna_docin.readFloat("x4_maxTranslationalAcceleration");
|
|
/* x4_maxTranslationalAcceleration[5] */
|
|
x4_maxTranslationalAcceleration[5] = __dna_docin.readFloat("x4_maxTranslationalAcceleration");
|
|
/* x4_maxTranslationalAcceleration[6] */
|
|
x4_maxTranslationalAcceleration[6] = __dna_docin.readFloat("x4_maxTranslationalAcceleration");
|
|
/* x4_maxTranslationalAcceleration[7] */
|
|
x4_maxTranslationalAcceleration[7] = __dna_docin.readFloat("x4_maxTranslationalAcceleration");
|
|
}
|
|
/* x24_ */
|
|
size_t __x24_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x24_", __x24_Count))
|
|
{
|
|
/* x24_[0] */
|
|
x24_[0] = __dna_docin.readFloat("x24_");
|
|
/* x24_[1] */
|
|
x24_[1] = __dna_docin.readFloat("x24_");
|
|
/* x24_[2] */
|
|
x24_[2] = __dna_docin.readFloat("x24_");
|
|
/* x24_[3] */
|
|
x24_[3] = __dna_docin.readFloat("x24_");
|
|
/* x24_[4] */
|
|
x24_[4] = __dna_docin.readFloat("x24_");
|
|
/* x24_[5] */
|
|
x24_[5] = __dna_docin.readFloat("x24_");
|
|
/* x24_[6] */
|
|
x24_[6] = __dna_docin.readFloat("x24_");
|
|
/* x24_[7] */
|
|
x24_[7] = __dna_docin.readFloat("x24_");
|
|
}
|
|
/* x44_translationFriction */
|
|
size_t __x44_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x44_translationFriction", __x44_Count))
|
|
{
|
|
/* x44_translationFriction[0] */
|
|
x44_translationFriction[0] = __dna_docin.readFloat("x44_translationFriction");
|
|
/* x44_translationFriction[1] */
|
|
x44_translationFriction[1] = __dna_docin.readFloat("x44_translationFriction");
|
|
/* x44_translationFriction[2] */
|
|
x44_translationFriction[2] = __dna_docin.readFloat("x44_translationFriction");
|
|
/* x44_translationFriction[3] */
|
|
x44_translationFriction[3] = __dna_docin.readFloat("x44_translationFriction");
|
|
/* x44_translationFriction[4] */
|
|
x44_translationFriction[4] = __dna_docin.readFloat("x44_translationFriction");
|
|
/* x44_translationFriction[5] */
|
|
x44_translationFriction[5] = __dna_docin.readFloat("x44_translationFriction");
|
|
/* x44_translationFriction[6] */
|
|
x44_translationFriction[6] = __dna_docin.readFloat("x44_translationFriction");
|
|
/* x44_translationFriction[7] */
|
|
x44_translationFriction[7] = __dna_docin.readFloat("x44_translationFriction");
|
|
}
|
|
/* x64_ */
|
|
size_t __x64_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x64_", __x64_Count))
|
|
{
|
|
/* x64_[0] */
|
|
x64_[0] = __dna_docin.readFloat("x64_");
|
|
/* x64_[1] */
|
|
x64_[1] = __dna_docin.readFloat("x64_");
|
|
/* x64_[2] */
|
|
x64_[2] = __dna_docin.readFloat("x64_");
|
|
/* x64_[3] */
|
|
x64_[3] = __dna_docin.readFloat("x64_");
|
|
/* x64_[4] */
|
|
x64_[4] = __dna_docin.readFloat("x64_");
|
|
/* x64_[5] */
|
|
x64_[5] = __dna_docin.readFloat("x64_");
|
|
/* x64_[6] */
|
|
x64_[6] = __dna_docin.readFloat("x64_");
|
|
/* x64_[7] */
|
|
x64_[7] = __dna_docin.readFloat("x64_");
|
|
}
|
|
/* x84_ */
|
|
size_t __x84_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x84_", __x84_Count))
|
|
{
|
|
/* x84_[0] */
|
|
x84_[0] = __dna_docin.readFloat("x84_");
|
|
/* x84_[1] */
|
|
x84_[1] = __dna_docin.readFloat("x84_");
|
|
/* x84_[2] */
|
|
x84_[2] = __dna_docin.readFloat("x84_");
|
|
/* x84_[3] */
|
|
x84_[3] = __dna_docin.readFloat("x84_");
|
|
/* x84_[4] */
|
|
x84_[4] = __dna_docin.readFloat("x84_");
|
|
/* x84_[5] */
|
|
x84_[5] = __dna_docin.readFloat("x84_");
|
|
/* x84_[6] */
|
|
x84_[6] = __dna_docin.readFloat("x84_");
|
|
/* x84_[7] */
|
|
x84_[7] = __dna_docin.readFloat("x84_");
|
|
}
|
|
/* xa4_translationMaxSpeed */
|
|
size_t __xa4_Count;
|
|
if (auto v = __dna_docin.enterSubVector("xa4_translationMaxSpeed", __xa4_Count))
|
|
{
|
|
/* xa4_translationMaxSpeed[0] */
|
|
xa4_translationMaxSpeed[0] = __dna_docin.readFloat("xa4_translationMaxSpeed");
|
|
/* xa4_translationMaxSpeed[1] */
|
|
xa4_translationMaxSpeed[1] = __dna_docin.readFloat("xa4_translationMaxSpeed");
|
|
/* xa4_translationMaxSpeed[2] */
|
|
xa4_translationMaxSpeed[2] = __dna_docin.readFloat("xa4_translationMaxSpeed");
|
|
/* xa4_translationMaxSpeed[3] */
|
|
xa4_translationMaxSpeed[3] = __dna_docin.readFloat("xa4_translationMaxSpeed");
|
|
/* xa4_translationMaxSpeed[4] */
|
|
xa4_translationMaxSpeed[4] = __dna_docin.readFloat("xa4_translationMaxSpeed");
|
|
/* xa4_translationMaxSpeed[5] */
|
|
xa4_translationMaxSpeed[5] = __dna_docin.readFloat("xa4_translationMaxSpeed");
|
|
/* xa4_translationMaxSpeed[6] */
|
|
xa4_translationMaxSpeed[6] = __dna_docin.readFloat("xa4_translationMaxSpeed");
|
|
/* xa4_translationMaxSpeed[7] */
|
|
xa4_translationMaxSpeed[7] = __dna_docin.readFloat("xa4_translationMaxSpeed");
|
|
}
|
|
/* xc4_normalGravAccel */
|
|
xc4_normalGravAccel = __dna_docin.readFloat("xc4_normalGravAccel");
|
|
/* xc8_fluidGravAccel */
|
|
xc8_fluidGravAccel = __dna_docin.readFloat("xc8_fluidGravAccel");
|
|
/* xcc_ */
|
|
xcc_ = __dna_docin.readFloat("xcc_");
|
|
/* xd0_ */
|
|
xd0_ = __dna_docin.readFloat("xd0_");
|
|
/* xd4_ */
|
|
xd4_ = __dna_docin.readFloat("xd4_");
|
|
/* xd8_ */
|
|
xd8_ = __dna_docin.readFloat("xd8_");
|
|
/* xdc_ */
|
|
xdc_ = __dna_docin.readFloat("xdc_");
|
|
/* xe0_ */
|
|
xe0_ = __dna_docin.readFloat("xe0_");
|
|
/* xe4_ */
|
|
xe4_ = __dna_docin.readFloat("xe4_");
|
|
/* xe8_ */
|
|
xe8_ = __dna_docin.readFloat("xe8_");
|
|
/* xec_ */
|
|
xec_ = __dna_docin.readFloat("xec_");
|
|
/* xf0_ */
|
|
xf0_ = __dna_docin.readFloat("xf0_");
|
|
/* xf4_ */
|
|
xf4_ = __dna_docin.readFloat("xf4_");
|
|
/* xf8_ */
|
|
xf8_ = __dna_docin.readFloat("xf8_");
|
|
/* xfc_ */
|
|
xfc_ = __dna_docin.readFloat("xfc_");
|
|
/* x100_ */
|
|
x100_ = __dna_docin.readFloat("x100_");
|
|
/* x104_ */
|
|
x104_ = __dna_docin.readFloat("x104_");
|
|
/* x108_ */
|
|
x108_ = __dna_docin.readFloat("x108_");
|
|
/* x10c_ */
|
|
x10c_ = __dna_docin.readFloat("x10c_");
|
|
/* x110_ */
|
|
x110_ = __dna_docin.readFloat("x110_");
|
|
/* x114_ */
|
|
x114_ = __dna_docin.readFloat("x114_");
|
|
/* x118_ */
|
|
x118_ = __dna_docin.readFloat("x118_");
|
|
/* x11c_ */
|
|
x11c_ = __dna_docin.readFloat("x11c_");
|
|
/* x120_ */
|
|
x120_ = __dna_docin.readFloat("x120_");
|
|
/* x124_eyeOffset */
|
|
x124_eyeOffset = __dna_docin.readFloat("x124_eyeOffset");
|
|
/* x128_ */
|
|
x128_ = __dna_docin.readFloat("x128_");
|
|
/* x12c_ */
|
|
x12c_ = __dna_docin.readFloat("x12c_");
|
|
/* x130_horizontalFreeLookAngleVel */
|
|
x130_horizontalFreeLookAngleVel = __dna_docin.readFloat("x130_horizontalFreeLookAngleVel");
|
|
/* x134_verticalFreeLookAngleVel */
|
|
x134_verticalFreeLookAngleVel = __dna_docin.readFloat("x134_verticalFreeLookAngleVel");
|
|
/* x138_freeLookSpeed */
|
|
x138_freeLookSpeed = __dna_docin.readFloat("x138_freeLookSpeed");
|
|
/* x13c_freeLookSnapSpeed */
|
|
x13c_freeLookSnapSpeed = __dna_docin.readFloat("x13c_freeLookSnapSpeed");
|
|
/* x140_ */
|
|
x140_ = __dna_docin.readFloat("x140_");
|
|
/* x144_freeLookCenteredThresholdAngle */
|
|
x144_freeLookCenteredThresholdAngle = __dna_docin.readFloat("x144_freeLookCenteredThresholdAngle");
|
|
/* x148_freeLookCenteredTime */
|
|
x148_freeLookCenteredTime = __dna_docin.readFloat("x148_freeLookCenteredTime");
|
|
/* x14c_ */
|
|
x14c_ = __dna_docin.readFloat("x14c_");
|
|
/* x150_leftDiv */
|
|
x150_leftDiv = __dna_docin.readFloat("x150_leftDiv");
|
|
/* x154_rightDiv */
|
|
x154_rightDiv = __dna_docin.readFloat("x154_rightDiv");
|
|
/* x228_24_freelookTurnsPlayer */
|
|
x228_24_freelookTurnsPlayer = __dna_docin.readBool("x228_24_freelookTurnsPlayer");
|
|
/* x228_25_ */
|
|
x228_25_ = __dna_docin.readBool("x228_25_");
|
|
/* x228_26_ */
|
|
x228_26_ = __dna_docin.readBool("x228_26_");
|
|
/* x228_27_ */
|
|
x228_27_ = __dna_docin.readBool("x228_27_");
|
|
/* x228_28_enableFreeLook */
|
|
x228_28_enableFreeLook = __dna_docin.readBool("x228_28_enableFreeLook");
|
|
/* x228_29_twoButtonsForFreeLook */
|
|
x228_29_twoButtonsForFreeLook = __dna_docin.readBool("x228_29_twoButtonsForFreeLook");
|
|
/* x228_30_ */
|
|
x228_30_ = __dna_docin.readBool("x228_30_");
|
|
/* x228_31_ */
|
|
x228_31_ = __dna_docin.readBool("x228_31_");
|
|
/* x229_24_ */
|
|
x229_24_ = __dna_docin.readBool("x229_24_");
|
|
/* x229_25_aimWhenOrbitingPoint */
|
|
x229_25_aimWhenOrbitingPoint = __dna_docin.readBool("x229_25_aimWhenOrbitingPoint");
|
|
/* x229_26_stayInFreeLookWhileFiring */
|
|
x229_26_stayInFreeLookWhileFiring = __dna_docin.readBool("x229_26_stayInFreeLookWhileFiring");
|
|
/* x229_27_ */
|
|
x229_27_ = __dna_docin.readBool("x229_27_");
|
|
/* x229_28_ */
|
|
x229_28_ = __dna_docin.readBool("x229_28_");
|
|
/* x229_29_ */
|
|
x229_29_ = __dna_docin.readBool("x229_29_");
|
|
/* 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_ */
|
|
x22a_25_ = __dna_docin.readBool("x22a_25_");
|
|
/* x22a_26_firingCancelsCameraPitch */
|
|
x22a_26_firingCancelsCameraPitch = __dna_docin.readBool("x22a_26_firingCancelsCameraPitch");
|
|
/* x22a_27_assistedAimingIgnoreHorizontal */
|
|
x22a_27_assistedAimingIgnoreHorizontal = __dna_docin.readBool("x22a_27_assistedAimingIgnoreHorizontal");
|
|
/* x22a_28_assistedAimingIgnoreVertical */
|
|
x22a_28_assistedAimingIgnoreVertical = __dna_docin.readBool("x22a_28_assistedAimingIgnoreVertical");
|
|
/* x22c_ */
|
|
x22c_ = __dna_docin.readFloat("x22c_");
|
|
/* x230_ */
|
|
x230_ = __dna_docin.readFloat("x230_");
|
|
/* x234_aimMaxDistance */
|
|
x234_aimMaxDistance = __dna_docin.readFloat("x234_aimMaxDistance");
|
|
/* x238_ */
|
|
x238_ = __dna_docin.readFloat("x238_");
|
|
/* x23c_ */
|
|
x23c_ = __dna_docin.readFloat("x23c_");
|
|
/* x240_ */
|
|
x240_ = __dna_docin.readFloat("x240_");
|
|
/* x244_ */
|
|
x244_ = __dna_docin.readFloat("x244_");
|
|
/* x248_ */
|
|
x248_ = __dna_docin.readFloat("x248_");
|
|
/* x24c_aimThresholdDistance */
|
|
x24c_aimThresholdDistance = __dna_docin.readFloat("x24c_aimThresholdDistance");
|
|
/* x250_ */
|
|
x250_ = __dna_docin.readFloat("x250_");
|
|
/* x254_ */
|
|
x254_ = __dna_docin.readFloat("x254_");
|
|
/* x258_aimBoxWidth */
|
|
x258_aimBoxWidth = __dna_docin.readFloat("x258_aimBoxWidth");
|
|
/* x25c_aimBoxHeight */
|
|
x25c_aimBoxHeight = __dna_docin.readFloat("x25c_aimBoxHeight");
|
|
/* x260_aimTargetTimer */
|
|
x260_aimTargetTimer = __dna_docin.readFloat("x260_aimTargetTimer");
|
|
/* x264_aimAssistHorizontalAngle */
|
|
x264_aimAssistHorizontalAngle = __dna_docin.readFloat("x264_aimAssistHorizontalAngle");
|
|
/* x268_aimAssistVerticalAngle */
|
|
x268_aimAssistVerticalAngle = __dna_docin.readFloat("x268_aimAssistVerticalAngle");
|
|
/* x158_ */
|
|
size_t __x158_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x158_", __x158_Count))
|
|
{
|
|
/* x158_[0] */
|
|
x158_[0] = __dna_docin.readFloat("x158_");
|
|
/* x158_[1] */
|
|
x158_[1] = __dna_docin.readFloat("x158_");
|
|
/* x158_[2] */
|
|
x158_[2] = __dna_docin.readFloat("x158_");
|
|
}
|
|
/* x164_ */
|
|
size_t __x164_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x164_", __x164_Count))
|
|
{
|
|
/* x164_[0] */
|
|
x164_[0] = __dna_docin.readFloat("x164_");
|
|
/* x164_[1] */
|
|
x164_[1] = __dna_docin.readFloat("x164_");
|
|
/* x164_[2] */
|
|
x164_[2] = __dna_docin.readFloat("x164_");
|
|
}
|
|
/* x170_ */
|
|
size_t __x170_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x170_", __x170_Count))
|
|
{
|
|
/* x170_[0] */
|
|
x170_[0] = __dna_docin.readFloat("x170_");
|
|
/* x170_[1] */
|
|
x170_[1] = __dna_docin.readFloat("x170_");
|
|
/* x170_[2] */
|
|
x170_[2] = __dna_docin.readFloat("x170_");
|
|
}
|
|
/* x17c_ */
|
|
x17c_ = __dna_docin.readFloat("x17c_");
|
|
/* x180_orbitNormalDistance */
|
|
x180_orbitNormalDistance = __dna_docin.readFloat("x180_orbitNormalDistance");
|
|
/* x184_ */
|
|
x184_ = __dna_docin.readFloat("x184_");
|
|
/* x188_maxUpwardOrbitLookAngle */
|
|
x188_maxUpwardOrbitLookAngle = __dna_docin.readFloat("x188_maxUpwardOrbitLookAngle");
|
|
/* x18c_maxDownwardOrbitLookAngle */
|
|
x18c_maxDownwardOrbitLookAngle = __dna_docin.readFloat("x18c_maxDownwardOrbitLookAngle");
|
|
/* x190_orbitHorizAngle */
|
|
x190_orbitHorizAngle = __dna_docin.readFloat("x190_orbitHorizAngle");
|
|
/* x194_ */
|
|
x194_ = __dna_docin.readFloat("x194_");
|
|
/* x198_ */
|
|
x198_ = __dna_docin.readFloat("x198_");
|
|
/* x19c_ */
|
|
x19c_ = __dna_docin.readFloat("x19c_");
|
|
/* x1a0_ */
|
|
x1a0_ = __dna_docin.readFloat("x1a0_");
|
|
/* x1a4_orbitDistanceThreshold */
|
|
x1a4_orbitDistanceThreshold = __dna_docin.readFloat("x1a4_orbitDistanceThreshold");
|
|
/* x1a8_orbitScreenBoxHalfExtentX */
|
|
size_t __x1a8_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x1a8_orbitScreenBoxHalfExtentX", __x1a8_Count))
|
|
{
|
|
/* x1a8_orbitScreenBoxHalfExtentX[0] */
|
|
x1a8_orbitScreenBoxHalfExtentX[0] = __dna_docin.readUint32("x1a8_orbitScreenBoxHalfExtentX");
|
|
/* x1a8_orbitScreenBoxHalfExtentX[1] */
|
|
x1a8_orbitScreenBoxHalfExtentX[1] = __dna_docin.readUint32("x1a8_orbitScreenBoxHalfExtentX");
|
|
}
|
|
/* x1b0_orbitScreenBoxHalfExtentY */
|
|
size_t __x1b0_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x1b0_orbitScreenBoxHalfExtentY", __x1b0_Count))
|
|
{
|
|
/* x1b0_orbitScreenBoxHalfExtentY[0] */
|
|
x1b0_orbitScreenBoxHalfExtentY[0] = __dna_docin.readUint32("x1b0_orbitScreenBoxHalfExtentY");
|
|
/* x1b0_orbitScreenBoxHalfExtentY[1] */
|
|
x1b0_orbitScreenBoxHalfExtentY[1] = __dna_docin.readUint32("x1b0_orbitScreenBoxHalfExtentY");
|
|
}
|
|
/* x1b8_orbitScreenBoxCenterX */
|
|
size_t __x1b8_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x1b8_orbitScreenBoxCenterX", __x1b8_Count))
|
|
{
|
|
/* x1b8_orbitScreenBoxCenterX[0] */
|
|
x1b8_orbitScreenBoxCenterX[0] = __dna_docin.readUint32("x1b8_orbitScreenBoxCenterX");
|
|
/* x1b8_orbitScreenBoxCenterX[1] */
|
|
x1b8_orbitScreenBoxCenterX[1] = __dna_docin.readUint32("x1b8_orbitScreenBoxCenterX");
|
|
}
|
|
/* x1c0_orbitScreenBoxCenterY */
|
|
size_t __x1c0_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x1c0_orbitScreenBoxCenterY", __x1c0_Count))
|
|
{
|
|
/* x1c0_orbitScreenBoxCenterY[0] */
|
|
x1c0_orbitScreenBoxCenterY[0] = __dna_docin.readUint32("x1c0_orbitScreenBoxCenterY");
|
|
/* x1c0_orbitScreenBoxCenterY[1] */
|
|
x1c0_orbitScreenBoxCenterY[1] = __dna_docin.readUint32("x1c0_orbitScreenBoxCenterY");
|
|
}
|
|
/* x1c8_orbitZoneIdealX */
|
|
size_t __x1c8_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x1c8_orbitZoneIdealX", __x1c8_Count))
|
|
{
|
|
/* x1c8_orbitZoneIdealX[0] */
|
|
x1c8_orbitZoneIdealX[0] = __dna_docin.readUint32("x1c8_orbitZoneIdealX");
|
|
/* x1c8_orbitZoneIdealX[1] */
|
|
x1c8_orbitZoneIdealX[1] = __dna_docin.readUint32("x1c8_orbitZoneIdealX");
|
|
}
|
|
/* x1d0_orbitZoneIdealY */
|
|
size_t __x1d0_Count;
|
|
if (auto v = __dna_docin.enterSubVector("x1d0_orbitZoneIdealY", __x1d0_Count))
|
|
{
|
|
/* x1d0_orbitZoneIdealY[0] */
|
|
x1d0_orbitZoneIdealY[0] = __dna_docin.readUint32("x1d0_orbitZoneIdealY");
|
|
/* x1d0_orbitZoneIdealY[1] */
|
|
x1d0_orbitZoneIdealY[1] = __dna_docin.readUint32("x1d0_orbitZoneIdealY");
|
|
}
|
|
/* x1d8_orbitNearX */
|
|
x1d8_orbitNearX = __dna_docin.readFloat("x1d8_orbitNearX");
|
|
/* x1dc_orbitNearZ */
|
|
x1dc_orbitNearZ = __dna_docin.readFloat("x1dc_orbitNearZ");
|
|
/* x1e0_ */
|
|
x1e0_ = __dna_docin.readFloat("x1e0_");
|
|
/* x1e4_ */
|
|
x1e4_ = __dna_docin.readFloat("x1e4_");
|
|
/* x1e8_ */
|
|
x1e8_ = __dna_docin.readFloat("x1e8_");
|
|
/* x1ec_orbitZRange */
|
|
x1ec_orbitZRange = __dna_docin.readFloat("x1ec_orbitZRange");
|
|
/* x1f0_ */
|
|
x1f0_ = __dna_docin.readFloat("x1f0_");
|
|
/* x1f4_ */
|
|
x1f4_ = __dna_docin.readFloat("x1f4_");
|
|
/* x1f8_ */
|
|
x1f8_ = __dna_docin.readFloat("x1f8_");
|
|
/* x1fc_ */
|
|
x1fc_ = __dna_docin.readFloat("x1fc_");
|
|
/* x200_24_ */
|
|
x200_24_ = __dna_docin.readBool("x200_24_");
|
|
/* x200_25_ */
|
|
x200_25_ = __dna_docin.readBool("x200_25_");
|
|
/* x204_ */
|
|
x204_ = __dna_docin.readFloat("x204_");
|
|
/* x208_ */
|
|
x208_ = __dna_docin.readFloat("x208_");
|
|
/* x20c_ */
|
|
x20c_ = __dna_docin.readFloat("x20c_");
|
|
/* x210_ */
|
|
x210_ = __dna_docin.readFloat("x210_");
|
|
/* x214_ */
|
|
x214_ = __dna_docin.readFloat("x214_");
|
|
/* x218_scanningRange */
|
|
x218_scanningRange = __dna_docin.readFloat("x218_scanningRange");
|
|
/* x21c_24_scanRetention */
|
|
x21c_24_scanRetention = __dna_docin.readBool("x21c_24_scanRetention");
|
|
/* x21c_25_scanFreezesGame */
|
|
x21c_25_scanFreezesGame = __dna_docin.readBool("x21c_25_scanFreezesGame");
|
|
/* x21c_26_orbitWhileScanning */
|
|
x21c_26_orbitWhileScanning = __dna_docin.readBool("x21c_26_orbitWhileScanning");
|
|
/* x220_ */
|
|
x220_ = __dna_docin.readFloat("x220_");
|
|
/* x224_scanningFrameSenseRange */
|
|
x224_scanningFrameSenseRange = __dna_docin.readFloat("x224_scanningFrameSenseRange");
|
|
/* x2a0_orbitDistanceMax */
|
|
x2a0_orbitDistanceMax = __dna_docin.readFloat("x2a0_orbitDistanceMax");
|
|
/* x2a4_grappleSwingLength */
|
|
x2a4_grappleSwingLength = __dna_docin.readFloat("x2a4_grappleSwingLength");
|
|
/* x2a8_grappleSwingPeriod */
|
|
x2a8_grappleSwingPeriod = __dna_docin.readFloat("x2a8_grappleSwingPeriod");
|
|
/* x2ac_grapplePullSpeedMin */
|
|
x2ac_grapplePullSpeedMin = __dna_docin.readFloat("x2ac_grapplePullSpeedMin");
|
|
/* x2b0_ */
|
|
x2b0_ = __dna_docin.readFloat("x2b0_");
|
|
/* x2b4_maxGrappleLockedTurnAlignDistance */
|
|
x2b4_maxGrappleLockedTurnAlignDistance = __dna_docin.readFloat("x2b4_maxGrappleLockedTurnAlignDistance");
|
|
/* x2b8_grapplePullSpeedProportion */
|
|
x2b8_grapplePullSpeedProportion = __dna_docin.readFloat("x2b8_grapplePullSpeedProportion");
|
|
/* x2bc_grapplePullSpeedMax */
|
|
x2bc_grapplePullSpeedMax = __dna_docin.readFloat("x2bc_grapplePullSpeedMax");
|
|
/* x2c0_grappleLookCenterSpeed */
|
|
x2c0_grappleLookCenterSpeed = __dna_docin.readFloat("x2c0_grappleLookCenterSpeed");
|
|
/* x2c4_maxGrappleTurnSpeed */
|
|
x2c4_maxGrappleTurnSpeed = __dna_docin.readFloat("x2c4_maxGrappleTurnSpeed");
|
|
/* x2c8_grappleJumpForce */
|
|
x2c8_grappleJumpForce = __dna_docin.readFloat("x2c8_grappleJumpForce");
|
|
/* x2cc_grappleReleaseTime */
|
|
x2cc_grappleReleaseTime = __dna_docin.readFloat("x2cc_grappleReleaseTime");
|
|
/* x2d0_grappleJumpMode */
|
|
x2d0_grappleJumpMode = __dna_docin.readUint32("x2d0_grappleJumpMode");
|
|
/* x2d4_ */
|
|
x2d4_ = __dna_docin.readBool("x2d4_");
|
|
/* x2d5_ */
|
|
x2d5_invertGrappleTurn = __dna_docin.readBool("x2d5_");
|
|
/* x2d8_ */
|
|
x2d8_ = __dna_docin.readFloat("x2d8_");
|
|
/* x2dc_ */
|
|
x2dc_ = __dna_docin.readFloat("x2dc_");
|
|
/* x2e0_ */
|
|
x2e0_ = __dna_docin.readFloat("x2e0_");
|
|
/* x2e4_ */
|
|
x2e4_ = __dna_docin.readFloat("x2e4_");
|
|
/* x26c_playerHeight */
|
|
x26c_playerHeight = __dna_docin.readFloat("x26c_playerHeight");
|
|
/* x270_playerXYHalfExtent */
|
|
x270_playerXYHalfExtent = __dna_docin.readFloat("x270_playerXYHalfExtent");
|
|
/* x274_ */
|
|
x274_ = __dna_docin.readFloat("x274_");
|
|
/* x278_ */
|
|
x278_ = __dna_docin.readFloat("x278_");
|
|
/* x27c_playerBallHalfExtent */
|
|
x27c_playerBallHalfExtent = __dna_docin.readFloat("x27c_playerBallHalfExtent");
|
|
/* x280_ */
|
|
x280_ = __dna_docin.readFloat("x280_");
|
|
/* x284_ */
|
|
x284_ = __dna_docin.readFloat("x284_");
|
|
/* x288_ */
|
|
x288_ = __dna_docin.readFloat("x288_");
|
|
/* x28c_ */
|
|
x28c_ = __dna_docin.readFloat("x28c_");
|
|
/* x290_ */
|
|
x290_ = __dna_docin.readFloat("x290_");
|
|
/* x294_ */
|
|
x294_ = __dna_docin.readFloat("x294_");
|
|
/* x298_ */
|
|
x298_ = __dna_docin.readFloat("x298_");
|
|
/* x29c_ */
|
|
x29c_ = __dna_docin.readFloat("x29c_");
|
|
/* x2e8_ */
|
|
x2e8_ = __dna_docin.readFloat("x2e8_");
|
|
/* x2ec_ */
|
|
x2ec_ = __dna_docin.readFloat("x2ec_");
|
|
/* x2f0_ */
|
|
x2f0_ = __dna_docin.readFloat("x2f0_");
|
|
/* x2f4_ */
|
|
x2f4_ = __dna_docin.readBool("x2f4_");
|
|
/* x2f8_frozenTimeout */
|
|
x2f8_frozenTimeout = __dna_docin.readFloat("x2f8_frozenTimeout");
|
|
/* x2fc_iceBreakJumpCount */
|
|
x2fc_iceBreakJumpCount = __dna_docin.readUint32("x2fc_iceBreakJumpCount");
|
|
/* x300_variaDamageReduction */
|
|
x300_variaDamageReduction = __dna_docin.readFloat("x300_variaDamageReduction");
|
|
/* x304_gravityDamageReduction */
|
|
x304_gravityDamageReduction = __dna_docin.readFloat("x304_gravityDamageReduction");
|
|
/* x308_phazonDamageReduction */
|
|
x308_phazonDamageReduction = __dna_docin.readFloat("x308_phazonDamageReduction");
|
|
}
|
|
|
|
void CTweakPlayer::write(athena::io::YAMLDocWriter& __dna_docout) const
|
|
{
|
|
/* x4_maxTranslationalAcceleration */
|
|
if (auto v = __dna_docout.enterSubVector("x4_maxTranslationalAcceleration"))
|
|
{
|
|
/* x4_maxTranslationalAcceleration[0] */
|
|
__dna_docout.writeFloat("x4_maxTranslationalAcceleration", x4_maxTranslationalAcceleration[0]);
|
|
/* x4_maxTranslationalAcceleration[1] */
|
|
__dna_docout.writeFloat("x4_maxTranslationalAcceleration", x4_maxTranslationalAcceleration[1]);
|
|
/* x4_maxTranslationalAcceleration[2] */
|
|
__dna_docout.writeFloat("x4_maxTranslationalAcceleration", x4_maxTranslationalAcceleration[2]);
|
|
/* x4_maxTranslationalAcceleration[3] */
|
|
__dna_docout.writeFloat("x4_maxTranslationalAcceleration", x4_maxTranslationalAcceleration[3]);
|
|
/* x4_maxTranslationalAcceleration[4] */
|
|
__dna_docout.writeFloat("x4_maxTranslationalAcceleration", x4_maxTranslationalAcceleration[4]);
|
|
/* x4_maxTranslationalAcceleration[5] */
|
|
__dna_docout.writeFloat("x4_maxTranslationalAcceleration", x4_maxTranslationalAcceleration[5]);
|
|
/* x4_maxTranslationalAcceleration[6] */
|
|
__dna_docout.writeFloat("x4_maxTranslationalAcceleration", x4_maxTranslationalAcceleration[6]);
|
|
/* x4_maxTranslationalAcceleration[7] */
|
|
__dna_docout.writeFloat("x4_maxTranslationalAcceleration", x4_maxTranslationalAcceleration[7]);
|
|
}
|
|
/* x24_ */
|
|
if (auto v = __dna_docout.enterSubVector("x24_"))
|
|
{
|
|
/* x24_[0] */
|
|
__dna_docout.writeFloat("x24_", x24_[0]);
|
|
/* x24_[1] */
|
|
__dna_docout.writeFloat("x24_", x24_[1]);
|
|
/* x24_[2] */
|
|
__dna_docout.writeFloat("x24_", x24_[2]);
|
|
/* x24_[3] */
|
|
__dna_docout.writeFloat("x24_", x24_[3]);
|
|
/* x24_[4] */
|
|
__dna_docout.writeFloat("x24_", x24_[4]);
|
|
/* x24_[5] */
|
|
__dna_docout.writeFloat("x24_", x24_[5]);
|
|
/* x24_[6] */
|
|
__dna_docout.writeFloat("x24_", x24_[6]);
|
|
/* x24_[7] */
|
|
__dna_docout.writeFloat("x24_", x24_[7]);
|
|
}
|
|
/* x44_translationFriction */
|
|
if (auto v = __dna_docout.enterSubVector("x44_translationFriction"))
|
|
{
|
|
/* x44_translationFriction[0] */
|
|
__dna_docout.writeFloat("x44_translationFriction", x44_translationFriction[0]);
|
|
/* x44_translationFriction[1] */
|
|
__dna_docout.writeFloat("x44_translationFriction", x44_translationFriction[1]);
|
|
/* x44_translationFriction[2] */
|
|
__dna_docout.writeFloat("x44_translationFriction", x44_translationFriction[2]);
|
|
/* x44_translationFriction[3] */
|
|
__dna_docout.writeFloat("x44_translationFriction", x44_translationFriction[3]);
|
|
/* x44_translationFriction[4] */
|
|
__dna_docout.writeFloat("x44_translationFriction", x44_translationFriction[4]);
|
|
/* x44_translationFriction[5] */
|
|
__dna_docout.writeFloat("x44_translationFriction", x44_translationFriction[5]);
|
|
/* x44_translationFriction[6] */
|
|
__dna_docout.writeFloat("x44_translationFriction", x44_translationFriction[6]);
|
|
/* x44_translationFriction[7] */
|
|
__dna_docout.writeFloat("x44_translationFriction", x44_translationFriction[7]);
|
|
}
|
|
/* x64_ */
|
|
if (auto v = __dna_docout.enterSubVector("x64_"))
|
|
{
|
|
/* x64_[0] */
|
|
__dna_docout.writeFloat("x64_", x64_[0]);
|
|
/* x64_[1] */
|
|
__dna_docout.writeFloat("x64_", x64_[1]);
|
|
/* x64_[2] */
|
|
__dna_docout.writeFloat("x64_", x64_[2]);
|
|
/* x64_[3] */
|
|
__dna_docout.writeFloat("x64_", x64_[3]);
|
|
/* x64_[4] */
|
|
__dna_docout.writeFloat("x64_", x64_[4]);
|
|
/* x64_[5] */
|
|
__dna_docout.writeFloat("x64_", x64_[5]);
|
|
/* x64_[6] */
|
|
__dna_docout.writeFloat("x64_", x64_[6]);
|
|
/* x64_[7] */
|
|
__dna_docout.writeFloat("x64_", x64_[7]);
|
|
}
|
|
/* x84_ */
|
|
if (auto v = __dna_docout.enterSubVector("x84_"))
|
|
{
|
|
/* x84_[0] */
|
|
__dna_docout.writeFloat("x84_", x84_[0]);
|
|
/* x84_[1] */
|
|
__dna_docout.writeFloat("x84_", x84_[1]);
|
|
/* x84_[2] */
|
|
__dna_docout.writeFloat("x84_", x84_[2]);
|
|
/* x84_[3] */
|
|
__dna_docout.writeFloat("x84_", x84_[3]);
|
|
/* x84_[4] */
|
|
__dna_docout.writeFloat("x84_", x84_[4]);
|
|
/* x84_[5] */
|
|
__dna_docout.writeFloat("x84_", x84_[5]);
|
|
/* x84_[6] */
|
|
__dna_docout.writeFloat("x84_", x84_[6]);
|
|
/* x84_[7] */
|
|
__dna_docout.writeFloat("x84_", x84_[7]);
|
|
}
|
|
/* xa4_translationMaxSpeed */
|
|
if (auto v = __dna_docout.enterSubVector("xa4_translationMaxSpeed"))
|
|
{
|
|
/* xa4_translationMaxSpeed[0] */
|
|
__dna_docout.writeFloat("xa4_translationMaxSpeed", xa4_translationMaxSpeed[0]);
|
|
/* xa4_translationMaxSpeed[1] */
|
|
__dna_docout.writeFloat("xa4_translationMaxSpeed", xa4_translationMaxSpeed[1]);
|
|
/* xa4_translationMaxSpeed[2] */
|
|
__dna_docout.writeFloat("xa4_translationMaxSpeed", xa4_translationMaxSpeed[2]);
|
|
/* xa4_translationMaxSpeed[3] */
|
|
__dna_docout.writeFloat("xa4_translationMaxSpeed", xa4_translationMaxSpeed[3]);
|
|
/* xa4_translationMaxSpeed[4] */
|
|
__dna_docout.writeFloat("xa4_translationMaxSpeed", xa4_translationMaxSpeed[4]);
|
|
/* xa4_translationMaxSpeed[5] */
|
|
__dna_docout.writeFloat("xa4_translationMaxSpeed", xa4_translationMaxSpeed[5]);
|
|
/* xa4_translationMaxSpeed[6] */
|
|
__dna_docout.writeFloat("xa4_translationMaxSpeed", xa4_translationMaxSpeed[6]);
|
|
/* xa4_translationMaxSpeed[7] */
|
|
__dna_docout.writeFloat("xa4_translationMaxSpeed", xa4_translationMaxSpeed[7]);
|
|
}
|
|
/* xc4_normalGravAccel */
|
|
__dna_docout.writeFloat("xc4_normalGravAccel", xc4_normalGravAccel);
|
|
/* xc8_fluidGravAccel */
|
|
__dna_docout.writeFloat("xc8_fluidGravAccel", xc8_fluidGravAccel);
|
|
/* xcc_ */
|
|
__dna_docout.writeFloat("xcc_", xcc_);
|
|
/* xd0_ */
|
|
__dna_docout.writeFloat("xd0_", xd0_);
|
|
/* xd4_ */
|
|
__dna_docout.writeFloat("xd4_", xd4_);
|
|
/* xd8_ */
|
|
__dna_docout.writeFloat("xd8_", xd8_);
|
|
/* xdc_ */
|
|
__dna_docout.writeFloat("xdc_", xdc_);
|
|
/* xe0_ */
|
|
__dna_docout.writeFloat("xe0_", xe0_);
|
|
/* xe4_ */
|
|
__dna_docout.writeFloat("xe4_", xe4_);
|
|
/* xe8_ */
|
|
__dna_docout.writeFloat("xe8_", xe8_);
|
|
/* xec_ */
|
|
__dna_docout.writeFloat("xec_", xec_);
|
|
/* xf0_ */
|
|
__dna_docout.writeFloat("xf0_", xf0_);
|
|
/* xf4_ */
|
|
__dna_docout.writeFloat("xf4_", xf4_);
|
|
/* xf8_ */
|
|
__dna_docout.writeFloat("xf8_", xf8_);
|
|
/* xfc_ */
|
|
__dna_docout.writeFloat("xfc_", xfc_);
|
|
/* x100_ */
|
|
__dna_docout.writeFloat("x100_", x100_);
|
|
/* x104_ */
|
|
__dna_docout.writeFloat("x104_", x104_);
|
|
/* x108_ */
|
|
__dna_docout.writeFloat("x108_", x108_);
|
|
/* x10c_ */
|
|
__dna_docout.writeFloat("x10c_", x10c_);
|
|
/* x110_ */
|
|
__dna_docout.writeFloat("x110_", x110_);
|
|
/* x114_ */
|
|
__dna_docout.writeFloat("x114_", x114_);
|
|
/* x118_ */
|
|
__dna_docout.writeFloat("x118_", x118_);
|
|
/* x11c_ */
|
|
__dna_docout.writeFloat("x11c_", x11c_);
|
|
/* x120_ */
|
|
__dna_docout.writeFloat("x120_", x120_);
|
|
/* x124_eyeOffset */
|
|
__dna_docout.writeFloat("x124_eyeOffset", x124_eyeOffset);
|
|
/* x128_ */
|
|
__dna_docout.writeFloat("x128_", x128_);
|
|
/* x12c_ */
|
|
__dna_docout.writeFloat("x12c_", x12c_);
|
|
/* x130_horizontalFreeLookAngleVel */
|
|
__dna_docout.writeFloat("x130_horizontalFreeLookAngleVel", x130_horizontalFreeLookAngleVel);
|
|
/* x134_verticalFreeLookAngleVel */
|
|
__dna_docout.writeFloat("x134_verticalFreeLookAngleVel", x134_verticalFreeLookAngleVel);
|
|
/* x138_freeLookSpeed */
|
|
__dna_docout.writeFloat("x138_freeLookSpeed", x138_freeLookSpeed);
|
|
/* x13c_freeLookSnapSpeed */
|
|
__dna_docout.writeFloat("x13c_freeLookSnapSpeed", x13c_freeLookSnapSpeed);
|
|
/* x140_ */
|
|
__dna_docout.writeFloat("x140_", x140_);
|
|
/* x144_freeLookCenteredThresholdAngle */
|
|
__dna_docout.writeFloat("x144_freeLookCenteredThresholdAngle", x144_freeLookCenteredThresholdAngle);
|
|
/* x148_freeLookCenteredTime */
|
|
__dna_docout.writeFloat("x148_freeLookCenteredTime", x148_freeLookCenteredTime);
|
|
/* x14c_ */
|
|
__dna_docout.writeFloat("x14c_", x14c_);
|
|
/* x150_leftDiv */
|
|
__dna_docout.writeFloat("x150_leftDiv", x150_leftDiv);
|
|
/* x154_rightDiv */
|
|
__dna_docout.writeFloat("x154_rightDiv", x154_rightDiv);
|
|
/* x228_24_freelookTurnsPlayer */
|
|
__dna_docout.writeBool("x228_24_freelookTurnsPlayer", x228_24_freelookTurnsPlayer);
|
|
/* x228_25_ */
|
|
__dna_docout.writeBool("x228_25_", x228_25_);
|
|
/* x228_26_ */
|
|
__dna_docout.writeBool("x228_26_", x228_26_);
|
|
/* x228_27_ */
|
|
__dna_docout.writeBool("x228_27_", x228_27_);
|
|
/* x228_28_enableFreeLook */
|
|
__dna_docout.writeBool("x228_28_enableFreeLook", x228_28_enableFreeLook);
|
|
/* x228_29_twoButtonsForFreeLook */
|
|
__dna_docout.writeBool("x228_29_twoButtonsForFreeLook", x228_29_twoButtonsForFreeLook);
|
|
/* x228_30_ */
|
|
__dna_docout.writeBool("x228_30_", x228_30_);
|
|
/* x228_31_ */
|
|
__dna_docout.writeBool("x228_31_", x228_31_);
|
|
/* x229_24_ */
|
|
__dna_docout.writeBool("x229_24_", x229_24_);
|
|
/* x229_25_aimWhenOrbitingPoint */
|
|
__dna_docout.writeBool("x229_25_aimWhenOrbitingPoint", x229_25_aimWhenOrbitingPoint);
|
|
/* x229_26_stayInFreeLookWhileFiring */
|
|
__dna_docout.writeBool("x229_26_stayInFreeLookWhileFiring", x229_26_stayInFreeLookWhileFiring);
|
|
/* x229_27_ */
|
|
__dna_docout.writeBool("x229_27_", x229_27_);
|
|
/* x229_28_ */
|
|
__dna_docout.writeBool("x229_28_", x229_28_);
|
|
/* x229_29_ */
|
|
__dna_docout.writeBool("x229_29_", x229_29_);
|
|
/* 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_ */
|
|
__dna_docout.writeBool("x22a_25_", x22a_25_);
|
|
/* x22a_26_firingCancelsCameraPitch */
|
|
__dna_docout.writeBool("x22a_26_firingCancelsCameraPitch", x22a_26_firingCancelsCameraPitch);
|
|
/* x22a_27_assistedAimingIgnoreHorizontal */
|
|
__dna_docout.writeBool("x22a_27_assistedAimingIgnoreHorizontal", x22a_27_assistedAimingIgnoreHorizontal);
|
|
/* x22a_28_assistedAimingIgnoreVertical */
|
|
__dna_docout.writeBool("x22a_28_assistedAimingIgnoreVertical", x22a_28_assistedAimingIgnoreVertical);
|
|
/* x22c_ */
|
|
__dna_docout.writeFloat("x22c_", x22c_);
|
|
/* x230_ */
|
|
__dna_docout.writeFloat("x230_", x230_);
|
|
/* x234_aimMaxDistance */
|
|
__dna_docout.writeFloat("x234_aimMaxDistance", x234_aimMaxDistance);
|
|
/* x238_ */
|
|
__dna_docout.writeFloat("x238_", x238_);
|
|
/* x23c_ */
|
|
__dna_docout.writeFloat("x23c_", x23c_);
|
|
/* x240_ */
|
|
__dna_docout.writeFloat("x240_", x240_);
|
|
/* x244_ */
|
|
__dna_docout.writeFloat("x244_", x244_);
|
|
/* x248_ */
|
|
__dna_docout.writeFloat("x248_", x248_);
|
|
/* x24c_aimThresholdDistance */
|
|
__dna_docout.writeFloat("x24c_aimThresholdDistance", x24c_aimThresholdDistance);
|
|
/* x250_ */
|
|
__dna_docout.writeFloat("x250_", x250_);
|
|
/* x254_ */
|
|
__dna_docout.writeFloat("x254_", x254_);
|
|
/* x258_aimBoxWidth */
|
|
__dna_docout.writeFloat("x258_aimBoxWidth", x258_aimBoxWidth);
|
|
/* x25c_aimBoxHeight */
|
|
__dna_docout.writeFloat("x25c_aimBoxHeight", x25c_aimBoxHeight);
|
|
/* x260_aimTargetTimer */
|
|
__dna_docout.writeFloat("x260_aimTargetTimer", x260_aimTargetTimer);
|
|
/* x264_aimAssistHorizontalAngle */
|
|
__dna_docout.writeFloat("x264_aimAssistHorizontalAngle", x264_aimAssistHorizontalAngle);
|
|
/* x268_aimAssistVerticalAngle */
|
|
__dna_docout.writeFloat("x268_aimAssistVerticalAngle", x268_aimAssistVerticalAngle);
|
|
/* x158_ */
|
|
if (auto v = __dna_docout.enterSubVector("x158_"))
|
|
{
|
|
/* x158_[0] */
|
|
__dna_docout.writeFloat("x158_", x158_[0]);
|
|
/* x158_[1] */
|
|
__dna_docout.writeFloat("x158_", x158_[1]);
|
|
/* x158_[2] */
|
|
__dna_docout.writeFloat("x158_", x158_[2]);
|
|
}
|
|
/* x164_ */
|
|
if (auto v = __dna_docout.enterSubVector("x164_"))
|
|
{
|
|
/* x164_[0] */
|
|
__dna_docout.writeFloat("x164_", x164_[0]);
|
|
/* x164_[1] */
|
|
__dna_docout.writeFloat("x164_", x164_[1]);
|
|
/* x164_[2] */
|
|
__dna_docout.writeFloat("x164_", x164_[2]);
|
|
}
|
|
/* x170_ */
|
|
if (auto v = __dna_docout.enterSubVector("x170_"))
|
|
{
|
|
/* x170_[0] */
|
|
__dna_docout.writeFloat("x170_", x170_[0]);
|
|
/* x170_[1] */
|
|
__dna_docout.writeFloat("x170_", x170_[1]);
|
|
/* x170_[2] */
|
|
__dna_docout.writeFloat("x170_", x170_[2]);
|
|
}
|
|
/* x17c_ */
|
|
__dna_docout.writeFloat("x17c_", x17c_);
|
|
/* x180_orbitNormalDistance */
|
|
__dna_docout.writeFloat("x180_orbitNormalDistance", x180_orbitNormalDistance);
|
|
/* x184_ */
|
|
__dna_docout.writeFloat("x184_", x184_);
|
|
/* x188_maxUpwardOrbitLookAngle */
|
|
__dna_docout.writeFloat("x188_maxUpwardOrbitLookAngle", x188_maxUpwardOrbitLookAngle);
|
|
/* x18c_maxDownwardOrbitLookAngle */
|
|
__dna_docout.writeFloat("x18c_maxDownwardOrbitLookAngle", x18c_maxDownwardOrbitLookAngle);
|
|
/* x190_orbitHorizAngle */
|
|
__dna_docout.writeFloat("x190_orbitHorizAngle", x190_orbitHorizAngle);
|
|
/* x194_ */
|
|
__dna_docout.writeFloat("x194_", x194_);
|
|
/* x198_ */
|
|
__dna_docout.writeFloat("x198_", x198_);
|
|
/* x19c_ */
|
|
__dna_docout.writeFloat("x19c_", x19c_);
|
|
/* x1a0_ */
|
|
__dna_docout.writeFloat("x1a0_", x1a0_);
|
|
/* x1a4_orbitDistanceThreshold */
|
|
__dna_docout.writeFloat("x1a4_orbitDistanceThreshold", x1a4_orbitDistanceThreshold);
|
|
/* x1a8_orbitScreenBoxHalfExtentX */
|
|
if (auto v = __dna_docout.enterSubVector("x1a8_orbitScreenBoxHalfExtentX"))
|
|
{
|
|
/* x1a8_orbitScreenBoxHalfExtentX[0] */
|
|
__dna_docout.writeUint32("x1a8_orbitScreenBoxHalfExtentX", x1a8_orbitScreenBoxHalfExtentX[0]);
|
|
/* x1a8_orbitScreenBoxHalfExtentX[1] */
|
|
__dna_docout.writeUint32("x1a8_orbitScreenBoxHalfExtentX", x1a8_orbitScreenBoxHalfExtentX[1]);
|
|
}
|
|
/* x1b0_orbitScreenBoxHalfExtentY */
|
|
if (auto v = __dna_docout.enterSubVector("x1b0_orbitScreenBoxHalfExtentY"))
|
|
{
|
|
/* x1b0_orbitScreenBoxHalfExtentY[0] */
|
|
__dna_docout.writeUint32("x1b0_orbitScreenBoxHalfExtentY", x1b0_orbitScreenBoxHalfExtentY[0]);
|
|
/* x1b0_orbitScreenBoxHalfExtentY[1] */
|
|
__dna_docout.writeUint32("x1b0_orbitScreenBoxHalfExtentY", x1b0_orbitScreenBoxHalfExtentY[1]);
|
|
}
|
|
/* x1b8_orbitScreenBoxCenterX */
|
|
if (auto v = __dna_docout.enterSubVector("x1b8_orbitScreenBoxCenterX"))
|
|
{
|
|
/* x1b8_orbitScreenBoxCenterX[0] */
|
|
__dna_docout.writeUint32("x1b8_orbitScreenBoxCenterX", x1b8_orbitScreenBoxCenterX[0]);
|
|
/* x1b8_orbitScreenBoxCenterX[1] */
|
|
__dna_docout.writeUint32("x1b8_orbitScreenBoxCenterX", x1b8_orbitScreenBoxCenterX[1]);
|
|
}
|
|
/* x1c0_orbitScreenBoxCenterY */
|
|
if (auto v = __dna_docout.enterSubVector("x1c0_orbitScreenBoxCenterY"))
|
|
{
|
|
/* x1c0_orbitScreenBoxCenterY[0] */
|
|
__dna_docout.writeUint32("x1c0_orbitScreenBoxCenterY", x1c0_orbitScreenBoxCenterY[0]);
|
|
/* x1c0_orbitScreenBoxCenterY[1] */
|
|
__dna_docout.writeUint32("x1c0_orbitScreenBoxCenterY", x1c0_orbitScreenBoxCenterY[1]);
|
|
}
|
|
/* x1c8_orbitZoneIdealX */
|
|
if (auto v = __dna_docout.enterSubVector("x1c8_orbitZoneIdealX"))
|
|
{
|
|
/* x1c8_orbitZoneIdealX[0] */
|
|
__dna_docout.writeUint32("x1c8_orbitZoneIdealX", x1c8_orbitZoneIdealX[0]);
|
|
/* x1c8_orbitZoneIdealX[1] */
|
|
__dna_docout.writeUint32("x1c8_orbitZoneIdealX", x1c8_orbitZoneIdealX[1]);
|
|
}
|
|
/* x1d0_orbitZoneIdealY */
|
|
if (auto v = __dna_docout.enterSubVector("x1d0_orbitZoneIdealY"))
|
|
{
|
|
/* x1d0_orbitZoneIdealY[0] */
|
|
__dna_docout.writeUint32("x1d0_orbitZoneIdealY", x1d0_orbitZoneIdealY[0]);
|
|
/* x1d0_orbitZoneIdealY[1] */
|
|
__dna_docout.writeUint32("x1d0_orbitZoneIdealY", x1d0_orbitZoneIdealY[1]);
|
|
}
|
|
/* x1d8_ */
|
|
__dna_docout.writeFloat("x1d8_orbitNearX", x1d8_orbitNearX);
|
|
/* x1dc_ */
|
|
__dna_docout.writeFloat("x1dc_orbitNearZ", x1dc_orbitNearZ);
|
|
/* x1e0_ */
|
|
__dna_docout.writeFloat("x1e0_", x1e0_);
|
|
/* x1e4_ */
|
|
__dna_docout.writeFloat("x1e4_", x1e4_);
|
|
/* x1e8_ */
|
|
__dna_docout.writeFloat("x1e8_", x1e8_);
|
|
/* x1ec_orbitZRange */
|
|
__dna_docout.writeFloat("x1ec_orbitZRange", x1ec_orbitZRange);
|
|
/* x1f0_ */
|
|
__dna_docout.writeFloat("x1f0_", x1f0_);
|
|
/* x1f4_ */
|
|
__dna_docout.writeFloat("x1f4_", x1f4_);
|
|
/* x1f8_ */
|
|
__dna_docout.writeFloat("x1f8_", x1f8_);
|
|
/* x1fc_ */
|
|
__dna_docout.writeFloat("x1fc_", x1fc_);
|
|
/* x200_24_ */
|
|
__dna_docout.writeBool("x200_24_", x200_24_);
|
|
/* x200_25_ */
|
|
__dna_docout.writeBool("x200_25_", x200_25_);
|
|
/* x204_ */
|
|
__dna_docout.writeFloat("x204_", x204_);
|
|
/* x208_ */
|
|
__dna_docout.writeFloat("x208_", x208_);
|
|
/* x20c_ */
|
|
__dna_docout.writeFloat("x20c_", x20c_);
|
|
/* x210_ */
|
|
__dna_docout.writeFloat("x210_", x210_);
|
|
/* x214_ */
|
|
__dna_docout.writeFloat("x214_", x214_);
|
|
/* x218_scanningRange */
|
|
__dna_docout.writeFloat("x218_scanningRange", x218_scanningRange);
|
|
/* x21c_24_scanRetention */
|
|
__dna_docout.writeBool("x21c_24_scanRetention", x21c_24_scanRetention);
|
|
/* x21c_25_scanFreezesGame */
|
|
__dna_docout.writeBool("x21c_25_scanFreezesGame", x21c_25_scanFreezesGame);
|
|
/* x21c_26_orbitWhileScanning */
|
|
__dna_docout.writeBool("x21c_26_orbitWhileScanning", x21c_26_orbitWhileScanning);
|
|
/* x220_ */
|
|
__dna_docout.writeFloat("x220_", x220_);
|
|
/* x224_scanningFrameSenseRange */
|
|
__dna_docout.writeFloat("x224_scanningFrameSenseRange", x224_scanningFrameSenseRange);
|
|
/* x2a0_orbitDistanceMax */
|
|
__dna_docout.writeFloat("x2a0_orbitDistanceMax", x2a0_orbitDistanceMax);
|
|
/* x2a4_grappleSwingLength */
|
|
__dna_docout.writeFloat("x2a4_grappleSwingLength", x2a4_grappleSwingLength);
|
|
/* x2a8_grappleSwingPeriod */
|
|
__dna_docout.writeFloat("x2a8_grappleSwingPeriod", x2a8_grappleSwingPeriod);
|
|
/* x2ac_grapplePullSpeedMin */
|
|
__dna_docout.writeFloat("x2ac_grapplePullSpeedMin", x2ac_grapplePullSpeedMin);
|
|
/* x2b0_ */
|
|
__dna_docout.writeFloat("x2b0_", x2b0_);
|
|
/* x2b4_maxGrappleLockedTurnAlignDistance */
|
|
__dna_docout.writeFloat("x2b4_maxGrappleLockedTurnAlignDistance", x2b4_maxGrappleLockedTurnAlignDistance);
|
|
/* x2b8_grapplePullSpeedProportion */
|
|
__dna_docout.writeFloat("x2b8_grapplePullSpeedProportion", x2b8_grapplePullSpeedProportion);
|
|
/* x2bc_grapplePullSpeedMax */
|
|
__dna_docout.writeFloat("x2bc_grapplePullSpeedMax", x2bc_grapplePullSpeedMax);
|
|
/* x2c0_grappleLookCenterSpeed */
|
|
__dna_docout.writeFloat("x2c0_grappleLookCenterSpeed", x2c0_grappleLookCenterSpeed);
|
|
/* x2c4_maxGrappleTurnSpeed */
|
|
__dna_docout.writeFloat("x2c4_maxGrappleTurnSpeed", x2c4_maxGrappleTurnSpeed);
|
|
/* x2c8_grappleJumpForce */
|
|
__dna_docout.writeFloat("x2c8_grappleJumpForce", x2c8_grappleJumpForce);
|
|
/* x2cc_grappleReleaseTime */
|
|
__dna_docout.writeFloat("x2cc_grappleReleaseTime", x2cc_grappleReleaseTime);
|
|
/* x2d0_grappleJumpMode */
|
|
__dna_docout.writeUint32("x2d0_grappleJumpMode", x2d0_grappleJumpMode);
|
|
/* x2d4_ */
|
|
__dna_docout.writeBool("x2d4_", x2d4_);
|
|
/* x2d4_ */
|
|
__dna_docout.writeBool("x2d5_", x2d5_invertGrappleTurn);
|
|
/* x2d8_ */
|
|
__dna_docout.writeFloat("x2d8_", x2d8_);
|
|
/* x2dc_ */
|
|
__dna_docout.writeFloat("x2dc_", x2dc_);
|
|
/* x2e0_ */
|
|
__dna_docout.writeFloat("x2e0_", x2e0_);
|
|
/* x2e4_ */
|
|
__dna_docout.writeFloat("x2e4_", x2e4_);
|
|
/* x26c_playerHeight */
|
|
__dna_docout.writeFloat("x26c_playerHeight", x26c_playerHeight);
|
|
/* x270_playerXYHalfExtent */
|
|
__dna_docout.writeFloat("x270_playerXYHalfExtent", x270_playerXYHalfExtent);
|
|
/* x274_ */
|
|
__dna_docout.writeFloat("x274_", x274_);
|
|
/* x278_ */
|
|
__dna_docout.writeFloat("x278_", x278_);
|
|
/* x27c_playerBallHalfExtent */
|
|
__dna_docout.writeFloat("x27c_playerBallHalfExtent", x27c_playerBallHalfExtent);
|
|
/* x280_ */
|
|
__dna_docout.writeFloat("x280_", x280_);
|
|
/* x284_ */
|
|
__dna_docout.writeFloat("x284_", x284_);
|
|
/* x288_ */
|
|
__dna_docout.writeFloat("x288_", x288_);
|
|
/* x28c_ */
|
|
__dna_docout.writeFloat("x28c_", x28c_);
|
|
/* x290_ */
|
|
__dna_docout.writeFloat("x290_", x290_);
|
|
/* x294_ */
|
|
__dna_docout.writeFloat("x294_", x294_);
|
|
/* x298_ */
|
|
__dna_docout.writeFloat("x298_", x298_);
|
|
/* x29c_ */
|
|
__dna_docout.writeFloat("x29c_", x29c_);
|
|
/* x2e8_ */
|
|
__dna_docout.writeFloat("x2e8_", x2e8_);
|
|
/* x2ec_ */
|
|
__dna_docout.writeFloat("x2ec_", x2ec_);
|
|
/* x2f0_ */
|
|
__dna_docout.writeFloat("x2f0_", x2f0_);
|
|
/* x2f4_ */
|
|
__dna_docout.writeBool("x2f4_", x2f4_);
|
|
/* x2f8_frozenTimeout */
|
|
__dna_docout.writeFloat("x2f8_frozenTimeout", x2f8_frozenTimeout);
|
|
/* x2fc_iceBreakJumpCount */
|
|
__dna_docout.writeUint32("x2fc_iceBreakJumpCount", x2fc_iceBreakJumpCount);
|
|
/* x300_variaDamageReduction */
|
|
__dna_docout.writeFloat("x300_variaDamageReduction", x300_variaDamageReduction);
|
|
/* x304_gravityDamageReduction */
|
|
__dna_docout.writeFloat("x304_gravityDamageReduction", x304_gravityDamageReduction);
|
|
/* x308_phazonDamageReduction */
|
|
__dna_docout.writeFloat("x308_phazonDamageReduction", x308_phazonDamageReduction);
|
|
}
|
|
|
|
void CTweakPlayer::FixupValues()
|
|
{
|
|
x130_horizontalFreeLookAngleVel = zeus::degToRad(x130_horizontalFreeLookAngleVel);
|
|
x134_verticalFreeLookAngleVel = zeus::degToRad(x134_verticalFreeLookAngleVel);
|
|
x138_freeLookSpeed = zeus::degToRad(x138_freeLookSpeed);
|
|
x13c_freeLookSnapSpeed = zeus::degToRad(x13c_freeLookSnapSpeed);
|
|
x140_ = zeus::degToRad(x140_);
|
|
x144_freeLookCenteredThresholdAngle = zeus::degToRad(x144_freeLookCenteredThresholdAngle);
|
|
x23c_ = zeus::degToRad(x23c_);
|
|
x240_ = zeus::degToRad(x240_);
|
|
x244_ = zeus::degToRad(x244_);
|
|
x248_ = zeus::degToRad(x248_);
|
|
x250_ = zeus::degToRad(x250_);
|
|
x264_aimAssistHorizontalAngle = zeus::degToRad(x264_aimAssistHorizontalAngle);
|
|
x268_aimAssistVerticalAngle = zeus::degToRad(x268_aimAssistVerticalAngle);
|
|
x17c_ = zeus::degToRad(x17c_);
|
|
x184_ = zeus::degToRad(x184_);
|
|
x188_maxUpwardOrbitLookAngle = zeus::degToRad(x188_maxUpwardOrbitLookAngle);
|
|
x18c_maxDownwardOrbitLookAngle = zeus::degToRad(x18c_maxDownwardOrbitLookAngle);
|
|
x190_orbitHorizAngle = zeus::degToRad(x190_orbitHorizAngle);
|
|
x194_ = zeus::degToRad(x194_);
|
|
x198_ = zeus::degToRad(x198_);
|
|
x1f0_ = zeus::degToRad(x1f0_);
|
|
x1f4_ = zeus::degToRad(x1f4_);
|
|
x2b0_ = zeus::degToRad(x2b0_);
|
|
x2c0_grappleLookCenterSpeed = zeus::degToRad(x2c0_grappleLookCenterSpeed);
|
|
x280_ = zeus::degToRad(x280_);
|
|
x284_ = zeus::degToRad(x284_);
|
|
x290_ = zeus::degToRad(x290_);
|
|
x29c_ = zeus::degToRad(x29c_);
|
|
}
|
|
|
|
const char* CTweakPlayer::DNAType()
|
|
{
|
|
return "DataSpec::DNAMP1::CTweakPlayer";
|
|
}
|
|
|
|
size_t CTweakPlayer::binarySize(size_t __isz) const
|
|
{
|
|
return __isz + 785;
|
|
}
|
|
}
|
|
}
|