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