changeset 2087:e3d70131fb8b

m
author Ritor1
date Wed, 11 Dec 2013 23:34:15 +0600
parents 3920278a2905
children 75edfa36c4de
files Indoor.cpp
diffstat 1 files changed, 0 insertions(+), 49 deletions(-) [+]
line wrap: on
line diff
--- 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()
 {