I am not sure that I would refuse to load it completely. I would suggest popping up a warning window that says something like, "You are attempting to load a save file from an incompatable version. Continuing will likely cause Wesnoth to crash. Continue? Yes/No." I do like the idea overall.
John(Dfool) On 4/26/07, Mark de Wever <[EMAIL PROTECTED]> wrote: > With the backwards compatibility in the terrain system soon gone it's > impossible to load 1.2 savegames in 1.3.2+svn. I want to add an option > in wesconfig.h named MIN_SAVEGAME_VERSION. If the savegame is older > than that version, Wesnoth will refuse to load it. So if min version is > 1.3.1 it means that all versions before that will abort loading with an > error. Version 1.3.0+svn is seen as version 1.3.0 so the extra suffix is > ignored. > > I want to add this for features which break things big time and involving > all savegames. I see no need in trying to load stuff of which we know that > it won't work and might crash Wesnoth. (Smaller breakage or possible > breakage we can still try to load.) > > Any objections against this feature or other suggestions? > > Regards, > Mark de Wever aka Mordante/SkeletonCrew > > _______________________________________________ > Wesnoth-dev mailing list > [email protected] > https://mail.gna.org/listinfo/wesnoth-dev > -- ------------------------------------------------------------------- "In theory, theory and practice are the same, but in practice they're different." ------------------------------------------------------------------- John W. C. McNabb ------------------------------------------------------------------- _______________________________________________ Wesnoth-dev mailing list [email protected] https://mail.gna.org/listinfo/wesnoth-dev
