mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Axe drawcustompixeltextbox in favor of drawpixeltextbox
I'm honestly not too sure why drawcustompixeltextbox ever existed? All it seemed to do was draw even more horizontal/vertical tiles to finish any gaps in the tiling... which was all completely unnecessary and wasteful, because even the previous drawpixeltextbox implementation covered all gaps in all custom level map sizes that I tried. Anyway, that at least gets rid of one copy-pasted function.
This commit is contained in:
@@ -2110,7 +2110,7 @@ void maprender(void)
|
||||
else if(map.custommode)
|
||||
{
|
||||
//draw the map image
|
||||
graphics.drawcustompixeltextbox(35+map.custommmxoff, 16+map.custommmyoff, map.custommmxsize+10, map.custommmysize+10, (map.custommmxsize+10)/8, (map.custommmysize+10)/8, 65, 185, 207,4,0);
|
||||
graphics.drawpixeltextbox(35+map.custommmxoff, 16+map.custommmyoff, map.custommmxsize+10, map.custommmysize+10, (map.custommmxsize+10)/8, (map.custommmysize+10)/8, 65, 185, 207,4,0);
|
||||
if (graphics.minimap_mounted)
|
||||
{
|
||||
graphics.drawpartimage(1, 40+map.custommmxoff, 21+map.custommmyoff, map.custommmxsize, map.custommmysize);
|
||||
|
||||
Reference in New Issue
Block a user