From: Freek D. <sf_...@ma...> - 2010-01-31 16:22:07
|
Erik Vos wrote: > TileDesigner.xml is an intermediate file created by TileDesigner as a > oneliner, and used to create Tiles.xml. > Whenever I want to inspect a new version, I format it with XMLBuddy; if not, > I don't. Out of curiousity, how are tiles created? So apparently, TileDictionary.18t is (or has been) the base set of tiles created with Tile Designer. Tile Designer can output to TileDictionary.xml, which is then converted to Tiles.xml (whose format is specific for this project), and the relevant contents is copied to Tiles.xml in the data directory. At the same time, Tiles.xml is used to create the SVG files. So there are two scripts (which are not in the repository) to create tiles: - Convert TileDictionary.xml to Tiles.xml - Convert Tiles.xml to the SVG files I presume that the conversion from tiles/Tiles.xml to data/*/Tiles.xml is manual? Also, the Java engine reads Tiles.xml which is used to know about tracks and Stations (and Cities), but displays the SVG tile (without verifying if they match). Am I correct so far? So it would not yet be possible to, let's say, display a path on top of the board showing an optimal run for a train, since there is no algorithm in the Java code to render the (abstract) information in Tiles.xml on the board? Regards, Freek |