From: Erik V. <eri...@xs...> - 2011-10-11 13:36:30
|
I understand, but that would mean adding special compatibility code to skip such now 'silent' player actions when loading a saved file. That's possible, but it's ugly. For a long time, there has been such code in Game.load() to cope with one removed 'Done' action in (I believe) 1856. That code is gone now. There is also such a case in 18EU, where I have not added compatibility code, but where have had to edit lots of old saved files to remove that extra 'Done', and I still occasionally encounter such saved files. Erik. > > I didn't necessarily mean remove the actions from the log or save file. I > meant simply that we'd silently move the game forward until there's an > action needing player intervention. > > ---Brett. > > > > On Tue, Oct 11, 2011 at 5:56 AM, Erik Vos <eri...@xs...> wrote: > > I agree that tidying up these behaviours would be a good thing. > > > > I think removing popups is easy to do. Pressing the 'OK' on such popups > does not count as a player action. > > > > But removing unnecessary 'Pass' and 'Done' actions is a different matter, > because it has a bad side effect: all saved games that contain at least one > such removed action will no longer load. At least not without special > compatibility code to detect and catch such cases (and I'm not sure if it's > feasible at all). This is especially bad for the developers, who heavily rely on > sometimes pretty old saved files for testing. > > > > This consideration has so far kept me from removing such actions. The one > case I once did has caused me a lot of trouble. > > > > Ultimately we will have to bite the bullet. There is already quite some > compatibility code that I would like to get rid of as well. > > Would it be an idea to set this as a goal for Rails 2.0? Or 2.1? Remember: it > means that we will have to rebuild all test cases. Not just those in the > repository. > > > > Erik. |