Mercurial > mm7
comparison Render.cpp @ 1848:3b39b70e8e93
Merge
author | Nomad |
---|---|
date | Sun, 13 Oct 2013 21:13:08 +0200 |
parents | 4359a15360e3 |
children | 79ac2dbedfb9 |
comparison
equal
deleted
inserted
replaced
1847:b6252811663d | 1848:3b39b70e8e93 |
---|---|
5159 //v14 = (char *)&array_507D30[0].vWorldViewProjY; | 5159 //v14 = (char *)&array_507D30[0].vWorldViewProjY; |
5160 int _507D30_idx = 0; | 5160 int _507D30_idx = 0; |
5161 while ( 2 ) | 5161 while ( 2 ) |
5162 { | 5162 { |
5163 v15 = (void *)(v72 * (v70 - (int)array_507D30[_507D30_idx].vWorldViewProjY)); | 5163 v15 = (void *)(v72 * (v70 - (int)array_507D30[_507D30_idx].vWorldViewProjY)); |
5164 v77 = (unsigned __int64)(v62.ptr_38->field_14 * (signed __int64)(signed int)v15) >> 16; | 5164 v77 = (unsigned __int64)(v62.ptr_38->viewing_angle_from_west_east * (signed __int64)(signed int)v15) >> 16; |
5165 v74 = v77 + v62.ptr_38->angle_from_north; | 5165 v74 = v77 + v62.ptr_38->angle_from_north; |
5166 v77 = (int)v15; | 5166 v77 = (int)v15; |
5167 v77 = (unsigned __int64)(v62.ptr_38->viewing_angle * (signed __int64)(signed int)v15) >> 16; | 5167 v77 = (unsigned __int64)(v62.ptr_38->viewing_angle_from_north_south * (signed __int64)(signed int)v15) >> 16; |
5168 v79 = v15; | 5168 v79 = v15; |
5169 v75 = (RenderVertexSoft *)(v77 + v62.ptr_38->angle_from_east); | 5169 v75 = (RenderVertexSoft *)(v77 + v62.ptr_38->angle_from_east); |
5170 v79 = (void *)((unsigned __int64)(v62.v_18.z * (signed __int64)(signed int)v15) >> 16); | 5170 v79 = (void *)((unsigned __int64)(v62.v_18.z * (signed __int64)(signed int)v15) >> 16); |
5171 v17 = v72 * (pBLVRenderParams->uViewportCenterX - (int)array_507D30[_507D30_idx].vWorldViewProjX); | 5171 v17 = v72 * (pBLVRenderParams->uViewportCenterX - (int)array_507D30[_507D30_idx].vWorldViewProjX); |
5172 v18 = array_507D30[_507D30_idx].vWorldViewProjY - 1.0; | 5172 v18 = array_507D30[_507D30_idx].vWorldViewProjY - 1.0; |
5274 v65 = v77 >> 14; | 5274 v65 = v77 >> 14; |
5275 HIDWORD(v69) = LODWORD(v73); | 5275 HIDWORD(v69) = LODWORD(v73); |
5276 do | 5276 do |
5277 { | 5277 { |
5278 v35 = (const void *)(v72 * (v70 - (unsigned __int64)(signed __int64)*(float *)v34)); | 5278 v35 = (const void *)(v72 * (v70 - (unsigned __int64)(signed __int64)*(float *)v34)); |
5279 v78 = v62.ptr_38->field_14; | 5279 v78 = v62.ptr_38->viewing_angle_from_west_east; |
5280 v81 = (const void *)((unsigned __int64)(v78 * (signed __int64)(signed int)v35) >> 16); | 5280 v81 = (const void *)((unsigned __int64)(v78 * (signed __int64)(signed int)v35) >> 16); |
5281 v36 = (int)((char *)v81 + v62.ptr_38->angle_from_north); | 5281 v36 = (int)((char *)v81 + v62.ptr_38->angle_from_north); |
5282 v81 = v35; | 5282 v81 = v35; |
5283 v74 = v36; | 5283 v74 = v36; |
5284 v78 = v62.ptr_38->viewing_angle; | 5284 v78 = v62.ptr_38->viewing_angle_from_north_south; |
5285 v81 = (const void *)((unsigned __int64)(v78 * (signed __int64)(signed int)v35) >> 16); | 5285 v81 = (const void *)((unsigned __int64)(v78 * (signed __int64)(signed int)v35) >> 16); |
5286 v78 = (int)v35; | 5286 v78 = (int)v35; |
5287 v75 = (RenderVertexSoft *)((char *)v81 + v62.ptr_38->angle_from_east); | 5287 v75 = (RenderVertexSoft *)((char *)v81 + v62.ptr_38->angle_from_east); |
5288 v81 = (const void *)v62.v_18.z; | 5288 v81 = (const void *)v62.v_18.z; |
5289 v78 = (unsigned __int64)(v62.v_18.z * (signed __int64)(signed int)v35) >> 16; | 5289 v78 = (unsigned __int64)(v62.v_18.z * (signed __int64)(signed int)v35) >> 16; |