From 6f6cac1787dec5f15b298c18c08339cacde7cb99 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Sep 2013 12:45:07 +0300 Subject: Show SDL version in client version and in updates. --- src/main.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2