Mercurial > mm7
comparison Render.cpp @ 1641:466c5e15f524
Excess wrapper (IndoorLocation_drawstru) removed.
author | Nomad |
---|---|
date | Tue, 17 Sep 2013 18:39:32 +0200 |
parents | afc1c3514dd5 |
children | 8971dc85b8fb |
comparison
equal
deleted
inserted
replaced
1640:afc1c3514dd5 | 1641:466c5e15f524 |
---|---|
5122 return; | 5122 return; |
5123 } | 5123 } |
5124 HIDWORD(v69) = pGame->pIndoorCameraD3D->sRotationX; | 5124 HIDWORD(v69) = pGame->pIndoorCameraD3D->sRotationX; |
5125 HIDWORD(v68) = pGame->pIndoorCameraD3D->vPartyPos.z; | 5125 HIDWORD(v68) = pGame->pIndoorCameraD3D->vPartyPos.z; |
5126 *(float *)&v74 = (double)pBLVRenderParams->uViewportCenterY; | 5126 *(float *)&v74 = (double)pBLVRenderParams->uViewportCenterY; |
5127 v70 = (signed __int64)((double)(pBLVRenderParams->field_40 * pGame->pIndoorCameraD3D->vPartyPos.z) | 5127 v70 = (signed __int64)((double)(pBLVRenderParams->fov_rad_fixpoint * pGame->pIndoorCameraD3D->vPartyPos.z) |
5128 / (((double)pBLVRenderParams->field_40 + 16192.0) | 5128 / (((double)pBLVRenderParams->fov_rad_fixpoint + 16192.0) |
5129 * 65536.0) | 5129 * 65536.0) |
5130 + *(float *)&v74); | 5130 + *(float *)&v74); |
5131 v5 = (double)pGame->pIndoorCameraD3D->sRotationX * 0.0030664064; | 5131 v5 = (double)pGame->pIndoorCameraD3D->sRotationX * 0.0030664064; |
5132 *(float *)&v75 = v5; | 5132 *(float *)&v75 = v5; |
5133 v80 = cos(v5) * 16192.0; | 5133 v80 = cos(v5) * 16192.0; |
5134 v6 = (signed __int64)(*(float *)&v74 | 5134 v6 = (signed __int64)(*(float *)&v74 |
5135 - (double)pBLVRenderParams->field_40 | 5135 - (double)pBLVRenderParams->fov_rad_fixpoint |
5136 / ((v80 + 0.0000001) | 5136 / ((v80 + 0.0000001) |
5137 * 65535.0) | 5137 * 65535.0) |
5138 * (sin(*(float *)&v75) * -16192.0 - (double)SHIDWORD(v68))); | 5138 * (sin(*(float *)&v75) * -16192.0 - (double)SHIDWORD(v68))); |
5139 v7 = pFace->uPolygonType; | 5139 v7 = pFace->uPolygonType; |
5140 if ( v7 == 4 || v7 == 3 ) | 5140 if ( v7 == 4 || v7 == 3 ) |