From: Erik V. <eri...@hc...> - 2005-11-16 23:32:08
|
Brett, As usual some of your changes conflicted with some of mine, and Eclipse does not do a very good job in enabling a proper merge, so I hope all your changes have survived mine. > I've committed a couple UI updates: > > 1. Closing windows now correctly updates the checkbox menu > items in the StatusWindow. > > 2. You can "preview" tile lays now at any point in the game, > but the UpgradesPanel will only display the Done button > during an Operating Round, to disallow tile placement at any > other time. I have been doing the same thing, probably in a different way (controlled from ORWindow). > I'd like to add checking whether the currently operating > company has yet laid a tile to this, but that infrastructure > doesn't appear to have been built yet. There is more logic behind that - some games allow two yellow tile lays, anytime, or just the first time, etc. Allowances can also be dependent on the company type (e.g. 18EU). OperatingRound should (as usual) provide such information. > This looks like it's starting to interfere with the current ORWindow. > > Erik - Do you already have an idea on how you'd like to approach this? Yes, I'm working on that, and for all safety (see above) I have committed my changes so far, but in fact I have only started. As soon as a company can lay a tile, MapWindow will get focus and "Done" will be enabled. Pressing "Done" will call (indirectly) OperatingRound.layTile() and control will pass back to ORWindow. The real control center is OperatingRound, but I have only started to figure out exactly how this should work. I'll be happy to sort it all out, but you'll have to give me some time for that. If you want a new topic to think about: what about token laying, and the visual representation of that? In particular NY and the OO cities worry me a bit..... Erik. |