A little bit of savegame code cleanup; and a small format change to make

life easier (or rather, possible) for dump_savegame. Should not break saves (let me know if they do).

  • Fixed dump_savegame bug reading TAG_LEVEL. Handle lua map_markers (by skipping over them) – requires format change and minor version bump.

  • Consolidated YOU_MINOR_VERSION, LEVEL_MINOR_VERSION, GHOST_MINOR_VERSION into a single TAG_MINOR_VERSION, because otherwise versions can't be passed into data structures being deserialized (because they may be contained in both you and ghost, for example).

  • Clean out old code that pretends to restore other major versions, and some duplicate code that pretends level loading and general tagged file loading are different. (Left ghosts alone because they really do do something different, slightly)

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4420 c06c8d41-db1a-0410-9941-cceddc491573

Created by  pauldubois  on April 20, 2008
AM7QPHDAWNXHLUEVUHVRHG2RO2DOIEFFU4GV3DCIROW6O5HW7H4AC
Dependencies
In channels
main
Change contents