Open robalni opened 3 years ago
Isn't the drawskin() function supposed to use some kind of 9-split and repeat it based on that? Instead of just plain stretching/repeating
Yes, it still splits it in 9. It's just the center piece that is stretched now instead of repeated.
I think that's not how you're supposed to do that, ideally it repeats it so it can give ideal results
Doesn't that just depend on what skin you have? Some skins look better stretched and some repeated.
yeah, but usually you design your skins in a way so they look the best when repeated, e.g. if you have a low-res skin, stretched will make it look very pixelated
This change makes the code easier to read. It changes behaviour of drawskin slightly; now it stretches the image instead of repeating it but that should not be visible with default skin.