Define BETAVERSION as a suffix to the version string

This commit is contained in:
James R 2020-09-01 15:37:32 -07:00
parent 045a5d3dd1
commit 72437ae357
2 changed files with 7 additions and 0 deletions

View File

@ -130,7 +130,11 @@ extern char logfilename[1024];
// most interface strings are ignored in development mode.
// we use comprevision and compbranch instead.
#else
#ifdef BETAVERSION
#define VERSIONSTRING "v"SRB2VERSION" "BETAVERSION
#else
#define VERSIONSTRING "v"SRB2VERSION
#endif
// Hey! If you change this, add 1 to the MODVERSION below!
// Otherwise we can't force updates!
#endif

View File

@ -10,3 +10,6 @@
// Only set it higher, not lower, obviously.
// Note that we use this to help keep internal testing in check; this is why v2.2.0 is not version "1".
#define MODVERSION 47
// Define this as a prerelease version suffix
//#define BETAVERSION "RC1"