1/** 2 * @file dd_version.h 3 * Version information. 4 * 5 * @authors Copyright © 2000-2020 Jaakko Keränen <jaakko.keranen@iki.fi> 6 * @authors Copyright © 2007-2015 Daniel Swanson <danij@dengine.net> 7 * @authors Copyright © 2006 Jamie Jones <jamie_jones_au@yahoo.com.au> 8 * 9 * @par License 10 * GPL: http://www.gnu.org/licenses/gpl.html 11 * 12 * <small>This program is free software; you can redistribute it and/or modify 13 * it under the terms of the GNU General Public License as published by the 14 * Free Software Foundation; either version 2 of the License, or (at your 15 * option) any later version. This program is distributed in the hope that it 16 * will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty 17 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 18 * Public License for more details. You should have received a copy of the GNU 19 * General Public License along with this program; if not, write to the Free 20 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 21 * 02110-1301 USA</small> 22 */ 23 24#ifndef LIBDENG_VERSION_H 25#define LIBDENG_VERSION_H 26 27#include "dengproject.h" 28 29#ifdef __cplusplus 30extern "C" { 31#endif 32 33#define DOOMSDAY_NICENAME "Doomsday Engine" 34 35#define LIBDENG_PLUGINDESC "(" DOOMSDAY_NICENAME " Plugin)" 36 37#define DOOMSDAY_HOMEURL "https://dengine.net" 38#define DOOMSDAY_DOCSURL "https://manual.dengine.net/" 39 40/** 41 * Version number rules: (major).(minor).(revision)-(release name) 42 * 43 * Major version will be 1 for now (few things short of a complete 44 * rewrite will increase the major version). 45 * 46 * Minor version increases with important feature releases. 47 * NOTE: No extra zeros. Numbering goes from 1 to 9 and continues from 48 * 10 like 'normal' numbers. 49 * 50 * Revision number increases with each small (maintenance) release. 51 */ 52 53#define DOOMSDAY_VERSION_BASE "${DENG_VERSION}" 54#define DOOMSDAY_VERSION_NUMBER ${DENG_VERSION_WINDOWS} // For WIN32 version info. 55 56/** 57 * DOOMSDAY_RELEASE_TYPE determines the classification of the release. 58 * Possible values are "Unstable", "Candidate" and "Stable". 59 */ 60#define DOOMSDAY_RELEASE_TYPE "${DENG_RELEASE_TYPE}" 61 62/** 63 * Copyright string is used in WIN32 binary metadata markup. 64 */ 65#define DOOMSDAY_COPYRIGHT "2003-2020, " DENGPROJECT_NICEAUTHOR 66 67/** 68 * Version constants. The Game module can use DOOMSDAY_VERSION to 69 * verify that the engine is new enough. Don't change 70 * DOOMSDAY_VERSION unless you wish to break compatibility. 71 */ 72#define DOOMSDAY_VERSION 20000 // Don't touch; see above. 73 74#if !defined(DENG_STABLE) && defined(DOOMSDAY_BUILD_TEXT) 75/** The build number is included only for non-Stable builds. */ 76# define DOOMSDAY_VERSION_TEXT DOOMSDAY_VERSION_BASE " [#" DOOMSDAY_BUILD_TEXT "]" 77# if defined(WIN32) && defined(UNICODE) 78# define DOOMSDAY_VERSION_TEXT_WSTR TEXT(DOOMSDAY_VERSION_BASE) TEXT(" [#") TEXT(DOOMSDAY_BUILD_TEXT) TEXT("]") 79# endif 80 81#elif defined(DOOMSDAY_RELEASE_NAME) 82# define DOOMSDAY_VERSION_TEXT DOOMSDAY_VERSION_BASE "-" DOOMSDAY_RELEASE_NAME 83# if defined(WIN32) && defined(UNICODE) 84# define DOOMSDAY_VERSION_TEXT_WSTR TEXT(DOOMSDAY_VERSION_BASE) TEXT("-") TEXT(DOOMSDAY_RELEASE_NAME) 85# endif 86 87#else 88# define DOOMSDAY_VERSION_TEXT DOOMSDAY_VERSION_BASE 89# if defined(WIN32) && defined(UNICODE) 90# define DOOMSDAY_VERSION_TEXT_WSTR TEXT(DOOMSDAY_VERSION_BASE) 91# endif 92#endif 93 94#ifdef __cplusplus 95} // extern "C" 96#endif 97 98#endif /* LIBDENG_VERSION_H */ 99