comparison mm7_3.cpp @ 127:9eac46182d8f

Слияние
author Ritor1
date Sun, 04 Nov 2012 09:37:39 +0600
parents 6305c1cd9f6e
children 8be5293b6b33 ccc0cf95706a
comparison
equal deleted inserted replaced
126:2331a331d36a 127:9eac46182d8f
12902 } 12902 }
12903 pStru170->MakeVisibleSectorList(); 12903 pStru170->MakeVisibleSectorList();
12904 } 12904 }
12905 12905
12906 //----- (0043F9E1) -------------------------------------------------------- 12906 //----- (0043F9E1) --------------------------------------------------------
12907 __int16 *stru170_stru2::_43F9E1(__int16 x, int y, __int16 z, int w) 12907 void stru170_stru2::_43F9E1(__int16 x, int y, __int16 z, int w)
12908 { 12908 {
12909 signed int v5; // edx@1 12909 __debugbreak();
12910 __int16 *result; // eax@1 12910
12911 12911 _viewport_space_y = y;
12912 auto a2 = x; 12912 _viewport_space_w = w;
12913 auto a3 = y; 12913
12914 auto a4 = z; 12914 for (uint i = 0; i < 480; ++i)
12915 auto a5 = w; 12915 {
12916 12916 if ( i < y || i > w )
12917 this->_viewport_space_y = a3; 12917 {
12918 this->field_4 = a5; 12918 array_3D8[i] = -1;
12919 v5 = 0; 12919 array_18[i] = 640;
12920 result = this->array_3D8;
12921 do
12922 {
12923 if ( v5 < a3 || v5 > a5 )
12924 {
12925 *result = -1;
12926 *(result - 480) = 640;
12927 } 12920 }
12928 else 12921 else
12929 { 12922 {
12930 *(result - 480) = a2; 12923 array_18[i] = x;
12931 *result = a4; 12924 array_3D8[i] = z;
12932 } 12925 }
12933 ++v5; 12926 }
12934 ++result;
12935 }
12936 while ( v5 < 480 );
12937 return result;
12938 } 12927 }
12939 12928
12940 //----- (0043FA33) -------------------------------------------------------- 12929 //----- (0043FA33) --------------------------------------------------------
12941 void __fastcall PrepareDecorationsRenderList_BLV(unsigned int uDecorationID, unsigned int uSectorID) 12930 void __fastcall PrepareDecorationsRenderList_BLV(unsigned int uDecorationID, unsigned int uSectorID)
12942 { 12931 {