From: Steinar H. Gunderson Date: Tue, 1 Mar 2005 03:04:18 +0000 (+0000) Subject: Let each screen get width and height in as a parameter on draw() instead of hardcodin... X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=09ae4d8636130d4c86ab3f8df8f823482f948f97;hp=09ae4d8636130d4c86ab3f8df8f823482f948f97 Let each screen get width and height in as a parameter on draw() instead of hardcoding it to SCREEN_WIDTH * SCREEN_HEIGHT. This is quite ugly at places, but it seems to work well. This isn't really done for the speed boost (although fades etc. are quite a lot smoother when the split screen can do all its work in the native resolution instead of fading and _then_ downscaling), but primarily for the legibility (ie. let FreeType _understand_ that we are on a smaller screen, so get hinting etc. right), which seems to have improved by quite a lot (the overall "polish" look is a bit down, though, probably the autohinter is evil). 19:30-04:00 ---