Mercurial > might-and-magic-trilogy
comparison Render.cpp @ 190:d7bd52a35e52
24.12.12
author | Ritor1 |
---|---|
date | Mon, 24 Dec 2012 07:48:44 +0600 |
parents | b1f67710227f |
children | 6109a4e23903 03d52010d433 |
comparison
equal
deleted
inserted
replaced
189:cdb5d83a9fd8 | 190:d7bd52a35e52 |
---|---|
11088 | 11088 |
11089 if (p->uOpacity != RenderBillboardD3D::InvalidOpacity) | 11089 if (p->uOpacity != RenderBillboardD3D::InvalidOpacity) |
11090 SetBillboardBlendOptions(p->uOpacity); | 11090 SetBillboardBlendOptions(p->uOpacity); |
11091 | 11091 |
11092 ErrD3D(pRenderer->pRenderD3D->pDevice->SetTexture(0, p->pTexture)); | 11092 ErrD3D(pRenderer->pRenderD3D->pDevice->SetTexture(0, p->pTexture)); |
11093 ErrD3D(pRenderer->pRenderD3D->pDevice->DrawPrimitive(D3DPT_TRIANGLEFAN, | 11093 ErrD3D(pRenderer->pRenderD3D->pDevice->DrawPrimitive(D3DPT_TRIANGLEFAN, D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | D3DFVF_TEX1, |
11094 D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | D3DFVF_TEX1, | 11094 p->pQuards, p->uNumVertices, D3DDP_DONOTLIGHT | D3DDP_DONOTUPDATEEXTENTS)); |
11095 p->pQuards, | |
11096 p->uNumVertices, | |
11097 D3DDP_DONOTLIGHT | D3DDP_DONOTUPDATEEXTENTS)); | |
11098 } | 11095 } |
11099 | 11096 |
11100 if (pRenderer->bFogEnabled) | 11097 if (pRenderer->bFogEnabled) |
11101 { | 11098 { |
11102 pRenderer->bFogEnabled = false; | 11099 pRenderer->bFogEnabled = false; |