rubidium@8276: /* $Id$ */ rubidium@8276: rubidium@8276: /** @file rev.cpp Autogenerated file with the revision and such of OpenTTD. */ rubidium@8276: rubidium@8276: #include "stdafx.h" rubidium@8276: rubidium@8276: /** rubidium@8276: * The text version of OpenTTD's revision. rubidium@8276: * This will be either "..[-RC]", rubidium@8276: * "r[M][-]" or "norev000". rubidium@8276: * rubidium@8276: * The major, minor and build are the numbers that describe releases of rubidium@8276: * OpenTTD (like 0.5.3). "-RC" is used to flag release candidates. rubidium@8276: * rubidium@8276: * The revision number is fairly straight forward. The M is to show that rubidium@8276: * the binary is made from modified source code. The branch shows the rubidium@8276: * branch the revision is of and will not be there when it is trunk. rubidium@8276: * rubidium@8276: * norev000 is for non-releases that are made on systems without rubidium@8276: * subversion or sources that are not a checkout of subversion. rubidium@8276: */ rubidium@8060: extern const char _openttd_revision[] = "@@VERSION@@"; rubidium@8276: rubidium@8276: /** rubidium@8276: * The NewGRF revision of OTTD: rubidium@8276: * bits meaning. rubidium@8276: * 28-31 major version rubidium@8276: * 24-27 minor version rubidium@8276: * 20-23 build rubidium@8276: * 19 1 if it is a release, 0 if it is not. rubidium@8276: * 0-18 revision number; 0 for releases and when the revision is unknown. rubidium@8276: * rubidium@8276: * The 19th bit is there so the development/betas/alpha, etc. leading to a rubidium@8276: * final release will always have a lower version number than the released rubidium@8276: * version, thus making comparisions on specific revisions easy. rubidium@8276: */ rubidium@10654: uint32 _openttd_newgrf_version = 0 << 28 | 6 << 24 | 1 << 20 | 0 << 19 | (@@REVISION@@ & ((1 << 19) - 1)); rubidium@8276: rubidium@8060: #ifdef __MORPHOS__ rubidium@8276: /** rubidium@8276: * Variable used by MorphOS to show the version. rubidium@8276: */ rubidium@8060: extern const char morphos_versions_tag[] = "\\0$VER: OpenTTD @@VERSION@@ (@@DATE@@) OpenTTD Team [MorphOS, PowerPC]"; rubidium@8060: #endif