comparison Actor.cpp @ 327:a7f15da53e82

Слияние
author Ritor1
date Wed, 20 Feb 2013 11:27:06 +0600
parents d720a13e2273
children edd2d8b7e3c4
comparison
equal deleted inserted replaced
326:ead95219160c 327:a7f15da53e82
3344 return; 3344 return;
3345 } 3345 }
3346 v18 = 16; 3346 v18 = 16;
3347 if ( arg0 % 2 ) 3347 if ( arg0 % 2 )
3348 v18 = -16; 3348 v18 = -16;
3349 v12 = ((unsigned __int64)(stru_5C6E00->SinCos(v18 + stru_5C6E00->uIntegerPi + v10->uYawAngle) 3349 v12 = ((unsigned __int64)(stru_5C6E00->Cos(v18 + stru_5C6E00->uIntegerPi + v10->uYawAngle) * (signed __int64)v10->uDistanceXZ) >> 16)
3350 * (signed __int64)v10->uDistanceXZ) >> 16)
3351 + pParty->vPosition.x; 3350 + pParty->vPosition.x;
3352 v13 = stru_5C6E00->uIntegerPi + v10->uYawAngle; 3351 v13 = stru_5C6E00->uIntegerPi + v10->uYawAngle;
3353 v17 = v12; 3352 v17 = v12;
3354 v19 = stru_5C6E00->SinCos(v18 + v13 - stru_5C6E00->uIntegerHalfPi); 3353 v19 = stru_5C6E00->Sin(v18 + v13);
3355 v7->uYawAngle = stru_5C6E00->Atan2( 3354 v7->uYawAngle = stru_5C6E00->Atan2(
3356 v17 - v7->vPosition.x, 3355 v17 - v7->vPosition.x,
3357 pParty->vPosition.y 3356 pParty->vPosition.y
3358 + ((unsigned __int64)(v19 * (signed __int64)v10->uDistanceXZ) >> 16) 3357 + ((unsigned __int64)(v19 * (signed __int64)v10->uDistanceXZ) >> 16)
3359 - v7->vPosition.y); 3358 - v7->vPosition.y);
4126 v8->pMonsterInfo.uTreasureType = 0; 4125 v8->pMonsterInfo.uTreasureType = 0;
4127 v8->pMonsterInfo.uExp = 0; 4126 v8->pMonsterInfo.uExp = 0;
4128 v8->uMovementSpeed = v11; 4127 v8->uMovementSpeed = v11;
4129 v12 = rand(); 4128 v12 = rand();
4130 v13 = v12 % 2048; 4129 v13 = v12 % 2048;
4131 v14 = stru_5C6E00->SinCos(v12 % 2048); 4130 v14 = stru_5C6E00->Cos(v12 % 2048);
4132 v26 = v14; 4131 v26 = v14;
4133 v15 = ((unsigned __int64)(v14 * (signed __int64)v27) >> 16) + v30->vPosition.x; 4132 v15 = ((unsigned __int64)(v14 * (signed __int64)v27) >> 16) + v30->vPosition.x;
4134 v16 = stru_5C6E00->SinCos(v13 - stru_5C6E00->uIntegerHalfPi); 4133 v16 = stru_5C6E00->Sin(v13);
4135 v26 = v16; 4134 v26 = v16;
4136 v29 = (unsigned __int64)(v16 * (signed __int64)v27) >> 16; 4135 v29 = (unsigned __int64)(v16 * (signed __int64)v27) >> 16;
4137 LOWORD(v16) = uFaceID; 4136 LOWORD(v16) = uFaceID;
4138 v17 = v29 + v30->vPosition.y; 4137 v17 = v29 + v30->vPosition.y;
4139 v8->vInitialPosition.z = uFaceID; 4138 v8->vInitialPosition.z = uFaceID;