# HG changeset patch # User Ritor1 # Date 1386783255 -21600 # Node ID e3d70131fb8b522cfe06b7e9f36aac17d09f049f # Parent 3920278a2905604750f124e4aa83520024cb260f m diff -r 3920278a2905 -r e3d70131fb8b Indoor.cpp --- a/Indoor.cpp Wed Dec 11 23:28:05 2013 +0600 +++ b/Indoor.cpp Wed Dec 11 23:34:15 2013 +0600 @@ -937,55 +937,6 @@ } } -//----- (004B0967) -------------------------------------------------------- -void BspRenderer::DrawFaceOutlines() -{ - signed int i; // edi@1 - int v1; // esi@2 - unsigned int v2; // ecx@4 - int v3; // eax@4 - int v4; // eax@6 - unsigned __int16 *v5; // edx@6 - int v6; // ecx@7 - int v7; // esi@8 - - for ( i = 0; i < (signed int)pBspRenderer->num_faces; ++i ) - { - v1 = pBspRenderer->faces[i].uFaceID; - if ( v1 >= 0 ) - { - if ( v1 < (signed int)pIndoor->uNumFaces ) - { - v2 = pBspRenderer->faces[i].uFaceID; - pBLVRenderParams->field_7C = &pBspRenderer->nodes[pBspRenderer->faces[i].uNodeID].PortalScreenData; - v3 = GetPortalScreenCoord(v2); - if ( v3 ) - { - if ( PortalFrustrum(v3, &stru_F8A590, pBLVRenderParams->field_7C, v1) ) - { - v4 = stru_F8A590._viewport_space_y; - v5 = pBLVRenderParams->pRenderTarget; - if ( stru_F8A590._viewport_space_y <= stru_F8A590._viewport_space_w ) - { - v6 = 640 * stru_F8A590._viewport_space_y; - do - { - v5[v6 + stru_F8A590.viewport_left_side[v4]] = -1; - v7 = v6 + stru_F8A590.viewport_right_side[v4]; - v6 += 640; - v5[v7] = -1; - ++v4; - } - while ( v4 <= stru_F8A590._viewport_space_w ); - } - } - } - } - } - } -} - - //----- (004AE5BA) -------------------------------------------------------- Texture *BLVFace::GetTexture() {