From: Holger Schemel Date: Mon, 1 Apr 2002 12:03:19 +0000 (+0200) Subject: rnd-20020401-2-src X-Git-Tag: 2.1.0^2~71 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=4a137589031aa2c7effd6b020170098a976c566b;p=rocksndiamonds.git rnd-20020401-2-src --- diff --git a/src/libgame/text.c b/src/libgame/text.c index 92438117..89f04c49 100644 --- a/src/libgame/text.c +++ b/src/libgame/text.c @@ -147,6 +147,10 @@ void DrawTextExt(DrawBuffer *bitmap, int x, int y, c = 92; else if (c == 'ü' || c == 'Ü') c = 93; + else if (c == '[' || c == ']') /* map to normal braces */ + c = (c == '[' ? '(' : ')'); + else if (c == '\\') /* bad luck ... */ + c = '/'; if ((c >= 32 && c <= 95) || c == '°') { diff --git a/src/main.h b/src/main.h index 42eeba63..416ba9f2 100644 --- a/src/main.h +++ b/src/main.h @@ -1455,12 +1455,19 @@ extern int num_element_info; #define PROGRAM_VERSION_PATCH 2 #define PROGRAM_VERSION_STRING "2.0.2" +#define PROGRAM_DATE_STRING "[2002-04-01 01:11]" + #define PROGRAM_TITLE_STRING "Rocks'n'Diamonds" #define PROGRAM_AUTHOR_STRING "Holger Schemel" #define PROGRAM_RIGHTS_STRING "Copyright ^1995-2002 by" #define PROGRAM_DOS_PORT_STRING "DOS port done by Guido Schulz" #define PROGRAM_IDENT_STRING PROGRAM_VERSION_STRING " " TARGET_STRING +#define PROGRAM_BUILD_STRING PROGRAM_IDENT_STRING " " PROGRAM_DATE_STRING +#ifdef DEBUG +#define WINDOW_TITLE_STRING PROGRAM_TITLE_STRING " " PROGRAM_BUILD_STRING +#else #define WINDOW_TITLE_STRING PROGRAM_TITLE_STRING " " PROGRAM_IDENT_STRING +#endif #define WINDOW_SUBTITLE_STRING PROGRAM_RIGHTS_STRING " " PROGRAM_AUTHOR_STRING #define ICON_TITLE_STRING PROGRAM_TITLE_STRING #define UNIX_USERDATA_DIRECTORY ".rocksndiamonds"