Mercurial > mm7
diff mm7_5.cpp @ 709:af08fc9e29c8
Items (blue dots) on minimap fixed
author | Nomad |
---|---|
date | Thu, 21 Mar 2013 12:37:49 +0200 |
parents | d6236f6a9882 |
children | 735dab8d3c9a a5e587c8e30e 737d7fec67f0 |
line wrap: on
line diff
--- a/mm7_5.cpp Thu Mar 21 10:35:13 2013 +0200 +++ b/mm7_5.cpp Thu Mar 21 12:37:49 2013 +0200 @@ -9830,18 +9830,18 @@ v3 = pXYZW; v4 = uColor; pRenderer->BeginScene(); - pRenderer->Clip_v2(0, 0, 639u, 479u); + pRenderer->SetRasterClipRect(0, 0, 639u, 479u); if ( bSolidFill ) { for ( i = v3->y; (signed int)i <= v3->w; ++i ) - pRenderer->Line2D(v3->x, i, v3->z, i, v4); + pRenderer->RasterLine2D(v3->x, i, v3->z, i, v4); } else { - pRenderer->Line2D(v3->x, v3->y, v3->z, v3->y, v4); - pRenderer->Line2D(v3->z, v3->y, v3->z, v3->w, v4); - pRenderer->Line2D(v3->z, v3->w, v3->x, v3->w, v4); - pRenderer->Line2D(v3->x, v3->w, v3->x, v3->y, v4); + pRenderer->RasterLine2D(v3->x, v3->y, v3->z, v3->y, v4); + pRenderer->RasterLine2D(v3->z, v3->y, v3->z, v3->w, v4); + pRenderer->RasterLine2D(v3->z, v3->w, v3->x, v3->w, v4); + pRenderer->RasterLine2D(v3->x, v3->w, v3->x, v3->y, v4); } pRenderer->EndScene(); }