From e8c5218e00cc753085f1b522d169b24c4b262bcf Mon Sep 17 00:00:00 2001 From: Rat Date: Mon, 9 Jan 2012 18:17:09 +0100 Subject: [PATCH] Core/Movement: updated 2 more movement structures --- src/server/game/Movement/MovementStructures.h | 184 +++++++++--------- 1 file changed, 92 insertions(+), 92 deletions(-) diff --git a/src/server/game/Movement/MovementStructures.h b/src/server/game/Movement/MovementStructures.h index 45406cb732d..9abd8c616db 100644 --- a/src/server/game/Movement/MovementStructures.h +++ b/src/server/game/Movement/MovementStructures.h @@ -605,70 +605,70 @@ MovementStatusElements MovementStartForwardSequence[] = { MSEGuidByte4_2, MSEPitch, }; - +//4.2.2 MovementStatusElements MovementStartStrafeLeftSequence[] = { MSEGuidByte5, - MSEGuidByte0, - MSEGuidByte3, MSEFlags, + MSEHaveSpline, MSEGuidByte6, MSEGuidByte1, - MSEGuidByte4, - MSEFlags2, - MSEHaveSpline, - MSEGuidByte7, MSEGuidByte2, - MSEHaveTransportData, - MSETransportGuidByte6, - MSETransportGuidByte3, - MSETransportGuidByte7, - MSETransportGuidByte4, - MSETransportGuidByte1, - MSETransportGuidByte0, - MSETransportGuidByte2, - MSETransportGuidByte5, - MSETransportHaveTime3, - MSETransportHaveTime2, + MSEFlags2, + MSEGuidByte7, + MSEGuidByte0, + MSEGuidByte3, + MSEGuidByte4, + MSEHavePitch, MSEHaveSplineElev, MSEHaveFallData, MSEHaveFallDirection, - MSEHavePitch, - MSEPositionO, - MSETimestamp, + MSEHaveTransportData, + MSETransportGuidByte0, + MSETransportGuidByte6, + MSETransportGuidByte2, + MSETransportGuidByte5, + MSETransportGuidByte4, + MSETransportGuidByte1, + MSETransportGuidByte3, + MSETransportGuidByte7, + MSETransportHaveTime2, + MSETransportHaveTime3, MSEPositionX, MSEPositionY, MSEPositionZ, + MSEPositionO, + MSETimestamp, + MSEPitch, + MSESplineElev, + MSEGuidByte7_2, + MSEGuidByte5_2, + MSEFallTime, + MSEFallVerticalSpeed, + MSEFallHorizontalSpeed, + MSEFallSinAngle, + MSEFallCosAngle, + MSEGuidByte4_2, MSEGuidByte3_2, - MSETransportTime, + MSEGuidByte2_2, + MSEGuidByte6_2, + MSEGuidByte0_2, + MSEGuidByte1_2, + MSETransportSeat, + MSETransportPositionO, MSETransportPositionX, MSETransportPositionY, MSETransportPositionZ, - MSETransportPositionO, - MSETransportSeat, - MSETransportGuidByte3_2, - MSETransportGuidByte1_2, - MSETransportTime3, - MSETransportGuidByte6_2, - MSETransportGuidByte0_2, - MSETransportGuidByte5_2, + MSETransportTime, MSETransportTime2, + MSETransportGuidByte3_2, + MSETransportGuidByte6_2, + MSETransportTime3, MSETransportGuidByte7_2, - MSETransportGuidByte4_2, + MSETransportGuidByte5_2, MSETransportGuidByte2_2, - MSEGuidByte5_2, - MSEGuidByte1_2, - MSEGuidByte4_2, - MSEGuidByte2_2, - MSEGuidByte0_2, - MSESplineElev, - MSEGuidByte6_2, - MSEFallVerticalSpeed, - MSEFallTime, - MSEFallHorizontalSpeed, - MSEFallCosAngle, - MSEFallSinAngle, - MSEGuidByte7_2, - MSEPitch, + MSETransportGuidByte1_2, + MSETransportGuidByte0_2, + MSETransportGuidByte4_2, }; MovementStatusElements MovementStartStrafeRightSequence[] = { @@ -930,70 +930,70 @@ MovementStatusElements MovementStopSequence[] = { MSEGuidByte6_2, MSEGuidByte4_2, }; - +//4.2.2 MovementStatusElements MovementStopStrafeSequence[] = { - MSEGuidByte3, - MSEFlags, - MSEHaveSpline, MSEGuidByte4, - MSEGuidByte0, MSEFlags2, - MSEGuidByte5, - MSEGuidByte6, - MSEGuidByte7, + MSEGuidByte3, MSEGuidByte1, + MSEFlags, + MSEGuidByte5, + MSEHaveSpline, MSEGuidByte2, - MSEHaveTransportData, - MSETransportGuidByte6, - MSETransportGuidByte3, - MSETransportGuidByte7, - MSETransportGuidByte4, - MSETransportGuidByte1, - MSETransportGuidByte0, - MSETransportGuidByte2, - MSETransportGuidByte5, - MSETransportHaveTime3, - MSETransportHaveTime2, - MSEHaveSplineElev, - MSEHavePitch, + MSEGuidByte6, + MSEGuidByte0, + MSEGuidByte7, MSEHaveFallData, MSEHaveFallDirection, + MSEHavePitch, + MSEHaveSplineElev, + MSEHaveTransportData, + MSETransportGuidByte0, + MSETransportGuidByte6, + MSETransportGuidByte2, + MSETransportGuidByte5, + MSETransportGuidByte4, + MSETransportGuidByte1, + MSETransportGuidByte3, + MSETransportGuidByte7, + MSETransportHaveTime2, + MSETransportHaveTime3, + MSEPositionO, + MSETimestamp, MSEPositionX, MSEPositionY, MSEPositionZ, - MSEPositionO, - MSETimestamp, + MSEGuidByte1_2, MSEGuidByte2_2, - MSEGuidByte7_2, + MSEGuidByte6_2, MSEGuidByte5_2, - MSETransportTime, + MSEGuidByte7_2, + MSEGuidByte0_2, + MSEFallTime, + MSEFallVerticalSpeed, + MSEFallHorizontalSpeed, + MSEFallSinAngle, + MSEFallCosAngle, + MSEGuidByte3_2, + MSEPitch, + MSESplineElev, + MSETransportSeat, + MSETransportPositionO, MSETransportPositionX, MSETransportPositionY, MSETransportPositionZ, - MSETransportPositionO, - MSETransportSeat, - MSETransportGuidByte3_2, - MSETransportGuidByte1_2, - MSETransportTime3, - MSETransportGuidByte6_2, - MSETransportGuidByte0_2, - MSETransportGuidByte5_2, + MSETransportTime, MSETransportTime2, + MSETransportGuidByte3_2, + MSETransportGuidByte6_2, + MSETransportTime3, MSETransportGuidByte7_2, - MSETransportGuidByte4_2, + MSETransportGuidByte5_2, MSETransportGuidByte2_2, - MSEGuidByte0_2, - MSESplineElev, - MSEPitch, - MSEFallVerticalSpeed, - MSEFallTime, - MSEFallHorizontalSpeed, - MSEFallCosAngle, - MSEFallSinAngle, - MSEGuidByte1_2, - MSEGuidByte3_2, + MSETransportGuidByte1_2, + MSETransportGuidByte0_2, + MSETransportGuidByte4_2, MSEGuidByte4_2, - MSEGuidByte6_2, }; MovementStatusElements MovementStopTurnSequence[] = { @@ -1341,7 +1341,7 @@ MovementStatusElements* GetMovementStatusElementsSequence(Opcodes opcode) return MovementStartBackwardSequence; case MSG_MOVE_START_FORWARD://done return MovementStartForwardSequence; - case MSG_MOVE_START_STRAFE_LEFT: + case MSG_MOVE_START_STRAFE_LEFT://done return MovementStartStrafeLeftSequence; case MSG_MOVE_START_STRAFE_RIGHT: return MovementStartStrafeRightSequence; @@ -1351,7 +1351,7 @@ MovementStatusElements* GetMovementStatusElementsSequence(Opcodes opcode) return MovementStartTurnRightSequence; case MSG_MOVE_STOP://done return MovementStopSequence; - case MSG_MOVE_STOP_STRAFE: + case MSG_MOVE_STOP_STRAFE://done return MovementStopStrafeSequence; case MSG_MOVE_STOP_TURN: return MovementStopTurnSequence;