From: Mark S. <mar...@gm...> - 2008-10-25 21:15:22
|
I have been writing up some documentation about my Tile Definitions, I can post it to a Mail thread or as a separate pair of files. One is a PDF. I will prepare an updated Archive of my functioning code base that will include this documentation, plus a couple of changes. 1. The new archive will draw the map cells without any tiles and a base terrain of CLEAR as a pale green. I have setup the routine to draw based upon a Terrain Color array so that it can be read from an XML Data file. This File could be generic, with an overriding one for each game, and/or each user. 2. The new archive will also draw the Revenue Values in a black circle (no fill). I have gone and looked at my copies, and I see some variations -- For Grey & Yellow tiles it is drawn as black circle with black text. For Green and Brown, it appears to be drawn as White circle with White Text. This is problematical, because by the time the Revenue value is drawn, it is several calls deep within drawing the Tile itself. The base tile type is not currently passed down to it. I have done a couple of tests and for every tile type except BROWN, it is drawn in black and has good contrast (at least to my eye). I tried pushing the tile type down in the various calls and ran into an unexpected clog, so I backed it out to just removing the fill color. 3. The new archive also will not draw the city names. This eliminated several of the overlapping attributes. Commented out one line of code. Given the page of documentation, the PDF File that lays out the various locations, It might be worth me sending in an update to my archive. |