18-08-2009, 06:01 PM
One problem I did notice was that the map name doesn't draw properly--this causes it to just stay where it was on the original sized map.
I fixed it by changing:
To:
Unfortunately I am horrid at properly centering things. This draws the name starting at the left, as opposed to actually centering said text.
I fixed it by changing:
Code:
' Draw map name
Call DrawText(TexthDC, DrawMapNameX, DrawMapNameY, Map.Name, DrawMapNameColor)
To:
Code:
' Draw map name
Call DrawText(TexthDC, Camera.Right - ((Len(Map.Name) \ 2) * 28), Camera.Top + 1, Map.Name, DrawMapNameColor)
Unfortunately I am horrid at properly centering things. This draws the name starting at the left, as opposed to actually centering said text.