metaforce/DataSpec/DNAMP1/Tweaks/CTweakPlayer.cpp

2153 lines
106 KiB
C++
Raw Normal View History

#include "CTweakPlayer.hpp"
#include "zeus/Math.hpp"
2020-09-28 05:43:46 +00:00
#include <hecl/CVar.hpp>
#include <hecl/CVarManager.hpp>
#define DEFINE_CVAR_GLOBAL(name) \
constexpr std::string_view sk##name = std::string_view("tweak.player." #name); \
hecl::CVar* tw_##name = nullptr;
#define CREATE_CVAR(name, help, value, flags) \
tw_##name = mgr->findOrMakeCVar(sk##name, help, value, flags); \
if (tw_##name->wasDeserialized()) { \
tw_##name->toValue(value); \
} \
tw_##name->addListener([this](hecl::CVar* cv) { _tweakListener(cv); });
2018-02-22 07:24:51 +00:00
2020-09-28 05:43:46 +00:00
#define UPDATE_CVAR(name, cv, value) \
if ((cv) == tw_##name) { \
(cv)->toValue(value); \
return; \
}
namespace DataSpec::DNAMP1 {
namespace {
static constexpr hecl::CVar::EFlags skDefaultFlags =
hecl::CVar::EFlags::Game | hecl::CVar::EFlags::Cheat | hecl::CVar::EFlags::Archive;
DEFINE_CVAR_GLOBAL(MaxTranslationAccelerationNormal);
DEFINE_CVAR_GLOBAL(MaxTranslationAccelerationAir);
DEFINE_CVAR_GLOBAL(MaxTranslationAccelerationIce);
DEFINE_CVAR_GLOBAL(MaxTranslationAccelerationOrganic);
DEFINE_CVAR_GLOBAL(MaxTranslationAccelerationWater);
DEFINE_CVAR_GLOBAL(MaxTranslationAccelerationLava);
DEFINE_CVAR_GLOBAL(MaxTranslationAccelerationPhazon);
DEFINE_CVAR_GLOBAL(MaxTranslationAccelerationShrubbery);
DEFINE_CVAR_GLOBAL(MaxRotationAccelerationNormal);
DEFINE_CVAR_GLOBAL(MaxRotationAccelerationAir);
DEFINE_CVAR_GLOBAL(MaxRotationAccelerationIce);
DEFINE_CVAR_GLOBAL(MaxRotationAccelerationOrganic);
DEFINE_CVAR_GLOBAL(MaxRotationAccelerationWater);
DEFINE_CVAR_GLOBAL(MaxRotationAccelerationLava);
DEFINE_CVAR_GLOBAL(MaxRotationAccelerationPhazon);
DEFINE_CVAR_GLOBAL(MaxRotationAccelerationShrubbery);
DEFINE_CVAR_GLOBAL(TranslationFrictionNormal);
DEFINE_CVAR_GLOBAL(TranslationFrictionAir);
DEFINE_CVAR_GLOBAL(TranslationFrictionIce);
DEFINE_CVAR_GLOBAL(TranslationFrictionOrganic);
DEFINE_CVAR_GLOBAL(TranslationFrictionWater);
DEFINE_CVAR_GLOBAL(TranslationFrictionLava);
DEFINE_CVAR_GLOBAL(TranslationFrictionPhazon);
DEFINE_CVAR_GLOBAL(TranslationFrictionShrubbery);
DEFINE_CVAR_GLOBAL(RotationFrictionNormal);
DEFINE_CVAR_GLOBAL(RotationFrictionAir);
DEFINE_CVAR_GLOBAL(RotationFrictionIce);
DEFINE_CVAR_GLOBAL(RotationFrictionOrganic);
DEFINE_CVAR_GLOBAL(RotationFrictionWater);
DEFINE_CVAR_GLOBAL(RotationFrictionLava);
DEFINE_CVAR_GLOBAL(RotationFrictionPhazon);
DEFINE_CVAR_GLOBAL(RotationFrictionShrubbery);
DEFINE_CVAR_GLOBAL(RotationMaxSpeedNormal);
DEFINE_CVAR_GLOBAL(RotationMaxSpeedAir);
DEFINE_CVAR_GLOBAL(RotationMaxSpeedIce);
DEFINE_CVAR_GLOBAL(RotationMaxSpeedOrganic);
DEFINE_CVAR_GLOBAL(RotationMaxSpeedWater);
DEFINE_CVAR_GLOBAL(RotationMaxSpeedLava);
DEFINE_CVAR_GLOBAL(RotationMaxSpeedPhazon);
DEFINE_CVAR_GLOBAL(RotationMaxSpeedShrubbery);
DEFINE_CVAR_GLOBAL(TranslationMaxSpeedNormal);
DEFINE_CVAR_GLOBAL(TranslationMaxSpeedAir);
DEFINE_CVAR_GLOBAL(TranslationMaxSpeedIce);
DEFINE_CVAR_GLOBAL(TranslationMaxSpeedOrganic);
DEFINE_CVAR_GLOBAL(TranslationMaxSpeedWater);
DEFINE_CVAR_GLOBAL(TranslationMaxSpeedLava);
DEFINE_CVAR_GLOBAL(TranslationMaxSpeedPhazon);
DEFINE_CVAR_GLOBAL(TranslationMaxSpeedShrubbery);
DEFINE_CVAR_GLOBAL(NormalGravityAcceleration);
DEFINE_CVAR_GLOBAL(FluidGravityAcceleration);
DEFINE_CVAR_GLOBAL(VerticalJumpAcceleration);
DEFINE_CVAR_GLOBAL(HorizontalJumpAcceleration);
DEFINE_CVAR_GLOBAL(WaterJumpFactor);
DEFINE_CVAR_GLOBAL(WaterBallJumpFactor);
DEFINE_CVAR_GLOBAL(LavaJumpFactor);
DEFINE_CVAR_GLOBAL(LavaBallJumpFactor);
DEFINE_CVAR_GLOBAL(PhazonJumpFactor);
DEFINE_CVAR_GLOBAL(PhazonBallJumpFactor);
DEFINE_CVAR_GLOBAL(AllowedJumpTime);
DEFINE_CVAR_GLOBAL(AllowedDoubleJumpTime);
DEFINE_CVAR_GLOBAL(MinimumJumpTime);
DEFINE_CVAR_GLOBAL(MinimumDoubleJumpTime);
} // namespace
2018-02-22 07:24:51 +00:00
template <>
2018-12-08 05:30:43 +00:00
void CTweakPlayer::Enumerate<BigDNA::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_maxRotationalAcceleration[0] */
x24_maxRotationalAcceleration[0] = __dna_reader.readFloatBig();
/* x24_maxRotationalAcceleration[1] */
x24_maxRotationalAcceleration[1] = __dna_reader.readFloatBig();
/* x24_maxRotationalAcceleration[2] */
x24_maxRotationalAcceleration[2] = __dna_reader.readFloatBig();
/* x24_maxRotationalAcceleration[3] */
x24_maxRotationalAcceleration[3] = __dna_reader.readFloatBig();
/* x24_maxRotationalAcceleration[4] */
x24_maxRotationalAcceleration[4] = __dna_reader.readFloatBig();
/* x24_maxRotationalAcceleration[5] */
x24_maxRotationalAcceleration[5] = __dna_reader.readFloatBig();
/* x24_maxRotationalAcceleration[6] */
x24_maxRotationalAcceleration[6] = __dna_reader.readFloatBig();
/* x24_maxRotationalAcceleration[7] */
x24_maxRotationalAcceleration[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_rotationFriction[0] */
x64_rotationFriction[0] = __dna_reader.readFloatBig();
/* x64_rotationFriction[1] */
x64_rotationFriction[1] = __dna_reader.readFloatBig();
/* x64_rotationFriction[2] */
x64_rotationFriction[2] = __dna_reader.readFloatBig();
/* x64_rotationFriction[3] */
x64_rotationFriction[3] = __dna_reader.readFloatBig();
/* x64_rotationFriction[4] */
x64_rotationFriction[4] = __dna_reader.readFloatBig();
/* x64_rotationFriction[5] */
x64_rotationFriction[5] = __dna_reader.readFloatBig();
/* x64_rotationFriction[6] */
x64_rotationFriction[6] = __dna_reader.readFloatBig();
/* x64_rotationFriction[7] */
x64_rotationFriction[7] = __dna_reader.readFloatBig();
/* x84_rotationMaxSpeed[0] */
x84_rotationMaxSpeed[0] = __dna_reader.readFloatBig();
/* x84_rotationMaxSpeed[1] */
x84_rotationMaxSpeed[1] = __dna_reader.readFloatBig();
/* x84_rotationMaxSpeed[2] */
x84_rotationMaxSpeed[2] = __dna_reader.readFloatBig();
/* x84_rotationMaxSpeed[3] */
x84_rotationMaxSpeed[3] = __dna_reader.readFloatBig();
/* x84_rotationMaxSpeed[4] */
x84_rotationMaxSpeed[4] = __dna_reader.readFloatBig();
/* x84_rotationMaxSpeed[5] */
x84_rotationMaxSpeed[5] = __dna_reader.readFloatBig();
/* x84_rotationMaxSpeed[6] */
x84_rotationMaxSpeed[6] = __dna_reader.readFloatBig();
/* x84_rotationMaxSpeed[7] */
x84_rotationMaxSpeed[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_verticalJumpAccel */
xcc_verticalJumpAccel = __dna_reader.readFloatBig();
/* xd0_horizontalJumpAccel */
xd0_horizontalJumpAccel = __dna_reader.readFloatBig();
/* xd4_verticalDoubleJumpAccel */
xd4_verticalDoubleJumpAccel = __dna_reader.readFloatBig();
/* xd8_horizontalDoubleJumpAccel */
xd8_horizontalDoubleJumpAccel = __dna_reader.readFloatBig();
/* xdc_waterJumpFactor */
xdc_waterJumpFactor = __dna_reader.readFloatBig();
/* xe0_waterBallJumpFactor */
xe0_waterBallJumpFactor = __dna_reader.readFloatBig();
/* xe4_lavaJumpFactor */
xe4_lavaJumpFactor = __dna_reader.readFloatBig();
/* xe8_lavaBallJumpFactor */
xe8_lavaBallJumpFactor = __dna_reader.readFloatBig();
/* xec_phazonJumpFactor */
xec_phazonJumpFactor = __dna_reader.readFloatBig();
/* xf0_phazonBallJumpFactor */
xf0_phazonBallJumpFactor = __dna_reader.readFloatBig();
/* xf4_allowedJumpTime */
xf4_allowedJumpTime = __dna_reader.readFloatBig();
/* xf8_allowedDoubleJumpTime */
xf8_allowedDoubleJumpTime = __dna_reader.readFloatBig();
/* xfc_minDoubleJumpWindow */
xfc_minDoubleJumpWindow = __dna_reader.readFloatBig();
/* x100_maxDoubleJumpWindow */
x100_maxDoubleJumpWindow = __dna_reader.readFloatBig();
/* x104_ */
x104_ = __dna_reader.readFloatBig();
/* x108_minJumpTime */
x108_minJumpTime = __dna_reader.readFloatBig();
/* x10c_minDoubleJumpTime */
x10c_minDoubleJumpTime = __dna_reader.readFloatBig();
/* x110_allowedLedgeTime */
x110_allowedLedgeTime = __dna_reader.readFloatBig();
/* x114_doubleJumpImpulse */
x114_doubleJumpImpulse = __dna_reader.readFloatBig();
/* x118_backwardsForceMultiplier */
x118_backwardsForceMultiplier = __dna_reader.readFloatBig();
/* x11c_bombJumpRadius */
x11c_bombJumpRadius = __dna_reader.readFloatBig();
/* x120_bombJumpHeight */
x120_bombJumpHeight = __dna_reader.readFloatBig();
/* x124_eyeOffset */
x124_eyeOffset = __dna_reader.readFloatBig();
/* x128_turnSpeedMultiplier */
x128_turnSpeedMultiplier = __dna_reader.readFloatBig();
/* x12c_freeLookTurnSpeedMultiplier */
x12c_freeLookTurnSpeedMultiplier = __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_freeLookDampenFactor */
x14c_freeLookDampenFactor = __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_moveDuringFreeLook */
x228_27_moveDuringFreeLook = __dna_reader.readBool();
/* x228_28_holdButtonsForFreeLook */
x228_28_holdButtonsForFreeLook = __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_orbitFixedOffset */
x229_29_orbitFixedOffset = __dna_reader.readBool();
/* x229_30_gunButtonTogglesHolster */
x229_30_gunButtonTogglesHolster = __dna_reader.readBool();
/* x229_31_gunNotFiringHolstersGun */
x229_31_gunNotFiringHolstersGun = __dna_reader.readBool();
/* x22a_24_fallingDoubleJump */
x22a_24_fallingDoubleJump = __dna_reader.readBool();
/* x22a_25_impulseDoubleJump */
x22a_25_impulseDoubleJump = __dna_reader.readBool();
/* x22a_26_firingCancelsCameraPitch */
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_orbitMinDistance[0] */
x158_orbitMinDistance[0] = __dna_reader.readFloatBig();
/* x164_orbitNormalDistance[0] */
x164_orbitNormalDistance[0] = __dna_reader.readFloatBig();
/* x170_orbitMaxDistance[0] */
x170_orbitMaxDistance[0] = __dna_reader.readFloatBig();
/* x158_orbitMinDistance[1] */
x158_orbitMinDistance[1] = __dna_reader.readFloatBig();
/* x164_orbitNormalDistance[1] */
x164_orbitNormalDistance[1] = __dna_reader.readFloatBig();
/* x170_orbitMaxDistance[1] */
x170_orbitMaxDistance[1] = __dna_reader.readFloatBig();
/* x158_orbitMinDistance[2] */
x158_orbitMinDistance[2] = __dna_reader.readFloatBig();
/* x164_orbitNormalDistance[2] */
x164_orbitNormalDistance[2] = __dna_reader.readFloatBig();
/* x170_orbitMaxDistance[2] */
x170_orbitMaxDistance[2] = __dna_reader.readFloatBig();
/* x17c_ */
x17c_ = __dna_reader.readFloatBig();
/* x180_orbitModeTimer */
x180_orbitModeTimer = __dna_reader.readFloatBig();
/* x184_orbitCameraSpeed */
x184_orbitCameraSpeed = __dna_reader.readFloatBig();
/* x188_orbitUpperAngle */
x188_orbitUpperAngle = __dna_reader.readFloatBig();
/* x18c_orbitLowerAngle */
x18c_orbitLowerAngle = __dna_reader.readFloatBig();
/* x190_orbitHorizAngle */
x190_orbitHorizAngle = __dna_reader.readFloatBig();
/* x194_ */
x194_ = __dna_reader.readFloatBig();
/* x198_ */
x198_ = __dna_reader.readFloatBig();
/* x19c_orbitMaxTargetDistance */
x19c_orbitMaxTargetDistance = __dna_reader.readFloatBig();
/* x1a0_orbitMaxLockDistance */
x1a0_orbitMaxLockDistance = __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_orbitFixedOffsetZDiff */
x1e8_orbitFixedOffsetZDiff = __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_orbitPreventionTime */
x1fc_orbitPreventionTime = __dna_reader.readFloatBig();
/* x200_24_dashEnabled */
x200_24_dashEnabled = __dna_reader.readBool();
/* x200_25_dashOnButtonRelease */
x200_25_dashOnButtonRelease = __dna_reader.readBool();
/* x204_dashButtonHoldCancelTime */
x204_dashButtonHoldCancelTime = __dna_reader.readFloatBig();
/* x208_dashStrafeInputThreshold */
x208_dashStrafeInputThreshold = __dna_reader.readFloatBig();
/* x20c_sidewaysDoubleJumpImpulse */
x20c_sidewaysDoubleJumpImpulse = __dna_reader.readFloatBig();
/* x210_sidewaysVerticalDoubleJumpAccel */
x210_sidewaysVerticalDoubleJumpAccel = __dna_reader.readFloatBig();
/* x214_sidewaysHorizontalDoubleJumpAccel */
x214_sidewaysHorizontalDoubleJumpAccel = __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_scanMaxTargetDistance */
x220_scanMaxTargetDistance = __dna_reader.readFloatBig();
/* x224_scanMaxLockDistance */
x224_scanMaxLockDistance = __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_grappleCameraSpeed */
x2b0_grappleCameraSpeed = __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_orbitReleaseBreaksGrapple */
x2d4_orbitReleaseBreaksGrapple = __dna_reader.readBool();
/* x2d5_invertGrappleTurn */
x2d5_invertGrappleTurn = __dna_reader.readBool();
/* x2d8_grappleBeamSpeed */
x2d8_grappleBeamSpeed = __dna_reader.readFloatBig();
/* x2dc_grappleBeamXWaveAmplitude */
x2dc_grappleBeamXWaveAmplitude = __dna_reader.readFloatBig();
/* x2e0_grappleBeamZWaveAmplitude */
x2e0_grappleBeamZWaveAmplitude = __dna_reader.readFloatBig();
/* x2e4_grappleBeamAnglePhaseDelta */
x2e4_grappleBeamAnglePhaseDelta = __dna_reader.readFloatBig();
/* x26c_playerHeight */
x26c_playerHeight = __dna_reader.readFloatBig();
/* x270_playerXYHalfExtent */
x270_playerXYHalfExtent = __dna_reader.readFloatBig();
/* x274_stepUpHeight */
x274_stepUpHeight = __dna_reader.readFloatBig();
/* x278_stepDownHeight */
x278_stepDownHeight = __dna_reader.readFloatBig();
/* x27c_playerBallHalfExtent */
x27c_playerBallHalfExtent = __dna_reader.readFloatBig();
/* x280_ */
x280_firstPersonCameraSpeed = __dna_reader.readFloatBig();
/* x284_ */
x284_ = __dna_reader.readFloatBig();
/* x288_jumpCameraPitchDownStart */
x288_jumpCameraPitchDownStart = __dna_reader.readFloatBig();
/* x28c_jumpCameraPitchDownFull */
x28c_jumpCameraPitchDownFull = __dna_reader.readFloatBig();
/* x290_jumpCameraPitchDownAngle */
x290_jumpCameraPitchDownAngle = __dna_reader.readFloatBig();
/* x294_fallCameraPitchDownStart */
x294_fallCameraPitchDownStart = __dna_reader.readFloatBig();
/* x298_fallCameraPitchDownFull */
x298_fallCameraPitchDownFull = __dna_reader.readFloatBig();
/* x29c_fallCameraPitchDownAngle */
x29c_fallCameraPitchDownAngle = __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();
}
2018-02-22 07:24:51 +00:00
template <>
2018-12-08 05:30:43 +00:00
void CTweakPlayer::Enumerate<BigDNA::Write>(athena::io::IStreamWriter& __dna_writer) {
/* 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_maxRotationalAcceleration[0] */
__dna_writer.writeFloatBig(x24_maxRotationalAcceleration[0]);
/* x24_maxRotationalAcceleration[1] */
__dna_writer.writeFloatBig(x24_maxRotationalAcceleration[1]);
/* x24_maxRotationalAcceleration[2] */
__dna_writer.writeFloatBig(x24_maxRotationalAcceleration[2]);
/* x24_maxRotationalAcceleration[3] */
__dna_writer.writeFloatBig(x24_maxRotationalAcceleration[3]);
/* x24_maxRotationalAcceleration[4] */
__dna_writer.writeFloatBig(x24_maxRotationalAcceleration[4]);
/* x24_maxRotationalAcceleration[5] */
__dna_writer.writeFloatBig(x24_maxRotationalAcceleration[5]);
/* x24_maxRotationalAcceleration[6] */
__dna_writer.writeFloatBig(x24_maxRotationalAcceleration[6]);
/* x24_maxRotationalAcceleration[7] */
__dna_writer.writeFloatBig(x24_maxRotationalAcceleration[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_rotationFriction[0] */
__dna_writer.writeFloatBig(x64_rotationFriction[0]);
/* x64_rotationFriction[1] */
__dna_writer.writeFloatBig(x64_rotationFriction[1]);
/* x64_rotationFriction[2] */
__dna_writer.writeFloatBig(x64_rotationFriction[2]);
/* x64_rotationFriction[3] */
__dna_writer.writeFloatBig(x64_rotationFriction[3]);
/* x64_rotationFriction[4] */
__dna_writer.writeFloatBig(x64_rotationFriction[4]);
/* x64_rotationFriction[5] */
__dna_writer.writeFloatBig(x64_rotationFriction[5]);
/* x64_rotationFriction[6] */
__dna_writer.writeFloatBig(x64_rotationFriction[6]);
/* x64_rotationFriction[7] */
__dna_writer.writeFloatBig(x64_rotationFriction[7]);
/* x84_rotationMaxSpeed[0] */
__dna_writer.writeFloatBig(x84_rotationMaxSpeed[0]);
/* x84_rotationMaxSpeed[1] */
__dna_writer.writeFloatBig(x84_rotationMaxSpeed[1]);
/* x84_rotationMaxSpeed[2] */
__dna_writer.writeFloatBig(x84_rotationMaxSpeed[2]);
/* x84_rotationMaxSpeed[3] */
__dna_writer.writeFloatBig(x84_rotationMaxSpeed[3]);
/* x84_rotationMaxSpeed[4] */
__dna_writer.writeFloatBig(x84_rotationMaxSpeed[4]);
/* x84_rotationMaxSpeed[5] */
__dna_writer.writeFloatBig(x84_rotationMaxSpeed[5]);
/* x84_rotationMaxSpeed[6] */
__dna_writer.writeFloatBig(x84_rotationMaxSpeed[6]);
/* x84_rotationMaxSpeed[7] */
__dna_writer.writeFloatBig(x84_rotationMaxSpeed[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_verticalJumpAccel */
__dna_writer.writeFloatBig(xcc_verticalJumpAccel);
/* xd0_horizontalJumpAccel */
__dna_writer.writeFloatBig(xd0_horizontalJumpAccel);
/* xd4_verticalDoubleJumpAccel */
__dna_writer.writeFloatBig(xd4_verticalDoubleJumpAccel);
/* xd8_horizontalDoubleJumpAccel */
__dna_writer.writeFloatBig(xd8_horizontalDoubleJumpAccel);
/* xdc_waterJumpFactor */
__dna_writer.writeFloatBig(xdc_waterJumpFactor);
/* xe0_waterBallJumpFactor */
__dna_writer.writeFloatBig(xe0_waterBallJumpFactor);
/* xe4_lavaJumpFactor */
__dna_writer.writeFloatBig(xe4_lavaJumpFactor);
/* xe8_lavaBallJumpFactor */
__dna_writer.writeFloatBig(xe8_lavaBallJumpFactor);
/* xec_phazonJumpFactor */
__dna_writer.writeFloatBig(xec_phazonJumpFactor);
/* xf0_phazonBallJumpFactor */
__dna_writer.writeFloatBig(xf0_phazonBallJumpFactor);
/* xf4_allowedJumpTime */
__dna_writer.writeFloatBig(xf4_allowedJumpTime);
/* xf8_allowedDoubleJumpTime */
__dna_writer.writeFloatBig(xf8_allowedDoubleJumpTime);
/* xfc_minDoubleJumpWindow */
__dna_writer.writeFloatBig(xfc_minDoubleJumpWindow);
/* x100_maxDoubleJumpWindow */
__dna_writer.writeFloatBig(x100_maxDoubleJumpWindow);
/* x104_ */
__dna_writer.writeFloatBig(x104_);
/* x108_minJumpTime */
__dna_writer.writeFloatBig(x108_minJumpTime);
/* x10c_minDoubleJumpTime */
__dna_writer.writeFloatBig(x10c_minDoubleJumpTime);
/* x110_allowedLedgeTime */
__dna_writer.writeFloatBig(x110_allowedLedgeTime);
/* x114_doubleJumpImpulse */
__dna_writer.writeFloatBig(x114_doubleJumpImpulse);
/* x118_backwardsForceMultiplier */
__dna_writer.writeFloatBig(x118_backwardsForceMultiplier);
/* x11c_bombJumpRadius */
__dna_writer.writeFloatBig(x11c_bombJumpRadius);
/* x120_bombJumpHeight */
__dna_writer.writeFloatBig(x120_bombJumpHeight);
/* x124_eyeOffset */
__dna_writer.writeFloatBig(x124_eyeOffset);
/* x128_turnSpeedMultiplier */
__dna_writer.writeFloatBig(x128_turnSpeedMultiplier);
/* x12c_freeLookTurnSpeedMultiplier */
__dna_writer.writeFloatBig(x12c_freeLookTurnSpeedMultiplier);
/* 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_freeLookDampenFactor */
__dna_writer.writeFloatBig(x14c_freeLookDampenFactor);
/* 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_moveDuringFreeLook */
__dna_writer.writeBool(x228_27_moveDuringFreeLook);
/* x228_28_holdButtonsForFreeLook */
__dna_writer.writeBool(x228_28_holdButtonsForFreeLook);
/* 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_orbitFixedOffset */
__dna_writer.writeBool(x229_29_orbitFixedOffset);
/* x229_30_gunButtonTogglesHolster */
__dna_writer.writeBool(x229_30_gunButtonTogglesHolster);
/* x229_31_gunNotFiringHolstersGun */
__dna_writer.writeBool(x229_31_gunNotFiringHolstersGun);
/* x22a_24_fallingDoubleJump */
__dna_writer.writeBool(x22a_24_fallingDoubleJump);
/* x22a_25_impulseDoubleJump */
__dna_writer.writeBool(x22a_25_impulseDoubleJump);
/* x22a_26_firingCancelsCameraPitch */
__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_orbitMinDistance[0] */
__dna_writer.writeFloatBig(x158_orbitMinDistance[0]);
/* x164_orbitNormalDistance[0] */
__dna_writer.writeFloatBig(x164_orbitNormalDistance[0]);
/* x170_orbitMaxDistance[0] */
__dna_writer.writeFloatBig(x170_orbitMaxDistance[0]);
/* x158_orbitMinDistance[1] */
__dna_writer.writeFloatBig(x158_orbitMinDistance[1]);
/* x164_orbitNormalDistance[1] */
__dna_writer.writeFloatBig(x164_orbitNormalDistance[1]);
/* x170_orbitMaxDistance[1] */
__dna_writer.writeFloatBig(x170_orbitMaxDistance[1]);
/* x158_orbitMinDistance[2] */
__dna_writer.writeFloatBig(x158_orbitMinDistance[2]);
/* x164_orbitNormalDistance[2] */
__dna_writer.writeFloatBig(x164_orbitNormalDistance[2]);
/* x170_orbitMaxDistance[2] */
__dna_writer.writeFloatBig(x170_orbitMaxDistance[2]);
/* x17c_ */
__dna_writer.writeFloatBig(x17c_);
/* x180_orbitModeTimer */
__dna_writer.writeFloatBig(x180_orbitModeTimer);
/* x184_orbitCameraSpeed */
__dna_writer.writeFloatBig(x184_orbitCameraSpeed);
/* x188_orbitUpperAngle */
__dna_writer.writeFloatBig(x188_orbitUpperAngle);
/* x18c_orbitLowerAngle */
__dna_writer.writeFloatBig(x18c_orbitLowerAngle);
/* x190_orbitHorizAngle */
__dna_writer.writeFloatBig(x190_orbitHorizAngle);
/* x194_ */
__dna_writer.writeFloatBig(x194_);
/* x198_ */
__dna_writer.writeFloatBig(x198_);
/* x19c_orbitMaxTargetDistance */
__dna_writer.writeFloatBig(x19c_orbitMaxTargetDistance);
/* x1a0_orbitMaxLockDistance */
__dna_writer.writeFloatBig(x1a0_orbitMaxLockDistance);
/* 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_orbitFixedOffsetZDiff */
__dna_writer.writeFloatBig(x1e8_orbitFixedOffsetZDiff);
/* x1ec_orbitZRange */
__dna_writer.writeFloatBig(x1ec_orbitZRange);
/* x1f0_ */
__dna_writer.writeFloatBig(x1f0_);
/* x1f4_ */
__dna_writer.writeFloatBig(x1f4_);
/* x1f8_ */
__dna_writer.writeFloatBig(x1f8_);
/* x1fc_orbitPreventionTime */
__dna_writer.writeFloatBig(x1fc_orbitPreventionTime);
/* x200_24_dashEnabled */
__dna_writer.writeBool(x200_24_dashEnabled);
/* x200_25_dashOnButtonRelease */
__dna_writer.writeBool(x200_25_dashOnButtonRelease);
/* x204_dashButtonHoldCancelTime */
__dna_writer.writeFloatBig(x204_dashButtonHoldCancelTime);
/* x208_dashStrafeInputThreshold */
__dna_writer.writeFloatBig(x208_dashStrafeInputThreshold);
/* x20c_sidewaysDoubleJumpImpulse */
__dna_writer.writeFloatBig(x20c_sidewaysDoubleJumpImpulse);
/* x210_sidewaysVerticalDoubleJumpAccel */
__dna_writer.writeFloatBig(x210_sidewaysVerticalDoubleJumpAccel);
/* x214_sidewaysHorizontalDoubleJumpAccel */
__dna_writer.writeFloatBig(x214_sidewaysHorizontalDoubleJumpAccel);
/* 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_scanMaxTargetDistance */
__dna_writer.writeFloatBig(x220_scanMaxTargetDistance);
/* x224_scanMaxLockDistance */
__dna_writer.writeFloatBig(x224_scanMaxLockDistance);
/* 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_grappleCameraSpeed */
__dna_writer.writeFloatBig(x2b0_grappleCameraSpeed);
/* 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_orbitReleaseBreaksGrapple */
__dna_writer.writeBool(x2d4_orbitReleaseBreaksGrapple);
/* x2d5_invertGrappleTurn */
__dna_writer.writeBool(x2d5_invertGrappleTurn);
/* x2d8_grappleBeamSpeed */
__dna_writer.writeFloatBig(x2d8_grappleBeamSpeed);
/* x2dc_grappleBeamXWaveAmplitude */
__dna_writer.writeFloatBig(x2dc_grappleBeamXWaveAmplitude);
/* x2e0_grappleBeamZWaveAmplitude */
__dna_writer.writeFloatBig(x2e0_grappleBeamZWaveAmplitude);
/* x2e4_grappleBeamAnglePhaseDelta */
__dna_writer.writeFloatBig(x2e4_grappleBeamAnglePhaseDelta);
/* x26c_playerHeight */
__dna_writer.writeFloatBig(x26c_playerHeight);
/* x270_playerXYHalfExtent */
__dna_writer.writeFloatBig(x270_playerXYHalfExtent);
/* x274_stepUpHeight */
__dna_writer.writeFloatBig(x274_stepUpHeight);
/* x278_stepDownHeight */
__dna_writer.writeFloatBig(x278_stepDownHeight);
/* x27c_playerBallHalfExtent */
__dna_writer.writeFloatBig(x27c_playerBallHalfExtent);
/* x280_ */
__dna_writer.writeFloatBig(x280_firstPersonCameraSpeed);
/* x284_ */
__dna_writer.writeFloatBig(x284_);
/* x288_jumpCameraPitchDownStart */
__dna_writer.writeFloatBig(x288_jumpCameraPitchDownStart);
/* x28c_jumpCameraPitchDownFull */
__dna_writer.writeFloatBig(x28c_jumpCameraPitchDownFull);
/* x290_jumpCameraPitchDownAngle */
__dna_writer.writeFloatBig(x290_jumpCameraPitchDownAngle);
/* x294_fallCameraPitchDownStart */
__dna_writer.writeFloatBig(x294_fallCameraPitchDownStart);
/* x298_fallCameraPitchDownFull */
__dna_writer.writeFloatBig(x298_fallCameraPitchDownFull);
/* x29c_fallCameraPitchDownAngle */
__dna_writer.writeFloatBig(x29c_fallCameraPitchDownAngle);
/* 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);
}
2018-02-22 07:24:51 +00:00
template <>
2018-12-08 05:30:43 +00:00
void CTweakPlayer::Enumerate<BigDNA::ReadYaml>(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");
2018-12-08 05:30:43 +00:00
}
/* x24_maxRotationalAcceleration */
size_t __x24_Count;
if (auto v = __dna_docin.enterSubVector("x24_maxRotationalAcceleration", __x24_Count)) {
2017-08-16 05:34:02 +00:00
/* x24_maxRotationalAcceleration[0] */
x24_maxRotationalAcceleration[0] = __dna_docin.readFloat("x24_maxRotationalAcceleration");
/* x24_maxRotationalAcceleration[1] */
x24_maxRotationalAcceleration[1] = __dna_docin.readFloat("x24_maxRotationalAcceleration");
/* x24_maxRotationalAcceleration[2] */
x24_maxRotationalAcceleration[2] = __dna_docin.readFloat("x24_maxRotationalAcceleration");
/* x24_maxRotationalAcceleration[3] */
x24_maxRotationalAcceleration[3] = __dna_docin.readFloat("x24_maxRotationalAcceleration");
/* x24_maxRotationalAcceleration[4] */
x24_maxRotationalAcceleration[4] = __dna_docin.readFloat("x24_maxRotationalAcceleration");
/* x24_maxRotationalAcceleration[5] */
x24_maxRotationalAcceleration[5] = __dna_docin.readFloat("x24_maxRotationalAcceleration");
/* x24_maxRotationalAcceleration[6] */
x24_maxRotationalAcceleration[6] = __dna_docin.readFloat("x24_maxRotationalAcceleration");
/* x24_maxRotationalAcceleration[7] */
x24_maxRotationalAcceleration[7] = __dna_docin.readFloat("x24_maxRotationalAcceleration");
2018-12-08 05:30:43 +00:00
}
/* 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");
2018-12-08 05:30:43 +00:00
}
/* x64_rotationFriction */
size_t __x64_Count;
if (auto v = __dna_docin.enterSubVector("x64_rotationFriction", __x64_Count)) {
2017-08-16 05:34:02 +00:00
/* x64_rotationFriction[0] */
x64_rotationFriction[0] = __dna_docin.readFloat("x64_rotationFriction");
/* x64_rotationFriction[1] */
x64_rotationFriction[1] = __dna_docin.readFloat("x64_rotationFriction");
/* x64_rotationFriction[2] */
x64_rotationFriction[2] = __dna_docin.readFloat("x64_rotationFriction");
/* x64_rotationFriction[3] */
x64_rotationFriction[3] = __dna_docin.readFloat("x64_rotationFriction");
/* x64_rotationFriction[4] */
x64_rotationFriction[4] = __dna_docin.readFloat("x64_rotationFriction");
/* x64_rotationFriction[5] */
x64_rotationFriction[5] = __dna_docin.readFloat("x64_rotationFriction");
/* x64_rotationFriction[6] */
x64_rotationFriction[6] = __dna_docin.readFloat("x64_rotationFriction");
/* x64_rotationFriction[7] */
x64_rotationFriction[7] = __dna_docin.readFloat("x64_rotationFriction");
2018-12-08 05:30:43 +00:00
}
/* x84_rotationMaxSpeed */
size_t __x84_Count;
if (auto v = __dna_docin.enterSubVector("x84_rotationMaxSpeed", __x84_Count)) {
2017-08-16 05:34:02 +00:00
/* x84_rotationMaxSpeed[0] */
x84_rotationMaxSpeed[0] = __dna_docin.readFloat("x84_rotationMaxSpeed");
/* x84_rotationMaxSpeed[1] */
x84_rotationMaxSpeed[1] = __dna_docin.readFloat("x84_rotationMaxSpeed");
/* x84_rotationMaxSpeed[2] */
x84_rotationMaxSpeed[2] = __dna_docin.readFloat("x84_rotationMaxSpeed");
/* x84_rotationMaxSpeed[3] */
x84_rotationMaxSpeed[3] = __dna_docin.readFloat("x84_rotationMaxSpeed");
/* x84_rotationMaxSpeed[4] */
x84_rotationMaxSpeed[4] = __dna_docin.readFloat("x84_rotationMaxSpeed");
/* x84_rotationMaxSpeed[5] */
x84_rotationMaxSpeed[5] = __dna_docin.readFloat("x84_rotationMaxSpeed");
/* x84_rotationMaxSpeed[6] */
x84_rotationMaxSpeed[6] = __dna_docin.readFloat("x84_rotationMaxSpeed");
/* x84_rotationMaxSpeed[7] */
x84_rotationMaxSpeed[7] = __dna_docin.readFloat("x84_rotationMaxSpeed");
2018-12-08 05:30:43 +00:00
}
/* 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");
2018-12-08 05:30:43 +00:00
}
/* xc4_normalGravAccel */
xc4_normalGravAccel = __dna_docin.readFloat("xc4_normalGravAccel");
/* xc8_fluidGravAccel */
xc8_fluidGravAccel = __dna_docin.readFloat("xc8_fluidGravAccel");
/* xcc_verticalJumpAccel */
xcc_verticalJumpAccel = __dna_docin.readFloat("xcc_verticalJumpAccel");
/* xd0_horizontalJumpAccel */
xd0_horizontalJumpAccel = __dna_docin.readFloat("xd0_horizontalJumpAccel");
/* xd4_verticalDoubleJumpAccel */
xd4_verticalDoubleJumpAccel = __dna_docin.readFloat("xd4_verticalDoubleJumpAccel");
/* xd8_horizontalDoubleJumpAccel */
xd8_horizontalDoubleJumpAccel = __dna_docin.readFloat("xd8_horizontalDoubleJumpAccel");
/* xdc_waterJumpFactor */
xdc_waterJumpFactor = __dna_docin.readFloat("xdc_waterJumpFactor");
/* xe0_waterBallJumpFactor */
xe0_waterBallJumpFactor = __dna_docin.readFloat("xe0_waterBallJumpFactor");
/* xe4_lavaJumpFactor */
xe4_lavaJumpFactor = __dna_docin.readFloat("xe4_lavaJumpFactor");
/* xe8_lavaBallJumpFactor */
xe8_lavaBallJumpFactor = __dna_docin.readFloat("xe8_lavaBallJumpFactor");
/* xec_phazonJumpFactor */
xec_phazonJumpFactor = __dna_docin.readFloat("xec_phazonJumpFactor");
/* xf0_phazonBallJumpFactor */
xf0_phazonBallJumpFactor = __dna_docin.readFloat("xf0_phazonBallJumpFactor");
/* xf4_allowedJumpTime */
xf4_allowedJumpTime = __dna_docin.readFloat("xf4_allowedJumpTime");
/* xf8_allowedDoubleJumpTime */
xf8_allowedDoubleJumpTime = __dna_docin.readFloat("xf8_allowedDoubleJumpTime");
/* xfc_minDoubleJumpWindow */
xfc_minDoubleJumpWindow = __dna_docin.readFloat("xfc_minDoubleJumpWindow");
/* x100_maxDoubleJumpWindow */
x100_maxDoubleJumpWindow = __dna_docin.readFloat("x100_maxDoubleJumpWindow");
/* x104_ */
x104_ = __dna_docin.readFloat("x104_");
/* x108_minJumpTime */
x108_minJumpTime = __dna_docin.readFloat("x108_minJumpTime");
/* x10c_minDoubleJumpTime */
x10c_minDoubleJumpTime = __dna_docin.readFloat("x10c_minDoubleJumpTime");
/* x110_allowedLedgeTime */
x110_allowedLedgeTime = __dna_docin.readFloat("x110_allowedLedgeTime");
/* x114_doubleJumpImpulse */
x114_doubleJumpImpulse = __dna_docin.readFloat("x114_doubleJumpImpulse");
/* x118_backwardsForceMultiplier */
x118_backwardsForceMultiplier = __dna_docin.readFloat("x118_backwardsForceMultiplier");
/* x11c_bombJumpRadius */
x11c_bombJumpRadius = __dna_docin.readFloat("x11c_bombJumpRadius");
/* x120_bombJumpHeight */
x120_bombJumpHeight = __dna_docin.readFloat("x120_bombJumpHeight");
/* x124_eyeOffset */
x124_eyeOffset = __dna_docin.readFloat("x124_eyeOffset");
/* x128_turnSpeedMultiplier */
x128_turnSpeedMultiplier = __dna_docin.readFloat("x128_turnSpeedMultiplier");
/* x12c_freeLookTurnSpeedMultiplier */
x12c_freeLookTurnSpeedMultiplier = __dna_docin.readFloat("x12c_freeLookTurnSpeedMultiplier");
/* 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_freeLookDampenFactor */
x14c_freeLookDampenFactor = __dna_docin.readFloat("x14c_freeLookDampenFactor");
/* 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_moveDuringFreeLook */
x228_27_moveDuringFreeLook = __dna_docin.readBool("x228_27_moveDuringFreeLook");
/* x228_28_holdButtonsForFreeLook */
x228_28_holdButtonsForFreeLook = __dna_docin.readBool("x228_28_holdButtonsForFreeLook");
/* 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_orbitFixedOffset */
x229_29_orbitFixedOffset = __dna_docin.readBool("x229_29_orbitFixedOffset");
/* 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_fallingDoubleJump */
x22a_24_fallingDoubleJump = __dna_docin.readBool("x22a_24_fallingDoubleJump");
/* x22a_25_impulseDoubleJump */
x22a_25_impulseDoubleJump = __dna_docin.readBool("x22a_25_impulseDoubleJump");
/* 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_orbitMinDistance */
size_t __x158_Count;
if (auto v = __dna_docin.enterSubVector("x158_orbitMinDistance", __x158_Count)) {
2017-08-20 05:23:22 +00:00
/* x158_orbitMinDistance[0] */
x158_orbitMinDistance[0] = __dna_docin.readFloat("x158_orbitMinDistance");
/* x158_orbitMinDistance[1] */
x158_orbitMinDistance[1] = __dna_docin.readFloat("x158_orbitMinDistance");
/* x158_orbitMinDistance[2] */
x158_orbitMinDistance[2] = __dna_docin.readFloat("x158_orbitMinDistance");
2018-12-08 05:30:43 +00:00
}
/* x164_orbitNormalDistance */
size_t __x164_Count;
if (auto v = __dna_docin.enterSubVector("x164_orbitNormalDistance", __x164_Count)) {
2017-08-19 06:52:13 +00:00
/* x164_orbitNormalDistance[0] */
x164_orbitNormalDistance[0] = __dna_docin.readFloat("x164_orbitNormalDistance");
/* x164_orbitNormalDistance[1] */
x164_orbitNormalDistance[1] = __dna_docin.readFloat("x164_orbitNormalDistance");
/* x164_orbitNormalDistance[2] */
x164_orbitNormalDistance[2] = __dna_docin.readFloat("x164_orbitNormalDistance");
2018-12-08 05:30:43 +00:00
}
/* x170_orbitMaxDistance */
size_t __x170_Count;
if (auto v = __dna_docin.enterSubVector("x170_orbitMaxDistance", __x170_Count)) {
2017-08-19 06:52:13 +00:00
/* x170_orbitMaxDistance[0] */
x170_orbitMaxDistance[0] = __dna_docin.readFloat("x170_orbitMaxDistance");
/* x170_orbitMaxDistance[1] */
x170_orbitMaxDistance[1] = __dna_docin.readFloat("x170_orbitMaxDistance");
/* x170_orbitMaxDistance[2] */
x170_orbitMaxDistance[2] = __dna_docin.readFloat("x170_orbitMaxDistance");
2018-12-08 05:30:43 +00:00
}
/* x17c_ */
x17c_ = __dna_docin.readFloat("x17c_");
/* x180_orbitModeTimer */
x180_orbitModeTimer = __dna_docin.readFloat("x180_orbitModeTimer");
/* x184_orbitCameraSpeed */
x184_orbitCameraSpeed = __dna_docin.readFloat("x184_orbitCameraSpeed");
/* x188_orbitUpperAngle */
x188_orbitUpperAngle = __dna_docin.readFloat("x188_orbitUpperAngle");
/* x18c_orbitLowerAngle */
x18c_orbitLowerAngle = __dna_docin.readFloat("x18c_orbitLowerAngle");
/* x190_orbitHorizAngle */
x190_orbitHorizAngle = __dna_docin.readFloat("x190_orbitHorizAngle");
/* x194_ */
x194_ = __dna_docin.readFloat("x194_");
/* x198_ */
x198_ = __dna_docin.readFloat("x198_");
/* x19c_orbitMaxTargetDistance */
x19c_orbitMaxTargetDistance = __dna_docin.readFloat("x19c_orbitMaxTargetDistance");
/* x1a0_orbitMaxLockDistance */
x1a0_orbitMaxLockDistance = __dna_docin.readFloat("x1a0_orbitMaxLockDistance");
/* 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");
2018-12-08 05:30:43 +00:00
}
/* 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");
2018-12-08 05:30:43 +00:00
}
/* 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");
2018-12-08 05:30:43 +00:00
}
/* 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");
2018-12-08 05:30:43 +00:00
}
/* x1c8_orbitZoneIdealX */
size_t __x1c8_Count;
if (auto v = __dna_docin.enterSubVector("x1c8_orbitZoneIdealX", __x1c8_Count)) {
2017-07-28 06:56:23 +00:00
/* x1c8_orbitZoneIdealX[0] */
x1c8_orbitZoneIdealX[0] = __dna_docin.readUint32("x1c8_orbitZoneIdealX");
/* x1c8_orbitZoneIdealX[1] */
x1c8_orbitZoneIdealX[1] = __dna_docin.readUint32("x1c8_orbitZoneIdealX");
2018-12-08 05:30:43 +00:00
}
/* x1d0_orbitZoneIdealY */
size_t __x1d0_Count;
if (auto v = __dna_docin.enterSubVector("x1d0_orbitZoneIdealY", __x1d0_Count)) {
2017-07-28 06:56:23 +00:00
/* x1d0_orbitZoneIdealY[0] */
x1d0_orbitZoneIdealY[0] = __dna_docin.readUint32("x1d0_orbitZoneIdealY");
/* x1d0_orbitZoneIdealY[1] */
x1d0_orbitZoneIdealY[1] = __dna_docin.readUint32("x1d0_orbitZoneIdealY");
2018-12-08 05:30:43 +00:00
}
/* 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_orbitFixedOffsetZDiff */
x1e8_orbitFixedOffsetZDiff = __dna_docin.readFloat("x1e8_orbitFixedOffsetZDiff");
/* 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_orbitPreventionTime */
x1fc_orbitPreventionTime = __dna_docin.readFloat("x1fc_orbitPreventionTime");
/* x200_24_dashEnabled */
x200_24_dashEnabled = __dna_docin.readBool("x200_24_dashEnabled");
/* x200_25_dashOnButtonRelease */
x200_25_dashOnButtonRelease = __dna_docin.readBool("x200_25_dashOnButtonRelease");
/* x204_dashButtonHoldCancelTime */
x204_dashButtonHoldCancelTime = __dna_docin.readFloat("x204_dashButtonHoldCancelTime");
/* x208_dashStrafeInputThreshold */
x208_dashStrafeInputThreshold = __dna_docin.readFloat("x208_dashStrafeInputThreshold");
/* x20c_sidewaysDoubleJumpImpulse */
x20c_sidewaysDoubleJumpImpulse = __dna_docin.readFloat("x20c_sidewaysDoubleJumpImpulse");
/* x210_sidewaysVerticalDoubleJumpAccel */
x210_sidewaysVerticalDoubleJumpAccel = __dna_docin.readFloat("x210_sidewaysVerticalDoubleJumpAccel");
/* x214_sidewaysHorizontalDoubleJumpAccel */
x214_sidewaysHorizontalDoubleJumpAccel = __dna_docin.readFloat("x214_sidewaysHorizontalDoubleJumpAccel");
/* 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_scanMaxTargetDistance */
x220_scanMaxTargetDistance = __dna_docin.readFloat("x220_scanMaxTargetDistance");
/* x224_scanMaxLockDistance */
x224_scanMaxLockDistance = __dna_docin.readFloat("x224_scanMaxLockDistance");
/* 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_grappleCameraSpeed */
x2b0_grappleCameraSpeed = __dna_docin.readFloat("x2b0_grappleCameraSpeed");
/* 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_orbitReleaseBreaksGrapple */
x2d4_orbitReleaseBreaksGrapple = __dna_docin.readBool("x2d4_orbitReleaseBreaksGrapple");
/* x2d5_invertGrappleTurn */
x2d5_invertGrappleTurn = __dna_docin.readBool("x2d5_invertGrappleTurn");
/* x2d8_grappleBeamSpeed */
x2d8_grappleBeamSpeed = __dna_docin.readFloat("x2d8_grappleBeamSpeed");
/* x2dc_grappleBeamXWaveAmplitude */
x2dc_grappleBeamXWaveAmplitude = __dna_docin.readFloat("x2dc_grappleBeamXWaveAmplitude");
/* x2e0_grappleBeamZWaveAmplitude */
x2e0_grappleBeamZWaveAmplitude = __dna_docin.readFloat("x2e0_grappleBeamZWaveAmplitude");
/* x2e4_grappleBeamAnglePhaseDelta */
x2e4_grappleBeamAnglePhaseDelta = __dna_docin.readFloat("x2e4_grappleBeamAnglePhaseDelta");
/* x26c_playerHeight */
x26c_playerHeight = __dna_docin.readFloat("x26c_playerHeight");
/* x270_playerXYHalfExtent */
x270_playerXYHalfExtent = __dna_docin.readFloat("x270_playerXYHalfExtent");
/* x274_stepUpHeight */
x274_stepUpHeight = __dna_docin.readFloat("x274_stepUpHeight");
/* x278_stepDownHeight */
x278_stepDownHeight = __dna_docin.readFloat("x278_stepDownHeight");
/* x27c_playerBallHalfExtent */
x27c_playerBallHalfExtent = __dna_docin.readFloat("x27c_playerBallHalfExtent");
/* x280_ */
x280_firstPersonCameraSpeed = __dna_docin.readFloat("x280_");
/* x284_ */
x284_ = __dna_docin.readFloat("x284_");
/* x288_jumpCameraPitchDownStart */
x288_jumpCameraPitchDownStart = __dna_docin.readFloat("x288_jumpCameraPitchDownStart");
/* x28c_jumpCameraPitchDownFull */
x28c_jumpCameraPitchDownFull = __dna_docin.readFloat("x28c_jumpCameraPitchDownFull");
/* x290_jumpCameraPitchDownAngle */
x290_jumpCameraPitchDownAngle = __dna_docin.readFloat("x290_jumpCameraPitchDownAngle");
/* x294_fallCameraPitchDownStart */
x294_fallCameraPitchDownStart = __dna_docin.readFloat("x294_fallCameraPitchDownStart");
/* x298_fallCameraPitchDownFull */
x298_fallCameraPitchDownFull = __dna_docin.readFloat("x298_fallCameraPitchDownFull");
/* x29c_fallCameraPitchDownAngle */
x29c_fallCameraPitchDownAngle = __dna_docin.readFloat("x29c_fallCameraPitchDownAngle");
/* 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");
}
2018-02-22 07:24:51 +00:00
template <>
2018-12-08 05:30:43 +00:00
void CTweakPlayer::Enumerate<BigDNA::WriteYaml>(athena::io::YAMLDocWriter& __dna_docout) {
/* 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]);
2018-12-08 05:30:43 +00:00
}
/* x24_maxRotationalAcceleration */
if (auto v = __dna_docout.enterSubVector("x24_maxRotationalAcceleration")) {
2017-08-16 05:34:02 +00:00
/* x24_maxRotationalAcceleration[0] */
__dna_docout.writeFloat("x24_maxRotationalAcceleration", x24_maxRotationalAcceleration[0]);
/* x24_maxRotationalAcceleration[1] */
__dna_docout.writeFloat("x24_maxRotationalAcceleration", x24_maxRotationalAcceleration[1]);
/* x24_maxRotationalAcceleration[2] */
__dna_docout.writeFloat("x24_maxRotationalAcceleration", x24_maxRotationalAcceleration[2]);
/* x24_maxRotationalAcceleration[3] */
__dna_docout.writeFloat("x24_maxRotationalAcceleration", x24_maxRotationalAcceleration[3]);
/* x24_maxRotationalAcceleration[4] */
__dna_docout.writeFloat("x24_maxRotationalAcceleration", x24_maxRotationalAcceleration[4]);
/* x24_maxRotationalAcceleration[5] */
__dna_docout.writeFloat("x24_maxRotationalAcceleration", x24_maxRotationalAcceleration[5]);
/* x24_maxRotationalAcceleration[6] */
__dna_docout.writeFloat("x24_maxRotationalAcceleration", x24_maxRotationalAcceleration[6]);
/* x24_maxRotationalAcceleration[7] */
__dna_docout.writeFloat("x24_maxRotationalAcceleration", x24_maxRotationalAcceleration[7]);
2018-12-08 05:30:43 +00:00
}
/* 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]);
2018-12-08 05:30:43 +00:00
}
/* x64_rotationFriction */
if (auto v = __dna_docout.enterSubVector("x64_rotationFriction")) {
2017-08-16 05:34:02 +00:00
/* x64_rotationFriction[0] */
__dna_docout.writeFloat("x64_rotationFriction", x64_rotationFriction[0]);
/* x64_rotationFriction[1] */
__dna_docout.writeFloat("x64_rotationFriction", x64_rotationFriction[1]);
/* x64_rotationFriction[2] */
__dna_docout.writeFloat("x64_rotationFriction", x64_rotationFriction[2]);
/* x64_rotationFriction[3] */
__dna_docout.writeFloat("x64_rotationFriction", x64_rotationFriction[3]);
/* x64_rotationFriction[4] */
__dna_docout.writeFloat("x64_rotationFriction", x64_rotationFriction[4]);
/* x64_rotationFriction[5] */
__dna_docout.writeFloat("x64_rotationFriction", x64_rotationFriction[5]);
/* x64_rotationFriction[6] */
__dna_docout.writeFloat("x64_rotationFriction", x64_rotationFriction[6]);
/* x64_rotationFriction[7] */
__dna_docout.writeFloat("x64_rotationFriction", x64_rotationFriction[7]);
2018-12-08 05:30:43 +00:00
}
/* x84_rotationMaxSpeed */
if (auto v = __dna_docout.enterSubVector("x84_rotationMaxSpeed")) {
2017-08-16 05:34:02 +00:00
/* x84_rotationMaxSpeed[0] */
__dna_docout.writeFloat("x84_rotationMaxSpeed", x84_rotationMaxSpeed[0]);
/* x84_rotationMaxSpeed[1] */
__dna_docout.writeFloat("x84_rotationMaxSpeed", x84_rotationMaxSpeed[1]);
/* x84_rotationMaxSpeed[2] */
__dna_docout.writeFloat("x84_rotationMaxSpeed", x84_rotationMaxSpeed[2]);
/* x84_rotationMaxSpeed[3] */
__dna_docout.writeFloat("x84_rotationMaxSpeed", x84_rotationMaxSpeed[3]);
/* x84_rotationMaxSpeed[4] */
__dna_docout.writeFloat("x84_rotationMaxSpeed", x84_rotationMaxSpeed[4]);
/* x84_rotationMaxSpeed[5] */
__dna_docout.writeFloat("x84_rotationMaxSpeed", x84_rotationMaxSpeed[5]);
/* x84_rotationMaxSpeed[6] */
__dna_docout.writeFloat("x84_rotationMaxSpeed", x84_rotationMaxSpeed[6]);
/* x84_rotationMaxSpeed[7] */
__dna_docout.writeFloat("x84_rotationMaxSpeed", x84_rotationMaxSpeed[7]);
2018-12-08 05:30:43 +00:00
}
/* 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]);
2018-12-08 05:30:43 +00:00
}
/* xc4_normalGravAccel */
__dna_docout.writeFloat("xc4_normalGravAccel", xc4_normalGravAccel);
/* xc8_fluidGravAccel */
__dna_docout.writeFloat("xc8_fluidGravAccel", xc8_fluidGravAccel);
/* xcc_verticalJumpAccel */
__dna_docout.writeFloat("xcc_verticalJumpAccel", xcc_verticalJumpAccel);
/* xd0_horizontalJumpAccel */
__dna_docout.writeFloat("xd0_horizontalJumpAccel", xd0_horizontalJumpAccel);
/* xd4_verticalDoubleJumpAccel */
__dna_docout.writeFloat("xd4_verticalDoubleJumpAccel", xd4_verticalDoubleJumpAccel);
/* xd8_horizontalDoubleJumpAccel */
__dna_docout.writeFloat("xd8_horizontalDoubleJumpAccel", xd8_horizontalDoubleJumpAccel);
/* xdc_waterJumpFactor */
__dna_docout.writeFloat("xdc_waterJumpFactor", xdc_waterJumpFactor);
/* xe0_waterBallJumpFactor */
__dna_docout.writeFloat("xe0_waterBallJumpFactor", xe0_waterBallJumpFactor);
/* xe4_lavaJumpFactor */
__dna_docout.writeFloat("xe4_lavaJumpFactor", xe4_lavaJumpFactor);
/* xe8_lavaBallJumpFactor */
__dna_docout.writeFloat("xe8_lavaBallJumpFactor", xe8_lavaBallJumpFactor);
/* xec_phazonJumpFactor */
__dna_docout.writeFloat("xec_phazonJumpFactor", xec_phazonJumpFactor);
/* xf0_phazonBallJumpFactor */
__dna_docout.writeFloat("xf0_phazonBallJumpFactor", xf0_phazonBallJumpFactor);
/* xf4_allowedJumpTime */
__dna_docout.writeFloat("xf4_allowedJumpTime", xf4_allowedJumpTime);
/* xf8_allowedDoubleJumpTime */
__dna_docout.writeFloat("xf8_allowedDoubleJumpTime", xf8_allowedDoubleJumpTime);
/* xfc_minDoubleJumpWindow */
__dna_docout.writeFloat("xfc_minDoubleJumpWindow", xfc_minDoubleJumpWindow);
/* x100_maxDoubleJumpWindow */
__dna_docout.writeFloat("x100_maxDoubleJumpWindow", x100_maxDoubleJumpWindow);
/* x104_ */
__dna_docout.writeFloat("x104_", x104_);
/* x108_minJumpTime */
__dna_docout.writeFloat("x108_minJumpTime", x108_minJumpTime);
/* x10c_minDoubleJumpTime */
__dna_docout.writeFloat("x10c_minDoubleJumpTime", x10c_minDoubleJumpTime);
/* x110_allowedLedgeTime */
__dna_docout.writeFloat("x110_allowedLedgeTime", x110_allowedLedgeTime);
/* x114_doubleJumpImpulse */
__dna_docout.writeFloat("x114_doubleJumpImpulse", x114_doubleJumpImpulse);
/* x118_backwardsForceMultiplier */
__dna_docout.writeFloat("x118_backwardsForceMultiplier", x118_backwardsForceMultiplier);
/* x11c_bombJumpRadius */
__dna_docout.writeFloat("x11c_bombJumpRadius", x11c_bombJumpRadius);
/* x120_bombJumpHeight */
__dna_docout.writeFloat("x120_bombJumpHeight", x120_bombJumpHeight);
/* x124_eyeOffset */
__dna_docout.writeFloat("x124_eyeOffset", x124_eyeOffset);
/* x128_turnSpeedMultiplier */
__dna_docout.writeFloat("x128_turnSpeedMultiplier", x128_turnSpeedMultiplier);
/* x12c_freeLookTurnSpeedMultiplier */
__dna_docout.writeFloat("x12c_freeLookTurnSpeedMultiplier", x12c_freeLookTurnSpeedMultiplier);
/* 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_freeLookDampenFactor */
__dna_docout.writeFloat("x14c_freeLookDampenFactor", x14c_freeLookDampenFactor);
/* 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_moveDuringFreeLook */
__dna_docout.writeBool("x228_27_moveDuringFreeLook", x228_27_moveDuringFreeLook);
/* x228_28_holdButtonsForFreeLook */
__dna_docout.writeBool("x228_28_holdButtonsForFreeLook", x228_28_holdButtonsForFreeLook);
/* 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_orbitFixedOffset */
__dna_docout.writeBool("x229_29_orbitFixedOffset", x229_29_orbitFixedOffset);
/* 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_fallingDoubleJump */
__dna_docout.writeBool("x22a_24_fallingDoubleJump", x22a_24_fallingDoubleJump);
/* x22a_25_impulseDoubleJump */
__dna_docout.writeBool("x22a_25_impulseDoubleJump", x22a_25_impulseDoubleJump);
/* 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_orbitMinDistance */
if (auto v = __dna_docout.enterSubVector("x158_orbitMinDistance")) {
2017-08-20 05:23:22 +00:00
/* x158_orbitMinDistance[0] */
__dna_docout.writeFloat("x158_orbitMinDistance", x158_orbitMinDistance[0]);
/* x158_orbitMinDistance[1] */
__dna_docout.writeFloat("x158_orbitMinDistance", x158_orbitMinDistance[1]);
/* x158_orbitMinDistance[2] */
__dna_docout.writeFloat("x158_orbitMinDistance", x158_orbitMinDistance[2]);
2018-12-08 05:30:43 +00:00
}
/* x164_orbitNormalDistance */
if (auto v = __dna_docout.enterSubVector("x164_orbitNormalDistance")) {
2017-08-19 06:52:13 +00:00
/* x164_orbitNormalDistance[0] */
__dna_docout.writeFloat("x164_orbitNormalDistance", x164_orbitNormalDistance[0]);
/* x164_orbitNormalDistance[1] */
__dna_docout.writeFloat("x164_orbitNormalDistance", x164_orbitNormalDistance[1]);
/* x164_orbitNormalDistance[2] */
__dna_docout.writeFloat("x164_orbitNormalDistance", x164_orbitNormalDistance[2]);
2018-12-08 05:30:43 +00:00
}
/* x170_orbitMaxDistance */
if (auto v = __dna_docout.enterSubVector("x170_orbitMaxDistance")) {
2017-08-19 06:52:13 +00:00
/* x170_orbitMaxDistance[0] */
__dna_docout.writeFloat("x170_orbitMaxDistance", x170_orbitMaxDistance[0]);
/* x170_orbitMaxDistance[1] */
__dna_docout.writeFloat("x170_orbitMaxDistance", x170_orbitMaxDistance[1]);
/* x170_orbitMaxDistance[2] */
__dna_docout.writeFloat("x170_orbitMaxDistance", x170_orbitMaxDistance[2]);
2018-12-08 05:30:43 +00:00
}
/* x17c_ */
__dna_docout.writeFloat("x17c_", x17c_);
/* x180_orbitModeTimer */
__dna_docout.writeFloat("x180_orbitModeTimer", x180_orbitModeTimer);
/* x184_orbitCameraSpeed */
__dna_docout.writeFloat("x184_orbitCameraSpeed", x184_orbitCameraSpeed);
/* x188_orbitUpperAngle */
__dna_docout.writeFloat("x188_orbitUpperAngle", x188_orbitUpperAngle);
/* x18c_orbitLowerAngle */
__dna_docout.writeFloat("x18c_orbitLowerAngle", x18c_orbitLowerAngle);
/* x190_orbitHorizAngle */
__dna_docout.writeFloat("x190_orbitHorizAngle", x190_orbitHorizAngle);
/* x194_ */
__dna_docout.writeFloat("x194_", x194_);
/* x198_ */
__dna_docout.writeFloat("x198_", x198_);
/* x19c_orbitMaxTargetDistance */
__dna_docout.writeFloat("x19c_orbitMaxTargetDistance", x19c_orbitMaxTargetDistance);
/* x1a0_orbitMaxLockDistance */
__dna_docout.writeFloat("x1a0_orbitMaxLockDistance", x1a0_orbitMaxLockDistance);
/* 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]);
2018-12-08 05:30:43 +00:00
}
/* 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]);
2018-12-08 05:30:43 +00:00
}
/* 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]);
2018-12-08 05:30:43 +00:00
}
/* 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]);
2018-12-08 05:30:43 +00:00
}
/* x1c8_orbitZoneIdealX */
if (auto v = __dna_docout.enterSubVector("x1c8_orbitZoneIdealX")) {
2017-07-28 06:56:23 +00:00
/* x1c8_orbitZoneIdealX[0] */
__dna_docout.writeUint32("x1c8_orbitZoneIdealX", x1c8_orbitZoneIdealX[0]);
/* x1c8_orbitZoneIdealX[1] */
__dna_docout.writeUint32("x1c8_orbitZoneIdealX", x1c8_orbitZoneIdealX[1]);
2018-12-08 05:30:43 +00:00
}
/* x1d0_orbitZoneIdealY */
if (auto v = __dna_docout.enterSubVector("x1d0_orbitZoneIdealY")) {
2017-07-28 06:56:23 +00:00
/* x1d0_orbitZoneIdealY[0] */
__dna_docout.writeUint32("x1d0_orbitZoneIdealY", x1d0_orbitZoneIdealY[0]);
/* x1d0_orbitZoneIdealY[1] */
__dna_docout.writeUint32("x1d0_orbitZoneIdealY", x1d0_orbitZoneIdealY[1]);
2018-12-08 05:30:43 +00:00
}
/* x1d8_orbitNearX */
__dna_docout.writeFloat("x1d8_orbitNearX", x1d8_orbitNearX);
/* x1dc_orbitNearZ */
__dna_docout.writeFloat("x1dc_orbitNearZ", x1dc_orbitNearZ);
/* x1e0_ */
__dna_docout.writeFloat("x1e0_", x1e0_);
/* x1e4_ */
__dna_docout.writeFloat("x1e4_", x1e4_);
/* x1e8_orbitFixedOffsetZDiff */
__dna_docout.writeFloat("x1e8_orbitFixedOffsetZDiff", x1e8_orbitFixedOffsetZDiff);
/* 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_orbitPreventionTime */
__dna_docout.writeFloat("x1fc_orbitPreventionTime", x1fc_orbitPreventionTime);
/* x200_24_dashEnabled */
__dna_docout.writeBool("x200_24_dashEnabled", x200_24_dashEnabled);
/* x200_25_dashOnButtonRelease */
__dna_docout.writeBool("x200_25_dashOnButtonRelease", x200_25_dashOnButtonRelease);
/* x204_dashButtonHoldCancelTime */
__dna_docout.writeFloat("x204_dashButtonHoldCancelTime", x204_dashButtonHoldCancelTime);
/* x208_dashStrafeInputThreshold */
__dna_docout.writeFloat("x208_dashStrafeInputThreshold", x208_dashStrafeInputThreshold);
/* x20c_sidewaysDoubleJumpImpulse */
__dna_docout.writeFloat("x20c_sidewaysDoubleJumpImpulse", x20c_sidewaysDoubleJumpImpulse);
/* x210_sidewaysVerticalDoubleJumpAccel */
__dna_docout.writeFloat("x210_sidewaysVerticalDoubleJumpAccel", x210_sidewaysVerticalDoubleJumpAccel);
/* x214_sidewaysHorizontalDoubleJumpAccel */
__dna_docout.writeFloat("x214_sidewaysHorizontalDoubleJumpAccel", x214_sidewaysHorizontalDoubleJumpAccel);
/* 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_scanMaxTargetDistance */
__dna_docout.writeFloat("x220_scanMaxTargetDistance", x220_scanMaxTargetDistance);
/* x224_scanMaxLockDistance */
__dna_docout.writeFloat("x224_scanMaxLockDistance", x224_scanMaxLockDistance);
/* 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_grappleCameraSpeed */
__dna_docout.writeFloat("x2b0_grappleCameraSpeed", x2b0_grappleCameraSpeed);
/* 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_orbitReleaseBreaksGrapple */
__dna_docout.writeBool("x2d4_orbitReleaseBreaksGrapple", x2d4_orbitReleaseBreaksGrapple);
/* x2d5_invertGrappleTurn */
__dna_docout.writeBool("x2d5_invertGrappleTurn", x2d5_invertGrappleTurn);
/* x2d8_grappleBeamSpeed */
__dna_docout.writeFloat("x2d8_grappleBeamSpeed", x2d8_grappleBeamSpeed);
/* x2dc_grappleBeamXWaveAmplitude */
__dna_docout.writeFloat("x2dc_grappleBeamXWaveAmplitude", x2dc_grappleBeamXWaveAmplitude);
/* x2e0_grappleBeamZWaveAmplitude */
__dna_docout.writeFloat("x2e0_grappleBeamZWaveAmplitude", x2e0_grappleBeamZWaveAmplitude);
/* x2e4_grappleBeamAnglePhaseDelta */
__dna_docout.writeFloat("x2e4_grappleBeamAnglePhaseDelta", x2e4_grappleBeamAnglePhaseDelta);
/* x26c_playerHeight */
__dna_docout.writeFloat("x26c_playerHeight", x26c_playerHeight);
/* x270_playerXYHalfExtent */
__dna_docout.writeFloat("x270_playerXYHalfExtent", x270_playerXYHalfExtent);
/* x274_stepUpHeight */
__dna_docout.writeFloat("x274_stepUpHeight", x274_stepUpHeight);
/* x278_stepDownHeight */
__dna_docout.writeFloat("x278_stepDownHeight", x278_stepDownHeight);
/* x27c_playerBallHalfExtent */
__dna_docout.writeFloat("x27c_playerBallHalfExtent", x27c_playerBallHalfExtent);
/* x280_ */
__dna_docout.writeFloat("x280_", x280_firstPersonCameraSpeed);
/* x284_ */
__dna_docout.writeFloat("x284_", x284_);
/* x288_jumpCameraPitchDownStart */
__dna_docout.writeFloat("x288_jumpCameraPitchDownStart", x288_jumpCameraPitchDownStart);
/* x28c_jumpCameraPitchDownFull */
__dna_docout.writeFloat("x28c_jumpCameraPitchDownFull", x28c_jumpCameraPitchDownFull);
/* x290_jumpCameraPitchDownAngle */
__dna_docout.writeFloat("x290_jumpCameraPitchDownAngle", x290_jumpCameraPitchDownAngle);
/* x294_fallCameraPitchDownStart */
__dna_docout.writeFloat("x294_fallCameraPitchDownStart", x294_fallCameraPitchDownStart);
/* x298_fallCameraPitchDownFull */
__dna_docout.writeFloat("x298_fallCameraPitchDownFull", x298_fallCameraPitchDownFull);
/* x29c_fallCameraPitchDownAngle */
__dna_docout.writeFloat("x29c_fallCameraPitchDownAngle", x29c_fallCameraPitchDownAngle);
/* 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);
}
2018-12-08 05:30:43 +00:00
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_orbitCameraSpeed = zeus::degToRad(x184_orbitCameraSpeed);
x188_orbitUpperAngle = zeus::degToRad(x188_orbitUpperAngle);
x18c_orbitLowerAngle = zeus::degToRad(x18c_orbitLowerAngle);
x190_orbitHorizAngle = zeus::degToRad(x190_orbitHorizAngle);
x194_ = zeus::degToRad(x194_);
x198_ = zeus::degToRad(x198_);
x1f0_ = zeus::degToRad(x1f0_);
x1f4_ = zeus::degToRad(x1f4_);
x2b0_grappleCameraSpeed = zeus::degToRad(x2b0_grappleCameraSpeed);
x2c0_grappleLookCenterSpeed = zeus::degToRad(x2c0_grappleLookCenterSpeed);
x280_firstPersonCameraSpeed = zeus::degToRad(x280_firstPersonCameraSpeed);
x284_ = zeus::degToRad(x284_);
x290_jumpCameraPitchDownAngle = zeus::degToRad(x290_jumpCameraPitchDownAngle);
x29c_fallCameraPitchDownAngle = zeus::degToRad(x29c_fallCameraPitchDownAngle);
}
2019-10-01 07:38:03 +00:00
std::string_view CTweakPlayer::DNAType() { return "DataSpec::DNAMP1::CTweakPlayer"sv; }
2018-02-22 07:24:51 +00:00
template <>
2018-12-08 05:30:43 +00:00
void CTweakPlayer::Enumerate<BigDNA::BinarySize>(size_t& __isz) {
__isz += 785;
}
2020-09-28 05:43:46 +00:00
void CTweakPlayer::_tweakListener(hecl::CVar* cv) {
UPDATE_CVAR(MaxTranslationAccelerationNormal, cv, x4_maxTranslationalAcceleration[0]);
UPDATE_CVAR(MaxTranslationAccelerationAir, cv, x4_maxTranslationalAcceleration[1]);
UPDATE_CVAR(MaxTranslationAccelerationIce, cv, x4_maxTranslationalAcceleration[2]);
UPDATE_CVAR(MaxTranslationAccelerationOrganic, cv, x4_maxTranslationalAcceleration[3]);
UPDATE_CVAR(MaxTranslationAccelerationWater, cv, x4_maxTranslationalAcceleration[4]);
UPDATE_CVAR(MaxTranslationAccelerationLava, cv, x4_maxTranslationalAcceleration[5]);
UPDATE_CVAR(MaxTranslationAccelerationPhazon, cv, x4_maxTranslationalAcceleration[6]);
UPDATE_CVAR(MaxRotationAccelerationShrubbery, cv, x24_maxRotationalAcceleration[7]);
UPDATE_CVAR(MaxRotationAccelerationNormal, cv, x24_maxRotationalAcceleration[0]);
UPDATE_CVAR(MaxRotationAccelerationAir, cv, x24_maxRotationalAcceleration[1]);
UPDATE_CVAR(MaxRotationAccelerationIce, cv, x24_maxRotationalAcceleration[2]);
UPDATE_CVAR(MaxRotationAccelerationOrganic, cv, x24_maxRotationalAcceleration[3]);
UPDATE_CVAR(MaxRotationAccelerationWater, cv, x24_maxRotationalAcceleration[4]);
UPDATE_CVAR(MaxRotationAccelerationLava, cv, x24_maxRotationalAcceleration[5]);
UPDATE_CVAR(MaxRotationAccelerationPhazon, cv, x24_maxRotationalAcceleration[6]);
UPDATE_CVAR(MaxRotationAccelerationShrubbery, cv, x24_maxRotationalAcceleration[7]);
UPDATE_CVAR(TranslationFrictionNormal, cv, x44_translationFriction[0]);
UPDATE_CVAR(TranslationFrictionAir, cv, x44_translationFriction[1]);
UPDATE_CVAR(TranslationFrictionIce, cv, x44_translationFriction[2]);
UPDATE_CVAR(TranslationFrictionOrganic, cv, x44_translationFriction[3]);
UPDATE_CVAR(TranslationFrictionWater, cv, x44_translationFriction[4]);
UPDATE_CVAR(TranslationFrictionLava, cv, x44_translationFriction[5]);
UPDATE_CVAR(TranslationFrictionPhazon, cv, x44_translationFriction[6]);
UPDATE_CVAR(TranslationFrictionShrubbery, cv, x44_translationFriction[7]);
UPDATE_CVAR(RotationFrictionNormal, cv, x44_translationFriction[2]);
UPDATE_CVAR(RotationFrictionIce, cv, x44_translationFriction[2]);
UPDATE_CVAR(RotationFrictionOrganic, cv, x44_translationFriction[3]);
UPDATE_CVAR(RotationFrictionWater, cv, x44_translationFriction[4]);
UPDATE_CVAR(RotationFrictionLava, cv, x44_translationFriction[5]);
UPDATE_CVAR(RotationFrictionPhazon, cv, x44_translationFriction[6]);
UPDATE_CVAR(RotationFrictionShrubbery, cv, x44_translationFriction[7]);
UPDATE_CVAR(RotationMaxSpeedNormal, cv, x84_rotationMaxSpeed[2]);
UPDATE_CVAR(RotationMaxSpeedIce, cv, x84_rotationMaxSpeed[2]);
UPDATE_CVAR(RotationMaxSpeedOrganic, cv, x84_rotationMaxSpeed[3]);
UPDATE_CVAR(RotationMaxSpeedWater, cv, x84_rotationMaxSpeed[4]);
UPDATE_CVAR(RotationMaxSpeedLava, cv, x84_rotationMaxSpeed[5]);
UPDATE_CVAR(RotationMaxSpeedPhazon, cv, x84_rotationMaxSpeed[6]);
UPDATE_CVAR(RotationMaxSpeedShrubbery, cv, x84_rotationMaxSpeed[7]);
UPDATE_CVAR(TranslationMaxSpeedNormal, cv, xa4_translationMaxSpeed[2]);
UPDATE_CVAR(TranslationMaxSpeedIce, cv, xa4_translationMaxSpeed[2]);
UPDATE_CVAR(TranslationMaxSpeedOrganic, cv, xa4_translationMaxSpeed[3]);
UPDATE_CVAR(TranslationMaxSpeedWater, cv, xa4_translationMaxSpeed[4]);
UPDATE_CVAR(TranslationMaxSpeedLava, cv, xa4_translationMaxSpeed[5]);
UPDATE_CVAR(TranslationMaxSpeedPhazon, cv, xa4_translationMaxSpeed[6]);
UPDATE_CVAR(TranslationMaxSpeedShrubbery, cv, xa4_translationMaxSpeed[7]);
}
void CTweakPlayer::initCVars(hecl::CVarManager* mgr) {
CREATE_CVAR(MaxTranslationAccelerationNormal,
"Max translation acceleration allowed to the player under normal circumstances",
x4_maxTranslationalAcceleration[0], skDefaultFlags);
CREATE_CVAR(MaxTranslationAccelerationAir, "Max translation acceleration allowed to the player while in air",
x4_maxTranslationalAcceleration[1], skDefaultFlags);
CREATE_CVAR(MaxTranslationAccelerationIce, "Max translation acceleration allowed to the player while on ice surfaces",
x4_maxTranslationalAcceleration[2], skDefaultFlags);
CREATE_CVAR(MaxTranslationAccelerationOrganic,
"Max translation acceleration allowed to the player while on organic surfaces",
x4_maxTranslationalAcceleration[3], skDefaultFlags);
CREATE_CVAR(MaxTranslationAccelerationWater, "Max translation acceleration allowed to the player while in water",
x4_maxTranslationalAcceleration[4], skDefaultFlags);
CREATE_CVAR(MaxTranslationAccelerationLava, "Max translation acceleration allowed to the player while in lava",
x4_maxTranslationalAcceleration[5], skDefaultFlags);
CREATE_CVAR(MaxTranslationAccelerationPhazon, "Max translation acceleration allowed to the player while in phazon",
x4_maxTranslationalAcceleration[6], skDefaultFlags);
CREATE_CVAR(MaxTranslationAccelerationShrubbery,
"Max translation acceleration allowed to the player while in shrubbery",
x4_maxTranslationalAcceleration[7], skDefaultFlags);
CREATE_CVAR(MaxRotationAccelerationNormal,
"Max rotation acceleration allowed to the player under normal circumstances",
x24_maxRotationalAcceleration[0], skDefaultFlags);
CREATE_CVAR(MaxRotationAccelerationAir, "Max rotation acceleration allowed to the player while in air",
x24_maxRotationalAcceleration[1], skDefaultFlags);
CREATE_CVAR(MaxRotationAccelerationIce, "Max rotation acceleration allowed to the player while on ice surfaces",
x24_maxRotationalAcceleration[2], skDefaultFlags);
CREATE_CVAR(MaxRotationAccelerationOrganic,
"Max rotation acceleration allowed to the player while on organic surfaces",
x24_maxRotationalAcceleration[3], skDefaultFlags);
CREATE_CVAR(MaxRotationAccelerationWater, "Max rotation acceleration allowed to the player while in water",
x24_maxRotationalAcceleration[4], skDefaultFlags);
CREATE_CVAR(MaxRotationAccelerationLava, "Max rotation acceleration allowed to the player while in lava",
x24_maxRotationalAcceleration[5], skDefaultFlags);
CREATE_CVAR(MaxRotationAccelerationPhazon, "Max rotation acceleration allowed to the player while in phazon",
x24_maxRotationalAcceleration[6], skDefaultFlags);
CREATE_CVAR(MaxRotationAccelerationShrubbery, "Max rotation acceleration allowed to the player while in shrubbery",
x24_maxRotationalAcceleration[7], skDefaultFlags);
CREATE_CVAR(TranslationFrictionNormal, "Translation friction allowed to the player under normal circumstances",
x44_translationFriction[0], skDefaultFlags);
CREATE_CVAR(TranslationFrictionAir, "Translation friction allowed to the player while in air",
x44_translationFriction[1], skDefaultFlags);
CREATE_CVAR(TranslationFrictionIce, "Translation friction allowed to the player while on ice surfaces",
x44_translationFriction[2], skDefaultFlags);
CREATE_CVAR(TranslationFrictionOrganic, "Translation friction allowed to the player while on organic surfaces",
x44_translationFriction[3], skDefaultFlags);
CREATE_CVAR(TranslationFrictionWater, "Translation friction allowed to the player while in water",
x44_translationFriction[4], skDefaultFlags);
CREATE_CVAR(TranslationFrictionLava, "Translation friction allowed to the player while in lava",
x44_translationFriction[5], skDefaultFlags);
CREATE_CVAR(TranslationFrictionPhazon, "Translation friction allowed to the player while in phazon",
x44_translationFriction[6], skDefaultFlags);
CREATE_CVAR(TranslationFrictionShrubbery, "Translation friction allowed to the player while in shrubbery",
x44_translationFriction[7], skDefaultFlags);
CREATE_CVAR(RotationFrictionNormal, "Rotation friction allowed to the player under normal circumstances",
x44_translationFriction[0], skDefaultFlags);
CREATE_CVAR(RotationFrictionAir, "Rotation friction allowed to the player while in air", x44_translationFriction[1],
skDefaultFlags);
CREATE_CVAR(RotationFrictionIce, "Rotation friction allowed to the player while on ice surfaces",
x44_translationFriction[2], skDefaultFlags);
CREATE_CVAR(RotationFrictionOrganic, "Rotation friction allowed to the player while on organic surfaces",
x44_translationFriction[3], skDefaultFlags);
CREATE_CVAR(RotationFrictionWater, "Rotation friction allowed to the player while in water",
x44_translationFriction[4], skDefaultFlags);
CREATE_CVAR(RotationFrictionLava, "Rotation friction allowed to the player while in lava", x44_translationFriction[5],
skDefaultFlags);
CREATE_CVAR(RotationFrictionPhazon, "Rotation friction allowed to the player while in phazon",
x44_translationFriction[6], skDefaultFlags);
CREATE_CVAR(RotationFrictionShrubbery, "Rotation friction allowed to the player while in shrubbery",
x44_translationFriction[7], skDefaultFlags);
CREATE_CVAR(RotationMaxSpeedNormal, "Rotation max speed allowed to the player under normal circumstances",
x84_rotationMaxSpeed[0], skDefaultFlags);
CREATE_CVAR(RotationMaxSpeedAir, "Rotation max speed allowed to the player while in air", x84_rotationMaxSpeed[1],
skDefaultFlags);
CREATE_CVAR(RotationMaxSpeedIce, "Rotation max speed allowed to the player while on ice surfaces",
x84_rotationMaxSpeed[2], skDefaultFlags);
CREATE_CVAR(RotationMaxSpeedOrganic, "Rotation max speed allowed to the player while on organic surfaces",
x84_rotationMaxSpeed[3], skDefaultFlags);
CREATE_CVAR(RotationMaxSpeedWater, "Rotation max speed allowed to the player while in water", x84_rotationMaxSpeed[4],
skDefaultFlags);
CREATE_CVAR(RotationMaxSpeedLava, "Rotation max speed allowed to the player while in lava", x84_rotationMaxSpeed[5],
skDefaultFlags);
CREATE_CVAR(RotationMaxSpeedPhazon, "Rotation max speed allowed to the player while in phazon",
x84_rotationMaxSpeed[6], skDefaultFlags);
CREATE_CVAR(RotationMaxSpeedShrubbery, "Rotation max speed allowed to the player while in shrubbery",
x84_rotationMaxSpeed[7], skDefaultFlags);
CREATE_CVAR(TranslationMaxSpeedNormal, "Translation max speed allowed to the player under normal circumstances",
xa4_translationMaxSpeed[0], skDefaultFlags);
CREATE_CVAR(TranslationMaxSpeedNormal, "Translation max speed allowed to the player under normal circumstances",
xa4_translationMaxSpeed[1], skDefaultFlags);
CREATE_CVAR(TranslationMaxSpeedIce, "Translation max speed allowed to the player while on ice surfaces",
xa4_translationMaxSpeed[2], skDefaultFlags);
CREATE_CVAR(TranslationMaxSpeedOrganic, "Translation max speed allowed to the player while on organic surfaces",
xa4_translationMaxSpeed[3], skDefaultFlags);
CREATE_CVAR(TranslationMaxSpeedWater, "Translation max speed allowed to the player while in water",
xa4_translationMaxSpeed[4], skDefaultFlags);
CREATE_CVAR(TranslationMaxSpeedLava, "Translation max speed allowed to the player while in lava",
xa4_translationMaxSpeed[5], skDefaultFlags);
CREATE_CVAR(TranslationMaxSpeedPhazon, "Translation max speed allowed to the player while in phazon",
xa4_translationMaxSpeed[6], skDefaultFlags);
CREATE_CVAR(TranslationMaxSpeedShrubbery, "Translation max speed allowed to the player while in shrubbery",
xa4_translationMaxSpeed[7], skDefaultFlags);
CREATE_CVAR(NormalGravityAcceleration, "Gravity applied to the player under normal circumstances",
xc4_normalGravAccel, skDefaultFlags);
CREATE_CVAR(FluidGravityAcceleration, "Gravity applied to the player while in water", xc8_fluidGravAccel,
skDefaultFlags);
CREATE_CVAR(VerticalJumpAcceleration, "Vertical acceleration applied while jumping", xcc_verticalJumpAccel,
skDefaultFlags);
CREATE_CVAR(HorizontalJumpAcceleration, "Horizontal acceleration while jump (e.g, while scan dashing)",
xd0_horizontalJumpAccel, skDefaultFlags);
}
2018-12-08 05:30:43 +00:00
} // namespace DataSpec::DNAMP1