Mercurial > mm7
comparison Indoor.cpp @ 486:7887a9cf9e7b
Spells
author | Nomad |
---|---|
date | Wed, 27 Feb 2013 17:29:05 +0200 |
parents | 7dfe960c323c |
children | cb0ad52d6a26 |
comparison
equal
deleted
inserted
replaced
485:b6bdfaa3ae0f | 486:7887a9cf9e7b |
---|---|
314 if (pBLVRenderParams->uPartySectorID) | 314 if (pBLVRenderParams->uPartySectorID) |
315 IndoorLocation::ExecDraw(pRenderer->pRenderD3D != 0); | 315 IndoorLocation::ExecDraw(pRenderer->pRenderD3D != 0); |
316 pRenderer->DrawBillboardList_BLV(); | 316 pRenderer->DrawBillboardList_BLV(); |
317 if ( !pRenderer->pRenderD3D ) | 317 if ( !pRenderer->pRenderD3D ) |
318 { | 318 { |
319 if ( pBLVRenderParams->uFlags & 2 ) | 319 if (pBLVRenderParams->uFlags & INDOOR_CAMERA_DRAW_D3D_OUTLINES) |
320 stru170_sub_4B0967(); | 320 pBspRenderer->DrawFaceOutlines(); |
321 if ( pBLVRenderParams->uFlags & 1 ) | 321 if (pBLVRenderParams->uFlags & INDOOR_CAMERA_DRAW_SW_OUTLINES) |
322 { | 322 { |
323 v1 = pBLVRenderParams->pRenderTarget; | 323 v1 = pBLVRenderParams->pRenderTarget; |
324 v6 = 0; | 324 v6 = 0; |
325 if ( (signed int)pBspRenderer->std__vector_000FA8 > 0 ) | 325 if ( (signed int)pBspRenderer->std__vector_000FA8 > 0 ) |
326 { | 326 { |
1453 v31 = v30 + 1; | 1453 v31 = v30 + 1; |
1454 std__vector_000FA8 = v31; | 1454 std__vector_000FA8 = v31; |
1455 sub_440639(v31 - 1); | 1455 sub_440639(v31 - 1); |
1456 } | 1456 } |
1457 } | 1457 } |
1458 if ( pBLVRenderParams->uFlags & 1 ) | 1458 if (pBLVRenderParams->uFlags & INDOOR_CAMERA_DRAW_SW_OUTLINES) |
1459 pGame->pIndoorCameraD3D->PrepareAndDrawDebugOutline(pFace, 0x1E1EFF); | 1459 pGame->pIndoorCameraD3D->PrepareAndDrawDebugOutline(pFace, 0x1E1EFF); |
1460 } | 1460 } |
1461 } | 1461 } |
1462 } | 1462 } |
1463 } | 1463 } |
1612 } | 1612 } |
1613 } | 1613 } |
1614 } | 1614 } |
1615 | 1615 |
1616 //----- (004B0967) -------------------------------------------------------- | 1616 //----- (004B0967) -------------------------------------------------------- |
1617 void __cdecl stru170_sub_4B0967() | 1617 void BspRenderer::DrawFaceOutlines() |
1618 { | 1618 { |
1619 signed int i; // edi@1 | 1619 signed int i; // edi@1 |
1620 int v1; // esi@2 | 1620 int v1; // esi@2 |
1621 unsigned int v2; // ecx@4 | 1621 unsigned int v2; // ecx@4 |
1622 int v3; // eax@4 | 1622 int v3; // eax@4 |