jkxr/Projects/Android/jni/OpenJK/codemp/qcommon/game_version.h

41 lines
1.7 KiB
C

/*
===========================================================================
Copyright (C) 2000 - 2013, Raven Software, Inc.
Copyright (C) 2001 - 2013, Activision, Inc.
Copyright (C) 2013 - 2015, OpenJK contributors
This file is part of the OpenJK source code.
OpenJK is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
===========================================================================
*/
#define _STR(x) #x
#define STR(x) _STR(x)
// Current version of the multi player game
#define VERSION_MAJOR_RELEASE 1
#define VERSION_MINOR_RELEASE 0
#define VERSION_EXTERNAL_BUILD 1
#define VERSION_INTERNAL_BUILD 0
#define VERSION_STRING STR(VERSION_MAJOR_RELEASE) ", " STR(VERSION_MINOR_RELEASE) ", " STR(VERSION_EXTERNAL_BUILD) ", " STR(VERSION_INTERNAL_BUILD) // "a, b, c, d"
#define VERSION_STRING_DOTTED STR(VERSION_MAJOR_RELEASE) "." STR(VERSION_MINOR_RELEASE) "." STR(VERSION_EXTERNAL_BUILD) "." STR(VERSION_INTERNAL_BUILD) // "a.b.c.d"
#if defined(_DEBUG)
#define JK_VERSION "(debug)OpenJK-MP: v" VERSION_STRING_DOTTED
#define JK_VERSION_OLD "(debug)JAmp: v" VERSION_STRING_DOTTED
#else
#define JK_VERSION "OpenJK-MP: v" VERSION_STRING_DOTTED
#define JK_VERSION_OLD "JAmp: v" VERSION_STRING_DOTTED
#endif