|
From: Olivier S. <sc...@me...> - 2008-01-26 05:38:42
|
Michael Burschik wrote: > In older savegames, GameVariables are null. This creates problems when > loading savegames from previous releases. How can we fix this? > > Regards > > Michael > Which variables are you referring to? The 0.7.2 class net.sf.freecol.common.model.GameVariables is deprecated What is the equivalent in 0.8 ? I have added some code recently to open legacy 0.7.2 maps in the 0.8 map editor. It was easy because they only use a small set of classes (map, tile) But savegames use many more model classes which have changed a lot. I did a small test with 0.7.2 -> 0.8, and the problem I noticed was Player.index=null Do you think it is feasible to support legacy support of old games? Should we even spend time on this? Regards, Olivier |