From: Erik V. <eri...@hc...> - 2008-11-29 20:15:46
|
I have (finally) done the main remaining unimplemented 1830 feature: selecting the Erie home base while upgrading to green. To trigger the selection I could have written code to detect the need for it, but for now I have chosen to add a special attribute in TileSet.xml for the preprinted (while/yellow) tile -20. During the upgrade, the same request will pop up as already occurs when laying a token on a multi-station tile. This new feature requires some extra non-transient attributes of LayTile. Normally such an extension makes existing saved files unreadable, as these contain serialized versions of LayTile objects. This time I have tried to achieve backwards compatibility by writing special deserialization code in this class. It seems to work nicely. (Although Erie did not appear in the bug list, I tend to consider it as such, if only for justifying submitting this change during the new features freeze we now have...). Erik |