Files
@ r12162:c4894f5339c3
Branch filter:
Location: cpp/openttd-patchpack/source/src/rev.cpp.in - annotation
r12162:c4894f5339c3
1.9 KiB
text/plain
(svn r16583) -Update: the order of the language files so it's in sync with english.txt. Normally WT2 would do this, but only with activity for those languages. Now we'd like to the order to match so we can more easily spot import bugs while developing WT3.
r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r9085:bfc6f61fcf0c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r11911:68c886dabb52 r7780:af8c230bc12c r7780:af8c230bc12c r9457:ecfeb802c57a r9457:ecfeb802c57a r9457:ecfeb802c57a r9457:ecfeb802c57a r9457:ecfeb802c57a r9457:ecfeb802c57a r9457:ecfeb802c57a r11911:68c886dabb52 r9457:ecfeb802c57a r9457:ecfeb802c57a r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r11911:68c886dabb52 r7780:af8c230bc12c r7564:3b7ac73c8322 r7780:af8c230bc12c r7780:af8c230bc12c r7780:af8c230bc12c r11911:68c886dabb52 r7564:3b7ac73c8322 | /* $Id$ */
/** @file rev.cpp Autogenerated file with the revision and such of OpenTTD. */
#include "stdafx.h"
#include "rev.h"
/**
* The text version of OpenTTD's revision.
* This will be either "<major>.<minor>.<build>[-RC<rc>]",
* "r<revision number>[M][-<branch>]" or "norev000".
*
* The major, minor and build are the numbers that describe releases of
* OpenTTD (like 0.5.3). "-RC" is used to flag release candidates.
*
* The revision number is fairly straight forward. The M is to show that
* the binary is made from modified source code. The branch shows the
* branch the revision is of and will not be there when it is trunk.
*
* norev000 is for non-releases that are made on systems without
* subversion or sources that are not a checkout of subversion.
*/
const char _openttd_revision[] = "!!VERSION!!";
/**
* Let us know if current build was modified. This detection
* works even in the case when revision string is overriden by
* --revision argument.
* Value 0 means no modification, 1 is for unknown state
* (compiling from sources without any version control software)
* and 2 is for modified revision.
*/
const byte _openttd_revision_modified = !!MODIFIED!!;
/**
* The NewGRF revision of OTTD:
* bits meaning.
* 28-31 major version
* 24-27 minor version
* 20-23 build
* 19 1 if it is a release, 0 if it is not.
* 0-18 revision number; 0 for releases and when the revision is unknown.
*
* The 19th bit is there so the development/betas/alpha, etc. leading to a
* final release will always have a lower version number than the released
* version, thus making comparisions on specific revisions easy.
*/
const uint32 _openttd_newgrf_version = 0 << 28 | 8 << 24 | 0 << 20 | 0 << 19 | (!!REVISION!! & ((1 << 19) - 1));
#ifdef __MORPHOS__
/**
* Variable used by MorphOS to show the version.
*/
extern const char morphos_versions_tag[] = "$VER: OpenTTD !!VERSION!! (!!DATE!!) OpenTTD Team [MorphOS, PowerPC]";
#endif
|