From: Erik V. <eri...@hc...> - 2007-10-27 18:33:04
|
I have checked in some new stuff. Most of it relates to the 18AL special properties, that I have been working on in the past weeks. The only visual change is that the Lumber Terminal can now be placed under the correct conditions, but behind the scenes a lot more preparational work has been done. While at it, I have also done a few bits on 18EU: 1. The 18EU extra tiles have been added to TileDesigner. For the preprinted tiles I have used the numbers assigned by Brett (i.e. -3005/-3011) to the tile images obtained from John. 2. A new generic Tiles.xml has been generated. I have also added TileDesinger.18t to CVS, so that other people might look at or perhaps work on this version of the tile data. 3. The 18EU map and tile XML files have been updated. Of the preprinted tiles, only Paris and Berlin/Vienna (-3005, -3006) have been used so far. The map tile orientations have been added where required. The map should now be about right. 4. I have also added initial versions of Game.xml and CompanyManager.xml, so that 18EU now at least can be started, and the map can be inspected. However, none of the 18EU-specific game mechanisms have been implemented yet. For the initial round I have reused the 1835 standard mechanism, where all minors can be bought at a fixed price (to get them all out, some prices should be lowered). 5. I have added two new optional attributes to the <Tile> tag in TileSet.xml: 'extId': the external Id, which is the tile number as printed on the physical game tiles, to be shown in the UI and in messages. Not yet used. 'pic': the number of the picture to be loaded. Used for 18EU tiles (30)80-83. For both, the 'id' is the default value. I have dropped my previous idea to use the TileDesigner 'name' attribute for the external number; it is better to keep this item free for textual information (such as in which game a tile is used). Loading 18EU gives exceptions while loading the Paris/Berlin/Vienna preprinted tiles -3005 and -3006: org.w3c.dom.DOMException: <unknown>: The attribute "fill-rule" represents an invalid CSS value ("even-odd"). Original message: The "even-odd" identifier is not a valid value for the "fill-rule" property. at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Unknown Source) at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unknown Source) at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknown Source) ... etc. Apparently batik does not accept some of John's SVG. Erik Vos |