Mercurial > mm7
comparison mm7_1.cpp @ 1368:cc2a25ce8ed2
Merge
author | Gloval |
---|---|
date | Mon, 15 Jul 2013 08:18:35 +0400 |
parents | 65379a50e4eb |
children | cc9a3a24d61d |
comparison
equal
deleted
inserted
replaced
1367:e33188605eeb | 1368:cc2a25ce8ed2 |
---|---|
545 v4 = &pIndoor->pVertices[*v2->pVertexIDs]; | 545 v4 = &pIndoor->pVertices[*v2->pVertexIDs]; |
546 if ( v2->pFacePlane_old.vNormal.x * ((signed __int16)*(int *)&v4->x - pBLVRenderParams->vPartyPos.x) | 546 if ( v2->pFacePlane_old.vNormal.x * ((signed __int16)*(int *)&v4->x - pBLVRenderParams->vPartyPos.x) |
547 + v2->pFacePlane_old.vNormal.y * ((signed __int16)(*(int *)&v4->x >> 16) - pBLVRenderParams->vPartyPos.y) | 547 + v2->pFacePlane_old.vNormal.y * ((signed __int16)(*(int *)&v4->x >> 16) - pBLVRenderParams->vPartyPos.y) |
548 + v2->pFacePlane_old.vNormal.z * (v4->z - pBLVRenderParams->vPartyPos.z) < 0 ) | 548 + v2->pFacePlane_old.vNormal.z * (v4->z - pBLVRenderParams->vPartyPos.z) < 0 ) |
549 { | 549 { |
550 stru_50B700.field_0 = 1; | 550 PortalFace.field_0 = 1; |
551 } | 551 } |
552 else | 552 else |
553 { | 553 { |
554 stru_50B700.field_0 = 0; | 554 PortalFace.field_0 = 0; |
555 if ( !(v2->uAttributes & 1) ) | 555 if ( !(v2->uAttributes & 1) ) |
556 return 0; | 556 return 0; |
557 } | 557 } |
558 v29 = 0; | 558 v29 = 0; |
559 v5 = v2->uNumVertices; | 559 v5 = v2->uNumVertices; |
784 } | 784 } |
785 memcpy(&array_507D30[result], array_507D30, sizeof(array_507D30[result])); | 785 memcpy(&array_507D30[result], array_507D30, sizeof(array_507D30[result])); |
786 return result;*/ | 786 return result;*/ |
787 } | 787 } |
788 | 788 |
789 // 50B700: using guessed type int stru_50B700.field_0; | 789 // 50B700: using guessed type int PortalFace.field_0; |
790 | 790 |
791 //----- (00424CD7) -------------------------------------------------------- | 791 //----- (00424CD7) -------------------------------------------------------- |
792 signed int __fastcall sr_424CD7(unsigned int uVertexID) | 792 signed int __fastcall sr_424CD7(unsigned int uVertexID) |
793 { | 793 { |
794 unsigned int v1; // edx@1 | 794 unsigned int v1; // edx@1 |