From: John A. T. <ja...@ja...> - 2007-10-25 22:06:15
|
On Thu, 25 Oct 2007, Erik Vos wrote: > I haven't seen yet what you have sent, John. > Was it a complete tile set for all games that you have covered, > or a subset for 18EU? I posted it here a couple of weeks ago -- I think it was just the EU special tiles. > We should somehow agree on a common numbering and XML format. > The overall tiles/Tiles.xml has been created from Marco's TileDesigner file, > extended by me, by a conversion utility. I am not sure there are common interests. I took the TileDesigner format and extended it for my needs, and then I have a database schema where the authoritive data is kept which also has a lot more detail about rendering. Initially the detailed layout data was automatically generated from code derived from TileDesigner, then I could manually tweak it if needed (and there is a flag saying if it was automatically generated so it can be regenerated if I improve the layout code). Since Rails doesn't render the tiles from the tile data, it seems like most of that data is useless to Rails. Also, I currently do not keep information useful for route calculations which Rails will eventually need, although I wouldn't be averse to extended it and storing it as well. Finally, I am more concerned with a unified database of all tiles so I can search for which games contain which tiles etc while Rails doesn't care for such a database (at least that is my recollection of a discussion about this a couple of years ago). XML is not a particularly good format for storing the data, but it is good for information interchange. I would be willing to write import/export code from my database to some common XML format if it seems useful. I have extended TileDesigner data for every game I produce and most of the others (and I imported connectivity data from ps18xx tiles, but many of them have poor layout data). -- John A. Tamplin ja...@ja... 770/436-5387 HOME 4116 Manson Ave Smyrna, GA 30082-3723 |