mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Remove unused arguments from Graphics::drawtile2()
The 'r', 'g', and 'b' arguments do absolutely nothing. Except unlike Graphics::drawtile(), there's only one version of Graphics::drawtile2(), so just remove those args and update callers.
This commit is contained in:
@@ -2312,7 +2312,7 @@ void editorrender()
|
||||
for (int i = 0; i < 40; i++)
|
||||
{
|
||||
temp=ed.contents[i + (ed.levx*40) + ed.vmult[j+(ed.levy*30)]];
|
||||
if(temp>0) graphics.drawtile2(i*8,j*8,temp,0,0,0);
|
||||
if(temp>0) graphics.drawtile2(i*8,j*8,temp);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2751,11 +2751,11 @@ void editorrender()
|
||||
{
|
||||
for(int i=0; i<40; i++)
|
||||
{
|
||||
graphics.drawtile2(i*8,0-t2,(temp+1200+i)%1200,0,0,0);
|
||||
graphics.drawtile2(i*8,8-t2,(temp+1200+40+i)%1200,0,0,0);
|
||||
graphics.drawtile2(i*8,16-t2,(temp+1200+80+i)%1200,0,0,0);
|
||||
graphics.drawtile2(i*8,24-t2,(temp+1200+120+i)%1200,0,0,0);
|
||||
graphics.drawtile2(i*8,32-t2,(temp+1200+160+i)%1200,0,0,0);
|
||||
graphics.drawtile2(i*8,0-t2,(temp+1200+i)%1200);
|
||||
graphics.drawtile2(i*8,8-t2,(temp+1200+40+i)%1200);
|
||||
graphics.drawtile2(i*8,16-t2,(temp+1200+80+i)%1200);
|
||||
graphics.drawtile2(i*8,24-t2,(temp+1200+120+i)%1200);
|
||||
graphics.drawtile2(i*8,32-t2,(temp+1200+160+i)%1200);
|
||||
}
|
||||
}
|
||||
//Highlight our little block
|
||||
@@ -2776,7 +2776,7 @@ void editorrender()
|
||||
}
|
||||
else
|
||||
{
|
||||
graphics.drawtile2(45,45-t2,ed.dmtile,0,0,0);
|
||||
graphics.drawtile2(45,45-t2,ed.dmtile);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -2792,7 +2792,7 @@ void editorrender()
|
||||
}
|
||||
else
|
||||
{
|
||||
graphics.drawtile2(45,12,ed.dmtile,0,0,0);
|
||||
graphics.drawtile2(45,12,ed.dmtile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user