comparison mm7_2.cpp @ 322:ce39b96acf5c

Killing friendly peasants subs
author Nomad
date Wed, 20 Feb 2013 04:36:14 +0200
parents 2a09e1d6fc8f
children d720a13e2273 ead95219160c
comparison
equal deleted inserted replaced
321:15decc249a94 322:ce39b96acf5c
8399 { 8399 {
8400 while ( 1 ) 8400 while ( 1 )
8401 { 8401 {
8402 v9 = abs(v19.vPosition.y - pOutdoor->pBModels[v8].vBoundingCenter.y); 8402 v9 = abs(v19.vPosition.y - pOutdoor->pBModels[v8].vBoundingCenter.y);
8403 v10 = abs(v19.vPosition.x - pOutdoor->pBModels[v8].vBoundingCenter.x); 8403 v10 = abs(v19.vPosition.x - pOutdoor->pBModels[v8].vBoundingCenter.x);
8404 if ( sub_4621DA(v10, v9, 0) < pOutdoor->pBModels[v8].sBoundingRadius + 256 ) 8404 if ( int_get_vector_length(v10, v9, 0) < pOutdoor->pBModels[v8].sBoundingRadius + 256 )
8405 break; 8405 break;
8406 ++v23; 8406 ++v23;
8407 ++v8; 8407 ++v8;
8408 if ( v23 >= (signed int)pOutdoor->uNumBModels ) 8408 if ( v23 >= (signed int)pOutdoor->uNumBModels )
8409 goto LABEL_16; 8409 goto LABEL_16;
11464 11464
11465 11465
11466 11466
11467 11467
11468 //----- (004621DA) -------------------------------------------------------- 11468 //----- (004621DA) --------------------------------------------------------
11469 int __fastcall sub_4621DA(signed int a1, signed int a2, signed int a3) 11469 int __fastcall int_get_vector_length(signed int a1, signed int a2, signed int a3)
11470 { 11470 {
11471 signed int v3; // eax@2 11471 signed int v3; // eax@2
11472 signed int v4; // eax@3 11472 signed int v4; // eax@3
11473 signed int v5; // esi@4 11473 signed int v5; // esi@4
11474 signed int v6; // esi@6 11474 signed int v6; // esi@6