comparison 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
comparison
equal deleted inserted replaced
708:af5771589d22 709:af08fc9e29c8
9828 unsigned int i; // ebx@3 9828 unsigned int i; // ebx@3
9829 9829
9830 v3 = pXYZW; 9830 v3 = pXYZW;
9831 v4 = uColor; 9831 v4 = uColor;
9832 pRenderer->BeginScene(); 9832 pRenderer->BeginScene();
9833 pRenderer->Clip_v2(0, 0, 639u, 479u); 9833 pRenderer->SetRasterClipRect(0, 0, 639u, 479u);
9834 if ( bSolidFill ) 9834 if ( bSolidFill )
9835 { 9835 {
9836 for ( i = v3->y; (signed int)i <= v3->w; ++i ) 9836 for ( i = v3->y; (signed int)i <= v3->w; ++i )
9837 pRenderer->Line2D(v3->x, i, v3->z, i, v4); 9837 pRenderer->RasterLine2D(v3->x, i, v3->z, i, v4);
9838 } 9838 }
9839 else 9839 else
9840 { 9840 {
9841 pRenderer->Line2D(v3->x, v3->y, v3->z, v3->y, v4); 9841 pRenderer->RasterLine2D(v3->x, v3->y, v3->z, v3->y, v4);
9842 pRenderer->Line2D(v3->z, v3->y, v3->z, v3->w, v4); 9842 pRenderer->RasterLine2D(v3->z, v3->y, v3->z, v3->w, v4);
9843 pRenderer->Line2D(v3->z, v3->w, v3->x, v3->w, v4); 9843 pRenderer->RasterLine2D(v3->z, v3->w, v3->x, v3->w, v4);
9844 pRenderer->Line2D(v3->x, v3->w, v3->x, v3->y, v4); 9844 pRenderer->RasterLine2D(v3->x, v3->w, v3->x, v3->y, v4);
9845 } 9845 }
9846 pRenderer->EndScene(); 9846 pRenderer->EndScene();
9847 } 9847 }
9848 9848
9849 9849