Fix: SE018 Problem: We can't distinguish releases between edit levels. Warren occasionally releases these as "fixed" version. The new fix level (which is a level below edit levels) can be invoked where needed and ignored where not. Fix levels also have the useful property that they don't invalidate bones and save files like edit levels do unless special action is taken. Compatible with: Slash'EM 0.0.5E6 Author: J. Ali Harlow, ali@avrc.city.ac.uk Date: 1 Nov 1999 *** include/patchlevel.h.orig Wed Oct 27 15:35:59 1999 --- include/patchlevel.h Mon Nov 1 10:05:04 1999 *************** *** 20,25 **** --- 20,30 ---- * and save files. */ #define EDITLEVEL 6 + /* + * Fix level can be used to distinguish versions between edit levels. + * Note: Incrementing FIXLEVEL does _not_ invalidate old bones and save files. + */ + /* #define FIXLEVEL 0 /* Define to enable a fixlevel version */ #define COPYRIGHT_BANNER_A \ "This is SuperLotsoAddedStuffHack-Extended Magic 1997-1999" *** util/makedefs.c.orig Wed Oct 27 15:35:56 1999 --- util/makedefs.c Mon Nov 1 10:08:47 1999 *************** *** 511,539 **** char *outbuf; const char *build_date; { ! Sprintf(outbuf, #ifdef BETA ! # ifdef PORT_SUB_ID ! "%s %s %s Beta Version %d.%d.%d-%d - last build %s.", ! # else ! "%s %s Beta Version %d.%d.%d-%d - last build %s.", ! # endif #else # ifdef PORT_SUB_ID ! "%s %s %s Version %d.%d.%d - last build %s.", # else ! "%s %s Version %d.%d.%d - last build %s.", # endif - #endif PORT_ID, #ifdef PORT_SUB_ID PORT_SUB_ID, #endif ! DEF_GAME_NAME, VERSION_MAJOR, VERSION_MINOR, PATCHLEVEL, ! #ifdef BETA ! EDITLEVEL, ! #endif ! build_date); return outbuf; } --- 511,546 ---- char *outbuf; const char *build_date; { ! char version[100]; /* Need 68 if all numbers are 2 digits */ ! Sprintf(version, #ifdef BETA ! #ifdef FIXLEVEL ! "Beta Version %d.%d.%dE%dF%d - last build %s.", #else + "Beta Version %d.%d.%dE%d - last build %s.", + #endif + #else + "Version %d.%d.%d - last build %s.", + #endif + VERSION_MAJOR, VERSION_MINOR, PATCHLEVEL, + #ifdef BETA + EDITLEVEL, + #ifdef FIXLEVEL + FIXLEVEL, + #endif + #endif + build_date); + Sprintf(outbuf, # ifdef PORT_SUB_ID ! "%s %s %s %s", # else ! "%s %s %s", # endif PORT_ID, #ifdef PORT_SUB_ID PORT_SUB_ID, #endif ! DEF_GAME_NAME, version); return outbuf; }