Let each screen get width and height in as a parameter on draw() instead of hardcodin...
authorSteinar H. Gunderson <sesse@samfundet.no>
Tue, 1 Mar 2005 03:04:18 +0000 (03:04 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Tue, 1 Mar 2005 03:04:18 +0000 (03:04 +0000)
commit09ae4d8636130d4c86ab3f8df8f823482f948f97
treed1dd5ba4159c30c97011a1552a9b7ccad17e3904
parent84157afe24c5b731c728fb9123be094f0849df35
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
12 files changed:
bigscreen/ccbs_bigscreen.cpp
bigscreen/groupscreen.cpp
bigscreen/groupscreen.h
bigscreen/rotatescreen.cpp
bigscreen/rotatescreen.h
bigscreen/screen.h
bigscreen/splitscreen.cpp
bigscreen/splitscreen.h
bigscreen/top10scorescreen.cpp
bigscreen/top10scorescreen.h
bigscreen/top5chosenscreen.cpp
bigscreen/top5chosenscreen.h