comparison mm7_3.cpp @ 98:f76e4ea4a224

Outdoor::Load
author Nomad
date Sun, 04 Nov 2012 03:58:34 +0200
parents 6c42178c226e
children 6305c1cd9f6e
comparison
equal deleted inserted replaced
95:b5e26a133fae 98:f76e4ea4a224
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 {