From: Erik V. <eri...@xs...> - 2011-08-18 09:38:48
|
> -----Original Message----- > From: Adam Badura [mailto:ab...@o2...] > Sent: Thursday, August 18, 2011 12:20 AM > To: 'Development list for Rails: an 18xx game' > Subject: Re: [Rails-devel] batik and svg documents (was: Background Maps) > > With SVG+XML I meant that (in my opinion) SVG should be used purly for > presentation. Tile "description" (like number of stations, track connections > between hex edges, stations on that tracks, and so on...) should be stored > separately (so not to mix different tile aspects). This also allows to easly use > different tile "styles" without need to change code that analyzes runs or > finds possible tile lays. I fully agree with that. Several games have hexes and tiles where the picture does not reflect the full connectivity function of that hex/tile. Examples: - PRR and Reading bases in the 1830 Coalfields and Reading variants, - Most off-map hexes, and specifically the 1856 Goderich and 18EU Hamburg: there is an undisplayed city on these hexes, that in the two cases mentioned can even be run through. - the sticky version of the brown plain track tiles in some games, like 18EU. In these cases the connectivity specification (in Tiles.xml) and the SVG picture are different, so the latter is unusable to base route calculations upon. Erik. |