diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-04-29 14:10:55 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-04-29 21:41:02 +0200 |
commit | 3a53de700a1997b22009c6c001e74b55c04f3f9f (patch) | |
tree | 1084bd00819a40ebeea397ced4502ec0ec61321c /crawl-ref/source/tags.h | |
parent | ee24d4bd172d02661d035d86161f5b7baab827bf (diff) | |
download | crawl-ref-3a53de700a1997b22009c6c001e74b55c04f3f9f.tar.gz crawl-ref-3a53de700a1997b22009c6c001e74b55c04f3f9f.zip |
Make the chr chunk forward-compatible, so the save browser can view all games.
This fixes invisible saves that don't show up until you type that name. You
still can't load those games, of course.
This code can read all old saves since the save packager was added (30.0), and
new ones until TAG_CHR_FORMAT will be bumped.
Diffstat (limited to 'crawl-ref/source/tags.h')
-rw-r--r-- | crawl-ref/source/tags.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.h b/crawl-ref/source/tags.h index 4b5899d788..4e20ec12d7 100644 --- a/crawl-ref/source/tags.h +++ b/crawl-ref/source/tags.h @@ -233,6 +233,7 @@ static inline void unmarshallSigned(reader& th, T& v) void tag_read(reader &inf, tag_type tag_id); void tag_write(tag_type tagID, writer &outf); +void tag_read_char(reader &th, uint8_t format, uint8_t major, uint8_t minor); /* *********************************************************************** * misc |