diff options
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 353f731c5f..5ee9382f76 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -960,18 +960,18 @@ void save_level(int level_saved, bool was_a_labyrinth, char where_were_you) // nail all items to the ground fix_item_coordinates(); - // 4.0 initial genesis of saved format - // 4.1 added attitude tag - // 4.2 replaced old 'enchantment1' and with 'flags' (bitfield) - // 4.3 changes to make the item structure more sane - // 4.4 changes to the ghost save section - // 4.5 spell and ability letter arrays - // 4.6 inventory slots of items - // 4.7 origin tracking for items - // 4.8 widened env.map to 2 bytes - - // [dshaligram] Winding major version back all the way to 0. - write_tagged_file( saveFile, SAVE_MAJOR_VERSION, 8, TAGTYPE_LEVEL ); + // 0.0 initial genesis of saved format + // 0.1 added attitude tag + // 0.2 replaced old 'enchantment1' and with 'flags' (bitfield) + // 0.3 changes to make the item structure more sane + // 0.4 changes to the ghost save section + // 0.5 spell and ability letter arrays + // 0.6 inventory slots of items + // 0.7 origin tracking for items + // 0.8 widened env.map to 2 bytes + // 0.9 inscriptions (hp) + + write_tagged_file( saveFile, SAVE_MAJOR_VERSION, 9, TAGTYPE_LEVEL ); fclose(saveFile); @@ -1122,14 +1122,15 @@ void save_game(bool leave_game) end(-1); } - // 4.0 initial genesis of saved format - // 4.1 changes to make the item structure more sane - // 4.2 spell and ability tables - // 4.3 added you.magic_contamination (05/03/05) - // 4.4 added item origins - // 4.5 added num_gifts + // 0.0 initial genesis of saved format + // 0.1 changes to make the item structure more sane + // 0.2 spell and ability tables + // 0.3 added you.magic_contamination (05/03/05) + // 0.4 added item origins + // 0.5 added num_gifts + // 0.6 inscriptions (hp) - write_tagged_file( saveFile, SAVE_MAJOR_VERSION, 5, TAGTYPE_PLAYER ); + write_tagged_file( saveFile, SAVE_MAJOR_VERSION, 6, TAGTYPE_PLAYER ); fclose(saveFile); @@ -1632,8 +1633,8 @@ void save_ghost( bool force ) return; } - // 4.0-4.3 old tagged savefile (values as unsigned char) - // 4.4 new tagged savefile (values as signed short) + // 0.0-0.3 old tagged savefile (values as unsigned char) + // 0.4 new tagged savefile (values as signed short) write_tagged_file( gfile, SAVE_MAJOR_VERSION, 4, TAGTYPE_GHOST ); fclose(gfile); |