2016-03-07 05:13:20 +00:00
|
|
|
#define MAJOR 4
|
|
|
|
#define MINOR 0
|
2018-06-16 21:22:27 +00:00
|
|
|
#define PATCH 28
|
2016-03-07 05:13:20 +00:00
|
|
|
|
2017-03-23 22:45:32 +00:00
|
|
|
// string
|
2017-11-08 00:18:57 +00:00
|
|
|
#define VN__(a,b,c) #a "." #b "." #c
|
2016-03-07 05:13:20 +00:00
|
|
|
#define VN_(a,b,c) VN__(a,b,c)
|
|
|
|
#define VERSION_NUMBER VN_(MAJOR,MINOR,PATCH)
|
|
|
|
#define VERSION_STRING "alpha " VERSION_NUMBER
|
|
|
|
|
2017-07-08 19:25:23 +00:00
|
|
|
#define ST__(s) #s
|
|
|
|
#define ST_(s) ST__(s)
|
|
|
|
#define MAJOR_STR ST_(MAJOR)
|
|
|
|
#define MINOR_STR ST_(MINOR)
|
|
|
|
#define PATCH_STR ST_(PATCH)
|
|
|
|
|
2016-08-31 15:10:22 +00:00
|
|
|
#if defined(FRED_SUPER)
|
2016-03-07 05:13:20 +00:00
|
|
|
#define VERSION_TYPE " super!"
|
|
|
|
#else
|
|
|
|
#define VERSION_TYPE
|
|
|
|
#endif
|
2016-08-31 15:10:22 +00:00
|
|
|
|
2016-03-07 05:13:20 +00:00
|
|
|
#define VERSION VERSION_STRING VERSION_TYPE
|
2017-03-23 22:45:32 +00:00
|
|
|
|
2017-11-30 19:02:37 +00:00
|
|
|
#define WINDOW_NAME "4coder: " VERSION
|
|
|
|
|
2017-03-23 22:45:32 +00:00
|
|
|
// long string
|
|
|
|
#define L_VN__(a,b,c) L#a L"." L#b L"." L#c
|
|
|
|
#define L_VN_(a,b,c) L_VN__(a,b,c)
|
|
|
|
#define L_VERSION_NUMBER L_VN_(MAJOR,MINOR,PATCH)
|
|
|
|
#define L_VERSION_STRING L"alpha " L_VERSION_NUMBER
|
|
|
|
|
|
|
|
#if defined(FRED_SUPER)
|
|
|
|
#define L_VERSION_TYPE L" super!"
|
|
|
|
#else
|
|
|
|
#define L_VERSION_TYPE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define L_VERSION L_VERSION_STRING L_VERSION_TYPE
|
2017-11-30 19:02:37 +00:00
|
|
|
|
|
|
|
#define L_WINDOW_NAME L"4coder: " L_VERSION
|