Move */main/vers_id.h -> common/main/vers_id.h

This commit is contained in:
Kp 2013-03-03 01:03:33 +00:00
parent fa26a436aa
commit bb13bf5618
2 changed files with 6 additions and 18 deletions

View file

@ -10,8 +10,13 @@
#define DXX_VERSION_MINOR __stringize(DXX_VERSION_MINORi)
#define DXX_VERSION_MICRO __stringize(DXX_VERSION_MICROi)
#define BASED_VERSION "Registered v1.5 Jan 5, 1996"
#define VERSION DXX_VERSION_MAJOR "." DXX_VERSION_MINOR "." DXX_VERSION_MICRO
#if defined(DXX_BUILD_DESCENT_I)
#define BASED_VERSION "Registered v1.5 Jan 5, 1996"
#define DESCENT_VERSION "D1X-Rebirth v" VERSION
#elif defined(DXX_BUILD_DESCENT_II)
#define BASED_VERSION "Full Version v1.2"
#define DESCENT_VERSION "D2X-Rebirth v" VERSION
#endif
#endif /* _VERS_ID */

View file

@ -1,17 +0,0 @@
/* Version defines */
#ifndef _VERS_ID
#define _VERS_ID
#define __stringize2(X) #X
#define __stringize(X) __stringize2(X)
#define D2XMAJOR __stringize(DXX_VERSION_MAJORi)
#define D2XMINOR __stringize(DXX_VERSION_MINORi)
#define D2XMICRO __stringize(DXX_VERSION_MICROi)
#define BASED_VERSION "Full Version v1.2"
#define VERSION D2XMAJOR "." D2XMINOR "." D2XMICRO
#define DESCENT_VERSION "D2X-Rebirth v" VERSION
#endif /* _VERS_ID */