Several things that break savefile compatibility
- Version change from 3.4.x - timed_delay feature ignore in makedefs - several flags from iflags to flags - use offsets from mons array entries in save file rather than storing the ptr and calculating the distance from beginning of array
This commit is contained in:
@@ -313,7 +313,7 @@
|
||||
/* The hero's glyph when seen as a monster.
|
||||
*/
|
||||
#define hero_glyph \
|
||||
monnum_to_glyph((Upolyd || !iflags.showrace) ? u.umonnum : \
|
||||
monnum_to_glyph((Upolyd || !flags.showrace) ? u.umonnum : \
|
||||
(flags.female && urace.femalenum != NON_PM) ? urace.femalenum : \
|
||||
urace.malenum)
|
||||
|
||||
|
||||
@@ -146,6 +146,11 @@ struct flag {
|
||||
int initalign; /* starting alignment (index into aligns[]) */
|
||||
int randomall; /* randomly assign everything not specified */
|
||||
int pantheon; /* deity selection for priest character */
|
||||
/* Items which were in iflags in 3.4.x to preserve savefile compatibility */
|
||||
boolean lootabc; /* use "a/b/c" rather than "o/i/b" when looting */
|
||||
boolean showrace; /* show hero glyph by race rather than by role */
|
||||
boolean travelcmd; /* allow travel command */
|
||||
int runmode; /* update screen display during run moves */
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -257,11 +262,6 @@ struct instance_flags {
|
||||
|
||||
boolean cmdassist; /* provide detailed assistance for some commands */
|
||||
boolean obsolete; /* obsolete options can point at this, it isn't used */
|
||||
/* Items which belong in flags, but are here to allow save compatibility */
|
||||
boolean lootabc; /* use "a/b/c" rather than "o/i/b" when looting */
|
||||
boolean showrace; /* show hero glyph by race rather than by role */
|
||||
boolean travelcmd; /* allow travel command */
|
||||
int runmode; /* update screen display during run moves */
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
/* SCCS Id: @(#)patchlevel.h 3.4 2003/02/19 */
|
||||
/* SCCS Id: @(#)patchlevel.h 3.4 2003/03/04 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
/* NetHack 3.4.1 */
|
||||
/* NetHack 3.5.0 */
|
||||
#define VERSION_MAJOR 3
|
||||
#define VERSION_MINOR 4
|
||||
#define VERSION_MINOR 5
|
||||
/*
|
||||
* PATCHLEVEL is updated for each release.
|
||||
*/
|
||||
#define PATCHLEVEL 1
|
||||
#define PATCHLEVEL 0
|
||||
/*
|
||||
* Incrementing EDITLEVEL can be used to force invalidation of old bones
|
||||
* and save files.
|
||||
@@ -24,7 +24,7 @@
|
||||
#define COPYRIGHT_BANNER_C \
|
||||
" See license for details."
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
/*
|
||||
* If two successive patchlevels have compatible data files (fat chance),
|
||||
* defining this with the value of the older one will allow its bones and
|
||||
@@ -34,12 +34,26 @@
|
||||
* PP = patch level, ee = edit level, L = literal suffix "L",
|
||||
* with all four numbers specified as two hexadecimal digits.
|
||||
*/
|
||||
#define VERSION_COMPATIBILITY 0x03040000L
|
||||
#define VERSION_COMPATIBILITY 0x03040100L
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Version 3.5.x */
|
||||
|
||||
/*
|
||||
* NetHack 3.5.0, March NN, NNNN
|
||||
*
|
||||
*/
|
||||
|
||||
/* Version 3.5 */
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Version 3.4.x */
|
||||
|
||||
/* Patch 2, March 17, 2003
|
||||
* Fix a few fatal errors
|
||||
*/
|
||||
|
||||
/* Patch 1, February 22, 2003
|
||||
* Fix a few fatal errors including one for reentering shops, one
|
||||
* involving land mines and boulders/statues, one for delayed
|
||||
|
||||
Reference in New Issue
Block a user