On 14.04.2013 13:23, Michael T. Pope wrote: > On Sun, 14 Apr 2013 09:53:42 AM Michael Vehrs wrote: > >> No, that would not help in this case. We serialize objects as follows: >> >> tile -> colony on that tile -> work locations in the colony >> >> Since the colony tiles surround the colony, some of the work tiles will >> not have been serialized when their corresponding colony tiles are >> serialized. To fix this properly, we will have to defer setting the >> production type until all tiles have been read. I suggest adding a >> suitable method to the Game class. >> > You are right of course. I will look at it as the serialization of Game is > close to the top of my patch queue. > > Cheers, > Mike Pope
I have committed a preliminary solution. There will be room for improvement, I expect. Regards Michael ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Freecol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freecol-developers
