From 73278b1a3c6535edba5076ab1750e609a76325f2 Mon Sep 17 00:00:00 2001 From: "Jason S. Ninneman" Date: Sun, 2 Jul 2017 09:54:33 -0700 Subject: [PATCH] Bump save file version number. Also add missing space in the version mesage. --- adventure.yaml | 2 +- saveresume.c | 2 +- tests/resumefail2.chk | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/adventure.yaml b/adventure.yaml index 76107a5..da03553 100644 --- a/adventure.yaml +++ b/adventure.yaml @@ -3004,7 +3004,7 @@ arbitrary_messages: !!omap - RESUME_HELP: 'To resume your Adventure, start a new game and then say "RESUME".' - TABLE_SPACE: 'Table space used:\n%d of %d words of messages %d of %d travel options\n%d of %d vocabulary words %d of %d locations\n%d of %d objects %d of %d action verbs\n%d of %d "random" messages %d of %d "class" messages\n%d of %d hints %d of %d turn threshholds' - RESUME_ABANDON: 'To resume an earlier Adventure, you must abandon the current one.' -- VERSION_SKEW: 'I''m sorry, but that Adventure was begun using Version%d.%d of the\nsave file format, and this program uses Version %d.%d. You must find an instance\nusing that other version in order to resume that Adventure.' +- VERSION_SKEW: 'I''m sorry, but that Adventure was begun using Version %d.%d of the\nsave file format, and this program uses Version %d.%d. You must find an instance\nusing that other version in order to resume that Adventure.' # This message is not currently used - SAVE_TAMPERING: 'A dark fog creeps in to surround you. From somewhere in the fog you\nhear a stern voice. "This Adventure has been tampered with! You have\nbeen dabbling in magic, knowing not the havoc you might cause thereby.\nLeave at once, before you do irrevocable harm!" The fog thickens,\nuntil at last you can see nothing at all. Your vision then clears,\nand you find yourself back in The Real World.' - TWIST_TURN: 'Sorry, but the path twisted and turned so much that I can''t figure\nout which way to go to get back.' diff --git a/saveresume.c b/saveresume.c index 088bab1..276667d 100644 --- a/saveresume.c +++ b/saveresume.c @@ -11,7 +11,7 @@ * see the history.adoc file in the source distribution for discussion. */ -#define VRSION 26 /* bump on save format change */ +#define VRSION 27 /* bump on save format change */ /* * If you change the first three members, the resume function may not properly diff --git a/tests/resumefail2.chk b/tests/resumefail2.chk index 056b079..cdda771 100644 --- a/tests/resumefail2.chk +++ b/tests/resumefail2.chk @@ -10,8 +10,8 @@ down a gully. > resume Can't open file y, try again. -I'm sorry, but that Adventure was begun using Version-133.-7 of the -save file format, and this program uses Version 2.6. You must find an instance +I'm sorry, but that Adventure was begun using Version -133.-7 of the +save file format, and this program uses Version 2.7. You must find an instance using that other version in order to resume that Adventure. You're in front of building. -- 2.31.1