- defined a constant for the crosshair menu entry's index to get a direct

reference out of the function code.
- Fixed: The BrainExplosions should not perform any collision detection. To
  achieve this their Damage value must be set to 0 when being spawned.
- Added a safety check to savegame versioning so that an invalid revision
  (reported as 0) will be handled without breaking savegame compatibility.


SVN r689 (trunk)
This commit is contained in:
Christoph Oelckers 2008-01-10 11:02:07 +00:00
commit a5265c4ec5
6 changed files with 26 additions and 6 deletions

View file

@ -73,8 +73,18 @@
// SAVEVER is the version of the information stored in level snapshots.
// Note that SAVEVER is not directly comparable to VERSION.
// SAVESIG should match SAVEVER.
// MINSAVEVER is the minimum level snapshot version that can be loaded.
#define MINSAVEVER 667
#if SVN_REVISION_NUMBER == 0
// This can happen if svnrevision is not updated properly (e.g. compiling while offline)
#define SAVEVER MINSAVEVER
#define SAVESIG "ZDOOMSAVE"#SAVEVER
#else
#define SAVEVER SVN_REVISION_NUMBER
#define SAVESIG "ZDOOMSAVE"SVN_REVISION_STRING
#endif
// This is so that derivates can use the same savegame versions without worrying about engine compatibility
#define GAMESIG "ZDOOM"
@ -91,8 +101,6 @@
#define CDROM_DIR "C:\\ZDOOMDAT"
#endif
// MINSAVEVER is the minimum level snapshot version that can be loaded.
#define MINSAVEVER 667
// The maximum length of one save game description for the menus.
#define SAVESTRINGSIZE 24