Several flags added since 3.4.0 were destined for flags (to be saved with the game) but were placed in iflags for savefile compatibility. These include: 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 */ This patch has no effect unless you define this in your port's XXconf.h file. #define SAVEFILE_340_CONVERT /* allow moving of some iflags fields to flags without destroying savefile compatibility */ Without it, the new flags remain in "iflags." With it, the flags are moved to "flags" and the structures are converted when the save file is read. There is no reverse compatibility. If you save the game after conversion, you can't load the savefile on 3.4.0, only 3.4.1.
16 KiB
16 KiB