diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-29 12:45:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-29 12:45:07 +0300 |
commit | 6f6cac1787dec5f15b298c18c08339cacde7cb99 (patch) | |
tree | 3c0c112e7efedd45eb50a3c2bec0af9cc835a874 /src/main.h | |
parent | d2eaa6dab3e63e44c84f8b21305a128f72dd541c (diff) | |
download | mv-6f6cac1787dec5f15b298c18c08339cacde7cb99.tar.gz mv-6f6cac1787dec5f15b298c18c08339cacde7cb99.tar.bz2 mv-6f6cac1787dec5f15b298c18c08339cacde7cb99.tar.xz mv-6f6cac1787dec5f15b298c18c08339cacde7cb99.zip |
Show SDL version in client version and in updates.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main.h b/src/main.h index 5c63d2521..f8e3f435b 100644 --- a/src/main.h +++ b/src/main.h @@ -89,11 +89,16 @@ // define DEBUG_ALPHA_CACHE 1 // define DEBUG_OPENGL_LEAKS 1 +#ifdef USE_SDL2 +#define SDL_NAME "SDL2" +#else +#define SDL_NAME "SDL1.2" +#endif #define PACKAGE_EXTENDED_VERSION "ManaPlus (" PACKAGE_OS \ -"; %s; 4144 v" SMALL_VERSION ")" +"; %s; " SDL_NAME "; 4144 v" SMALL_VERSION ")" #define PACKAGE_VERSION_4144 "ManaPlus 4144-" SMALL_VERSION "" -#define FULL_VERSION "ManaPlus " SMALL_VERSION " " PACKAGE_OS +#define FULL_VERSION "ManaPlus " SMALL_VERSION " " PACKAGE_OS ", " SDL_NAME #ifdef ANDROID #ifdef PKG_DATADIR |