Mercurial > mm7
comparison Render.cpp @ 653:431a8b0c2bf1
Blv light levels
author | Nomad |
---|---|
date | Tue, 12 Mar 2013 08:30:17 +0200 |
parents | 4f2837124c69 |
children | 7747161ea5b5 |
comparison
equal
deleted
inserted
replaced
652:1ff57450f090 | 653:431a8b0c2bf1 |
---|---|
8135 v27 = (double)(v10->uBufferHeight - v10->uAreaY); | 8135 v27 = (double)(v10->uBufferHeight - v10->uAreaY); |
8136 if ( v4->uFlags & 4 ) | 8136 if ( v4->uFlags & 4 ) |
8137 v31 = v31 * -1.0; | 8137 v31 = v31 * -1.0; |
8138 if ( v4->uTintColor && v26->bTinting ) | 8138 if ( v4->uTintColor && v26->bTinting ) |
8139 { | 8139 { |
8140 v11 = GetActorTintColor(v8, 0, pSoftBillboarda, 0, 0); | 8140 v11 = ::GetActorTintColor(v8, 0, pSoftBillboarda, 0, 0); |
8141 v12 = sub_4A19D8(v4->uTintColor, v11); | 8141 v12 = sub_4A19D8(v4->uTintColor, v11); |
8142 if ( v28 ) | 8142 if ( v28 ) |
8143 v12 = (unsigned int)((char *)&array_77EC08[1852].pEdgeList1[17] + 3) & ((unsigned int)v12 >> 1); | 8143 v12 = (unsigned int)((char *)&array_77EC08[1852].pEdgeList1[17] + 3) & ((unsigned int)v12 >> 1); |
8144 } | 8144 } |
8145 else | 8145 else |
8146 { | 8146 { |
8147 v12 = GetActorTintColor(v8, 0, pSoftBillboarda, 0, 0); | 8147 v12 = ::GetActorTintColor(v8, 0, pSoftBillboarda, 0, 0); |
8148 } | 8148 } |
8149 v13 = (double)v25; | 8149 v13 = (double)v25; |
8150 pBillboardRenderListD3D[v9].pQuards[0].specular = 0; | 8150 pBillboardRenderListD3D[v9].pQuards[0].specular = 0; |
8151 pBillboardRenderListD3D[v9].pQuards[0].diffuse = v12; | 8151 pBillboardRenderListD3D[v9].pQuards[0].diffuse = v12; |
8152 pBillboardRenderListD3D[v9].pQuards[0].pos.x = v13 - v31 * a1; | 8152 pBillboardRenderListD3D[v9].pQuards[0].pos.x = v13 - v31 * a1; |