Mercurial > mm7
comparison mm7_4.cpp @ 1372:5572e7b02f45
m
author | Ritor1 |
---|---|
date | Mon, 15 Jul 2013 17:09:22 +0600 |
parents | d6cf8ead9242 |
children | b51332ab228f |
comparison
equal
deleted
inserted
replaced
1371:d1c8121cf0ad | 1372:5572e7b02f45 |
---|---|
3495 if ( !pRenderer->pRenderD3D ) | 3495 if ( !pRenderer->pRenderD3D ) |
3496 { | 3496 { |
3497 result = GetPortalScreenCoord(sFaceID); | 3497 result = GetPortalScreenCoord(sFaceID); |
3498 if ( result ) | 3498 if ( result ) |
3499 { | 3499 { |
3500 result = sub_424829(result, &stru_F8A590, pBLVRenderParams->field_7C, v2); | 3500 result = PortalFrustrum(result, &stru_F8A590, pBLVRenderParams->field_7C, v2); |
3501 if ( result ) | 3501 if ( result ) |
3502 { | 3502 { |
3503 result = (int)v3->GetTexture(); | 3503 result = (int)v3->GetTexture(); |
3504 v4 = (Texture *)result; | 3504 v4 = (Texture *)result; |
3505 v96 = (Texture *)result; | 3505 v96 = (Texture *)result; |
3960 else | 3960 else |
3961 { | 3961 { |
3962 v59 = GetPortalScreenCoord(uFaceID); | 3962 v59 = GetPortalScreenCoord(uFaceID); |
3963 v3 = v59; | 3963 v3 = v59; |
3964 } | 3964 } |
3965 if ( v3 && (pRenderer->pRenderD3D || sub_424829(v3, &stru_F8A590, pBLVRenderParams->field_7C, v1)) ) | 3965 if ( v3 && (pRenderer->pRenderD3D || PortalFrustrum(v3, &stru_F8A590, pBLVRenderParams->field_7C, v1)) ) |
3966 { | 3966 { |
3967 v4 = v2->GetTexture(); | 3967 v4 = v2->GetTexture(); |
3968 v5 = 0; | 3968 v5 = 0; |
3969 if ( v4 ) | 3969 if ( v4 ) |
3970 { | 3970 { |