Mercurial > mm7
comparison mm7_3.cpp @ 734:2f4e33c1ed24
stru154
author | Nomad |
---|---|
date | Fri, 22 Mar 2013 16:16:40 +0200 |
parents | 9d13d2ec35a6 |
children | cd9ae9a2c99c |
comparison
equal
deleted
inserted
replaced
733:700b58aac975 | 734:2f4e33c1ed24 |
---|---|
4868 v31->std__vector_000004_size = 0; | 4868 v31->std__vector_000004_size = 0; |
4869 LOBYTE(v31) = 0; | 4869 LOBYTE(v31) = 0; |
4870 if ( stru_F8AD28.uNumLightsApplied > 0 || pDecalBuilder->uNumDecals > 0 ) | 4870 if ( stru_F8AD28.uNumLightsApplied > 0 || pDecalBuilder->uNumDecals > 0 ) |
4871 { | 4871 { |
4872 v31 = (LightmapBuilder *)(v50 ? 3 : v49 != 0 ? 5 : 0); | 4872 v31 = (LightmapBuilder *)(v50 ? 3 : v49 != 0 ? 5 : 0); |
4873 static_RenderBuildingsD3D_stru_73C834._49B04D(pFace, (BSPVertexBuffer *)v56 - 1); | 4873 static_RenderBuildingsD3D_stru_73C834.GetFacePlaneAndClassify(pFace, (BSPVertexBuffer *)v56 - 1); |
4874 if ( pDecalBuilder->uNumDecals > 0 ) | 4874 if ( pDecalBuilder->uNumDecals > 0 ) |
4875 { | 4875 { |
4876 v40 = -1; | 4876 v40 = -1; |
4877 v39 = v31; | 4877 v39 = v31; |
4878 v38 = 0; | 4878 v38 = 0; |
5241 else | 5241 else |
5242 { | 5242 { |
5243 v35 = (BSPVertexBuffer *)(v78 - 2); | 5243 v35 = (BSPVertexBuffer *)(v78 - 2); |
5244 v12->field_108 = 1; | 5244 v12->field_108 = 1; |
5245 | 5245 |
5246 static_sub_004789DE_stru_73C818._49B04D((ODMFace *)v3, v35); | 5246 static_sub_004789DE_stru_73C818.GetFacePlaneAndClassify((ODMFace *)v3, v35); |
5247 v55 = static_sub_004789DE_stru_73C818.face_plane.vNormal.x; | 5247 v55 = static_sub_004789DE_stru_73C818.face_plane.vNormal.x; |
5248 v56 = static_sub_004789DE_stru_73C818.face_plane.vNormal.y; | 5248 v56 = static_sub_004789DE_stru_73C818.face_plane.vNormal.y; |
5249 v57 = static_sub_004789DE_stru_73C818.face_plane.vNormal.z; | 5249 v57 = static_sub_004789DE_stru_73C818.face_plane.vNormal.z; |
5250 pGame->pLightmapBuilder->_45CA88(&stru_F8AD28, array_50AC10, v26, (Vec3_float_ *)&v55); | 5250 pGame->pLightmapBuilder->_45CA88(&stru_F8AD28, array_50AC10, v26, (Vec3_float_ *)&v55); |
5251 } | 5251 } |