2015-12-02 23:28:00 +01:00
|
|
|
#ifndef _VERSION_H_
|
|
|
|
#define _VERSION_H_
|
|
|
|
|
2016-01-13 23:37:13 +01:00
|
|
|
#include "common.h"
|
|
|
|
|
2015-12-02 23:28:00 +01:00
|
|
|
#define OPENRCT2_NAME "OpenRCT2"
|
2016-04-13 14:11:08 +02:00
|
|
|
#define OPENRCT2_VERSION "0.0.5"
|
2015-12-02 23:28:00 +01:00
|
|
|
#define OPENRCT2_ARCHITECTURE "x86"
|
|
|
|
|
|
|
|
// Platform
|
2016-01-13 23:37:13 +01:00
|
|
|
#ifdef __WINDOWS__
|
2015-12-02 23:28:00 +01:00
|
|
|
#define OPENRCT2_PLATFORM "Windows"
|
2016-01-13 23:37:13 +01:00
|
|
|
#endif
|
|
|
|
#ifdef __LINUX__
|
2015-12-02 23:28:00 +01:00
|
|
|
#define OPENRCT2_PLATFORM "Linux"
|
|
|
|
#endif
|
2016-01-13 23:37:13 +01:00
|
|
|
#ifdef __MACOSX__
|
2015-12-02 23:28:00 +01:00
|
|
|
#define OPENRCT2_PLATFORM "OS X"
|
|
|
|
#endif
|
|
|
|
#ifndef OPENRCT2_PLATFORM
|
|
|
|
#error Unknown platform!
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define OPENRCT2_TIMESTAMP __DATE__ " " __TIME__
|
|
|
|
|
|
|
|
// The following constants are for automated build servers
|
|
|
|
#ifndef OPENRCT2_BUILD_NUMBER
|
|
|
|
#define OPENRCT2_BUILD_NUMBER ""
|
|
|
|
#endif
|
|
|
|
#ifndef OPENRCT2_BUILD_SERVER
|
|
|
|
#define OPENRCT2_BUILD_SERVER ""
|
|
|
|
#endif
|
|
|
|
#ifndef OPENRCT2_BRANCH
|
|
|
|
#define OPENRCT2_BRANCH "develop"
|
|
|
|
#endif
|
|
|
|
#ifndef OPENRCT2_COMMIT_SHA1
|
|
|
|
#define OPENRCT2_COMMIT_SHA1 ""
|
|
|
|
#endif
|
|
|
|
#ifndef OPENRCT2_COMMIT_SHA1_SHORT
|
|
|
|
#define OPENRCT2_COMMIT_SHA1_SHORT ""
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|