From: Erik V. <eri...@hc...> - 2006-11-26 19:45:28
|
It's been quiet for a while, but work has still progressed, although a lot slower than in the past. In 1830, the laying of unconnected tiles because of private special properties turned out to be broken a while ago. I have now reorganised tile laying management completely, along the lines of the Possible Actions class hierarchy introduced a while ago. Both normal and special tile lay allowances are now governed by LayTile objects. I hope this change has made tile laying management more transparent, and it should now be pretty well prepared to handle the numerous special cases in other games, and also for the lucky day that we will have implemented routes and connectivity, so that we can tell the UI on which hexes tiles can be laid. One remaining glitch is, that if a company owns the C&StL, and first lays a "normal" tile, the extra info on the allowed extra tile lay disappears from the prompt message line (but the extra tile can be laid all the same). I'm not sure why this is so. Admittedly, the UI code around the prompt display is still pretty badly organised. I'll continue to work on this and related things, for instance special token laying, but it became time to commit some of this stuff. Erik Vos |