comparison Indoor.cpp @ 295:640a176c030f

sub_42ECB5
author Nomad
date Tue, 19 Feb 2013 13:29:02 +0200
parents 96bc024a5fed
children af7e848d6def
comparison
equal deleted inserted replaced
275:250e49fef6f6 295:640a176c030f
4224 { 4224 {
4225 if ( (v36 & 7) != OBJECT_Player) 4225 if ( (v36 & 7) != OBJECT_Player)
4226 { 4226 {
4227 if ( (v36 & 7) == OBJECT_Decoration) 4227 if ( (v36 & 7) == OBJECT_Decoration)
4228 { 4228 {
4229 _this = sub_452A9E(v0->vVelocity.x * v0->vVelocity.x + v0->vVelocity.y * v0->vVelocity.y); 4229 _this = integer_sqrt(v0->vVelocity.x * v0->vVelocity.x + v0->vVelocity.y * v0->vVelocity.y);
4230 v45 = stru_5C6E00->Atan2( 4230 v45 = stru_5C6E00->Atan2(
4231 v0->vPosition.x - pLevelDecorations[v37].vPosition.x, 4231 v0->vPosition.x - pLevelDecorations[v37].vPosition.x,
4232 v0->vPosition.y - pLevelDecorations[v37].vPosition.y); 4232 v0->vPosition.y - pLevelDecorations[v37].vPosition.y);
4233 v54 = stru_5C6E00->SinCos(v45); 4233 v54 = stru_5C6E00->SinCos(v45);
4234 v56 = (unsigned __int64)(v54 * (signed __int64)(signed int)_this) >> 16; 4234 v56 = (unsigned __int64)(v54 * (signed __int64)(signed int)_this) >> 16;