comparison Actor.cpp @ 1643:7182930263b3

fixpoint functions renaming
author zipi
date Tue, 17 Sep 2013 19:24:23 +0100
parents afc1c3514dd5
children 8251e59fd7c1
comparison
equal deleted inserted replaced
1642:8971dc85b8fb 1643:7182930263b3
3142 v18 = 16; 3142 v18 = 16;
3143 if ( arg0 % 2 ) 3143 if ( arg0 % 2 )
3144 v18 = -16; 3144 v18 = -16;
3145 3145
3146 v7->uYawAngle = stru_5C6E00->Atan2( 3146 v7->uYawAngle = stru_5C6E00->Atan2(
3147 pParty->vPosition.x + fixpoint_sub0(stru_5C6E00->Cos(v18 + stru_5C6E00->uIntegerPi + v10->uYawAngle), v10->uDistanceXZ) - v7->vPosition.x, 3147 pParty->vPosition.x + fixpoint_mul(stru_5C6E00->Cos(v18 + stru_5C6E00->uIntegerPi + v10->uYawAngle), v10->uDistanceXZ) - v7->vPosition.x,
3148 pParty->vPosition.y + fixpoint_sub0(stru_5C6E00->Sin(v18 + stru_5C6E00->uIntegerPi + v10->uYawAngle), v10->uDistanceXZ) - v7->vPosition.y); 3148 pParty->vPosition.y + fixpoint_mul(stru_5C6E00->Sin(v18 + stru_5C6E00->uIntegerPi + v10->uYawAngle), v10->uDistanceXZ) - v7->vPosition.y);
3149 if ( uActionLength ) 3149 if ( uActionLength )
3150 v7->uCurrentActionLength = uActionLength; 3150 v7->uCurrentActionLength = uActionLength;
3151 else 3151 else
3152 v7->uCurrentActionLength = 128; 3152 v7->uCurrentActionLength = 128;
3153 v7->uPitchAngle = LOWORD(v10->uPitchAngle); 3153 v7->uPitchAngle = LOWORD(v10->uPitchAngle);