comparison stru10.cpp @ 683:d4497b76a863

m
author Ritor1
date Fri, 15 Mar 2013 18:28:37 +0600
parents 9c0607679772
children 08b6d89d6a10
comparison
equal deleted inserted replaced
682:ee978b573798 683:d4497b76a863
740 740
741 //----- (0049C5DA) -------------------------------------------------------- 741 //----- (0049C5DA) --------------------------------------------------------
742 char stru10::_49C5DA(BLVFace *a2, RenderVertexSoft *a3, int *a4, IndoorCameraD3D_Vec4 *a5, RenderVertexSoft *a6) 742 char stru10::_49C5DA(BLVFace *a2, RenderVertexSoft *a3, int *a4, IndoorCameraD3D_Vec4 *a5, RenderVertexSoft *a6)
743 { 743 {
744 stru10 *v6; // edi@1 744 stru10 *v6; // edi@1
745 char *v7; // eax@1 745 float *v7; // eax@1
746 signed int v8; // ecx@1 746 signed int v8; // ecx@1
747 IndoorCameraD3D *v9; // esi@3 747 IndoorCameraD3D *pIndoorCamera; // esi@3
748 char result; // al@6 748 char result; // al@6
749 RenderVertexSoft a4a[4]; // [sp+Ch] [bp-C0h]@1 749 RenderVertexSoft a4a[4]; // [sp+Ch] [bp-C0h]@1
750 750
751 v6 = this; 751 v6 = this;
752 v7 = (char *)&a4a[0].flt_2C; 752 v7 = &a4a[0].flt_2C;
753 v8 = 4; 753 v8 = 4;
754 do 754 do
755 { 755 {
756 *(float *)v7 = 0.0; 756 *v7 = 0.0;
757 v7 += 48; 757 v7 += 12;
758 --v8; 758 --v8;
759 } 759 }
760 while ( v8 ); 760 while ( v8 );
761 v9 = pGame->pIndoorCameraD3D; 761 //pIndoorCamera = pGame->pIndoorCameraD3D;
762 _49CE9E(a2, a3, *a4, a4a); 762 _49CE9E(a2, a3, *a4, a4a);
763 if ( byte_4D864C && pGame->uFlags & 8 ) 763 if ( byte_4D864C && pGame->uFlags & 8 )
764 pGame->pIndoorCameraD3D->debug_outline_sw(a4a, 4u, 0xFF1E1Eu, 0.000099999997); 764 pGame->pIndoorCameraD3D->debug_outline_sw(a4a, 4, 0xFF1E1Eu, 0.00009999999747378752);
765 result = _49C9E3(a2, a4a, 4u, a6); 765 result = _49C9E3(a2, a4a, 4u, a6);
766 if ( result ) 766 if ( result )
767 result = _49C720(a6, a5); 767 result = _49C720(a6, a5);
768 return result; 768 return result;
769 } 769 }