From: Erik V. <eri...@hc...> - 2007-10-25 21:08:10
|
Revisiting > The Tile spec in Tiles.xml should stay like > <Tile colour="green" id="80" name="80"> > <Track from="side1" gauge="normal" to="side2"/> > <Track from="side1" gauge="normal" to="side3"/> > <Track from="side2" gauge="normal" to="side3"/> > </Tile> > or similar. The new-style XML spec for 5080 would not be used. and > On duplicate numbers for really different tiles: > here indeed we should use internal and external numbers. > > The current attribute "id" is intended to be unique internal number. > If the external number (shown in the UI etc.) is different, > we need an additional attribute for that purpose. I can add, that in fact we already have the 'name' attribute containg the external numbers (except for preprinted tiles numbered < 0, but those don't matter). See for instance in the generic tiles/Tiles.xml: <Tile colour="green" id="12" name="12"> <Station id="city1" position="0" slots="1" type="City" value="30"/> <Track from="city1" gauge="normal" to="side1"/> <Track from="city1" gauge="normal" to="side2"/> <Track from="city1" gauge="normal" to="side3"/> </Tile> <Tile colour="green" id="1012" name="12"> <Station id="city1" position="0" slots="2" type="City" value="50"/> <Track from="city1" gauge="normal" to="side1"/> <Track from="city1" gauge="normal" to="side2"/> <Track from="city1" gauge="normal" to="side3"/> </Tile> So we're fine on that aspect. Erik. |