-#define COMPILE_DATE_STRING "2014-10-09 01:55"
+#define COMPILE_DATE_STRING "2014-10-09 16:18"
EL_CHAR('^'),
EL_CHAR('_'),
- EL_CHAR('©'),
- EL_CHAR('Ä'),
- EL_CHAR('Ö'),
- EL_CHAR('Ü'),
+ EL_CHAR(CHAR_BYTE_COPYRIGHT),
+ EL_CHAR(CHAR_BYTE_UMLAUT_A),
+ EL_CHAR(CHAR_BYTE_UMLAUT_O),
+ EL_CHAR(CHAR_BYTE_UMLAUT_U),
- EL_CHAR('°'),
- EL_CHAR('®'),
+ EL_CHAR(CHAR_BYTE_DEGREE),
+ EL_CHAR(CHAR_BYTE_REGISTERED),
EL_CHAR(FONT_ASCII_CURSOR),
EL_CHAR(FONT_ASCII_BUTTON),
EL_STEEL_CHAR('^'),
EL_STEEL_CHAR('_'),
- EL_STEEL_CHAR('©'),
- EL_STEEL_CHAR('Ä'),
- EL_STEEL_CHAR('Ö'),
- EL_STEEL_CHAR('Ü'),
+ EL_STEEL_CHAR(CHAR_BYTE_COPYRIGHT),
+ EL_STEEL_CHAR(CHAR_BYTE_UMLAUT_A),
+ EL_STEEL_CHAR(CHAR_BYTE_UMLAUT_O),
+ EL_STEEL_CHAR(CHAR_BYTE_UMLAUT_U),
- EL_STEEL_CHAR('°'),
- EL_STEEL_CHAR('®'),
+ EL_STEEL_CHAR(CHAR_BYTE_DEGREE),
+ EL_STEEL_CHAR(CHAR_BYTE_REGISTERED),
EL_STEEL_CHAR(FONT_ASCII_CURSOR),
EL_STEEL_CHAR(FONT_ASCII_BUTTON),
else if (element >= NUM_FILE_ELEMENTS)
element_mapped = EL_UNKNOWN;
- printf("%c%03d", (mode == CB_DUMP_BRUSH ? '`' : '¸'), element_mapped);
+ printf("%c%03d", (mode == CB_DUMP_BRUSH ? '`' : '¸'), element_mapped);
}
printf("\n");
/* map lower case letters to upper case and convert special characters */
if (letter >= 'a' && letter <= 'z')
letter_element = EL_CHAR_ASCII0 + letter + (int)('A' - 'a');
- else if (letter == 'ä' || letter == 'Ä')
+ else if (letter == CHAR_BYTE_UMLAUT_a || letter == CHAR_BYTE_UMLAUT_A)
letter_element = EL_CHAR_AUMLAUT;
- else if (letter == 'ö' || letter == 'Ö')
+ else if (letter == CHAR_BYTE_UMLAUT_o || letter == CHAR_BYTE_UMLAUT_O)
letter_element = EL_CHAR_OUMLAUT;
- else if (letter == 'ü' || letter == 'Ü')
+ else if (letter == CHAR_BYTE_UMLAUT_u || letter == CHAR_BYTE_UMLAUT_U)
letter_element = EL_CHAR_UUMLAUT;
else if (letter == '^')
letter_element = EL_CHAR_COPYRIGHT;
# http://www.artsoft.org/
# -----------------------------------------------------------------------------
# The native Emerald Mine game engine is based on:
-# Emerald Mine for X11 © 2000,2001 David Tritscher
+# Emerald Mine for X11 (c) 2000,2001 David Tritscher
# -----------------------------------------------------------------------------
# src/game_em/Makefile
# =============================================================================
char *preceding_playfield_memory[] =
{
"95 89 95 89 95 89 3b 8a 3b 8a 3b 8a 3b 8a 3b 8a", // |......;.;.;.;.;.|
- "3b 8a 3b 8a 3b 8a e8 8a e8 8a e8 8a e8 8a e8 8a", // |;.;.;.è.è.è.è.è.|
- "e8 8a e8 8a e8 8a b1 8b b1 8b b1 8b b1 8b b1 8b", // |è.è.è.±.±.±.±.±.|
- "b1 8b b1 8b b1 8b 85 8c 85 8c 85 8c 85 8c 85 8c", // |±.±.±...........|
+ "3b 8a 3b 8a 3b 8a e8 8a e8 8a e8 8a e8 8a e8 8a", // |;.;.;...........|
+ "e8 8a e8 8a e8 8a b1 8b b1 8b b1 8b b1 8b b1 8b", // |................|
+ "b1 8b b1 8b b1 8b 85 8c 85 8c 85 8c 85 8c 85 8c", // |................|
"85 8c 85 8c 85 8c 5b 8d 5b 8d 5b 8d 5b 8d 5b 8d", // |......[.[.[.[.[.|
"5b 8d 5b 8d 5b 8d 06 8e 06 8e 06 8e 06 8e 06 8e", // |[.[.[...........|
- "06 8e 06 8e 06 8e ac 8e ac 8e ac 8e ac 8e ac 8e", // |......¬.¬.¬.¬.¬.|
- "ac 8e ac 8e ac 8e 59 8f 59 8f 59 8f 59 8f 59 8f", // |¬.¬.¬.Y.Y.Y.Y.Y.|
- "59 8f 59 8f 59 8f 00 00 70 13 00 00 00 00 e8 17", // |Y.Y.Y...p.....è.|
+ "06 8e 06 8e 06 8e ac 8e ac 8e ac 8e ac 8e ac 8e", // |................|
+ "ac 8e ac 8e ac 8e 59 8f 59 8f 59 8f 59 8f 59 8f", // |......Y.Y.Y.Y.Y.|
+ "59 8f 59 8f 59 8f 00 00 70 13 00 00 00 00 e8 17", // |Y.Y.Y...p.......|
"00 00 00 00 00 00 69 38 00 00 00 00 00 00 00 00", // |......i8........|
- "00 00 00 00 00 00 00 00 d0 86 00 00 b2 34 00 00", // |........Ð...²4..|
+ "00 00 00 00 00 00 00 00 d0 86 00 00 b2 34 00 00", // |.............4..|
"00 00 00 00 00 00 8f 8b 1d 34 00 00 00 00 00 00", // |.........4......|
"00 00 00 00 23 39 09 09 00 0c 00 08 00 58 00 00", // |....#9.......X..|
"00 00 00 25 77 06 7f 00 00 00 01 00 00 00 00 00", // |...%w...........|
"00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00", // |................|
"00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00", // |................|
"00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00", // |................|
- "00 00 00 00 00 00 00 00 00 ec 06 26 05 00 00 00", // |.........ì.&....|
+ "00 00 00 00 00 00 00 00 00 ec 06 26 05 00 00 00", // |...........&....|
"00 00 00 01 00 00 00 00 31 32 33 34 35 36 37 38", // |........12345678|
"39 30 2d 00 08 00 51 57 45 52 54 59 55 49 4f 50", // |90-...QWERTYUIOP|
"00 00 0a 00 41 53 44 46 47 48 4a 4b 4c 00 00 00", // |....ASDFGHJKL...|
"00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00", // |................|
"00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00", // |................|
"00 00 00 00 00 00 2e 00 1e 00 31 00 14 00 39 00", // |..........1...9.|
- "1f 00 14 00 18 00 ff ff 01 00 01 4c 45 56 45 4c", // |......ÿÿ...LEVEL|
+ "1f 00 14 00 18 00 ff ff 01 00 01 4c 45 56 45 4c", // |...........LEVEL|
"53 2e 44 41 54 00 00 00 00 00 00 00 00 00 00 00", // |S.DAT...........|
"00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00", // |................|
"00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00", // |................|
if (*from_ptr == ',')
break;
- /* the user's real name may contain 'ß' characters (german sharp s),
+ /* the user's real name may contain 'german sharp s' characters,
which have no equivalent in upper case letters (used by our fonts) */
- if (*from_ptr == 'ß')
+ if (*from_ptr == CHAR_BYTE_SHARP_S)
{
from_ptr++;
*to_ptr++ = 's';
{ KSYM_asciitilde, "XK_asciitilde", "~" },
/* special (non-ASCII) keys (ISO-Latin-1) */
- { KSYM_degree, "XK_degree", "°" },
- { KSYM_Adiaeresis, "XK_Adiaeresis", "Ä" },
- { KSYM_Odiaeresis, "XK_Odiaeresis", "Ö" },
- { KSYM_Udiaeresis, "XK_Udiaeresis", "Ü" },
- { KSYM_adiaeresis, "XK_adiaeresis", "ä" },
- { KSYM_odiaeresis, "XK_odiaeresis", "ö" },
- { KSYM_udiaeresis, "XK_udiaeresis", "ü" },
+ { KSYM_degree, "XK_degree", "degree" },
+ { KSYM_Adiaeresis, "XK_Adiaeresis", "A umlaut" },
+ { KSYM_Odiaeresis, "XK_Odiaeresis", "O umlaut" },
+ { KSYM_Udiaeresis, "XK_Udiaeresis", "U umlaut" },
+ { KSYM_adiaeresis, "XK_adiaeresis", "a umlaut" },
+ { KSYM_odiaeresis, "XK_odiaeresis", "o umlaut" },
+ { KSYM_udiaeresis, "XK_udiaeresis", "u umlaut" },
{ KSYM_ssharp, "XK_ssharp", "sharp s" },
#if defined(TARGET_SDL2)
/* ========================================================================= */
/* The following functions were taken from the SGE library */
-/* (SDL Graphics Extension Library) by Anders Lindström */
+/* (SDL Graphics Extension Library) by Anders Lindström */
/* http://www.etek.chalmers.se/~e8cal1/sge/index.html */
/* ========================================================================= */
/* text output definitions */
#define MAX_OUTPUT_LINESIZE 1024
+/* special constants for old ISO-8859-1 character byte values */
+#define CHAR_BYTE_UMLAUT_A (0xc4)
+#define CHAR_BYTE_UMLAUT_O (0xd6)
+#define CHAR_BYTE_UMLAUT_U (0xdc)
+#define CHAR_BYTE_UMLAUT_a (0xe4)
+#define CHAR_BYTE_UMLAUT_o (0xf6)
+#define CHAR_BYTE_UMLAUT_u (0xfc)
+#define CHAR_BYTE_SHARP_S (0xdf)
+#define CHAR_BYTE_COPYRIGHT (0xa9)
+#define CHAR_BYTE_REGISTERED (0xae)
+#define CHAR_BYTE_DEGREE (0xb0)
+#define CHAR_BYTE_CURSOR (0xa0)
+
/* special character mapping for default fonts */
#define FONT_ASCII_CURSOR ((char)160)
#define FONT_ASCII_BUTTON ((char)128)
#define FONT_ASCII_RIGHT ((char)'>')
#define MAP_FONT_ASCII(c) ((c) >= 'a' && (c) <= 'z' ? 'A' + (c) - 'a' : \
- (c) == '©' ? 96 : \
- (c) == 'ä' || (c) == 'Ä' ? 97 : \
- (c) == 'ö' || (c) == 'Ö' ? 98 : \
- (c) == 'ü' || (c) == 'Ü' ? 99 : \
- (c) == '°' ? 100 : \
- (c) == '®' ? 101 : \
- (c) == FONT_ASCII_CURSOR ? 102 : \
- (c) == FONT_ASCII_BUTTON ? 109 : \
- (c) == FONT_ASCII_UP ? 110 : \
- (c) == FONT_ASCII_DOWN ? 111 : \
+ (c) == CHAR_BYTE_COPYRIGHT ? 96 : \
+ (c) == CHAR_BYTE_UMLAUT_a ? 97 : \
+ (c) == CHAR_BYTE_UMLAUT_A ? 97 : \
+ (c) == CHAR_BYTE_UMLAUT_o ? 98 : \
+ (c) == CHAR_BYTE_UMLAUT_O ? 98 : \
+ (c) == CHAR_BYTE_UMLAUT_u ? 99 : \
+ (c) == CHAR_BYTE_UMLAUT_U ? 99 : \
+ (c) == CHAR_BYTE_DEGREE ? 100 : \
+ (c) == CHAR_BYTE_REGISTERED ? 101 : \
+ (c) == FONT_ASCII_CURSOR ? 102 : \
+ (c) == FONT_ASCII_BUTTON ? 109 : \
+ (c) == FONT_ASCII_UP ? 110 : \
+ (c) == FONT_ASCII_DOWN ? 111 : \
(c))
/* 64 regular ordered ASCII characters, 6 special characters, 1 cursor char. */
{
"char_copyright",
"char",
- "letter '©'"
+ "letter '\xa9'"
},
{
"char_aumlaut",
"char",
- "letter 'Ä'"
+ "letter '\xc4'"
},
{
"char_oumlaut",
"char",
- "letter 'Ö'"
+ "letter '\xd6'"
},
{
"char_uumlaut",
"char",
- "letter 'Ü'"
+ "letter '\xdc'"
},
{
"char_degree",
"char",
- "letter '°'"
+ "letter '\xb0'"
},
{
"char_trademark",
"char",
- "letter '®'"
+ "letter '\xae'"
},
{
"char_cursor",
"char",
- "letter ' '"
+ "letter '\xa0'"
},
{
"char_unused",
{
"steel_char_copyright",
"steel_char",
- "steel letter '©'"
+ "steel letter '\xa9'"
},
{
"steel_char_aumlaut",
"steel_char",
- "steel letter 'Ä'"
+ "steel letter '\xc4'"
},
{
"steel_char_oumlaut",
"steel_char",
- "steel letter 'Ö'"
+ "steel letter '\xd6'"
},
{
"steel_char_uumlaut",
"steel_char",
- "steel letter 'Ü'"
+ "steel letter '\xdc'"
},
{
"steel_char_degree",
"steel_char",
- "steel letter '°'"
+ "steel letter '\xb0'"
},
{
"steel_char_trademark",
"steel_char",
- "steel letter '®'"
+ "steel letter '\xae'"
},
{
"steel_char_cursor",
"steel_char",
- "steel letter ' '"
+ "steel letter '\xa0'"
},
{
"steel_char_unused",
#define PROGRAM_TITLE_STRING "Rocks'n'Diamonds"
#define PROGRAM_AUTHOR_STRING "Holger Schemel"
-#define PROGRAM_COPYRIGHT_STRING "Copyright ©1995-2014 by Holger Schemel"
+#define PROGRAM_COPYRIGHT_STRING "Copyright \xa91995-2014 by Holger Schemel"
#define PROGRAM_EMAIL_STRING "info@artsoft.org"
#define PROGRAM_WEBSITE_STRING "http://www.artsoft.org/"
#define PROGRAM_GAME_BY_STRING "A Game by Artsoft Entertainment"
DrawTextSCentered(ystart2 + 2 * ystep, FONT_TEXT_2,
"and");
DrawTextSCentered(ystart2 + 3 * ystep, FONT_TEXT_3,
- "Jürgen Bonhagen");
+ "J\xfcrgen Bonhagen");
DrawTextSCentered(ystart2 + 4 * ystep, FONT_TEXT_2,
"for the continuous creation");
DrawTextSCentered(ystart2 + 5 * ystep, FONT_TEXT_2,
DrawTextSCentered(ystart2 + 4 * ystep, FONT_TEXT_2,
"Thanks to");
DrawTextSCentered(ystart2 + 5 * ystep, FONT_TEXT_3,
- "Karl Hörnell");
+ "Karl H\xf6rnell");
DrawTextSCentered(ystart2 + 6 * ystep, FONT_TEXT_2,
"for some additional toons");
}
},
{
Xalpha_copyr, TRUE, FALSE,
- EL_CHAR('©'), -1, -1
+ EL_CHAR(CHAR_BYTE_COPYRIGHT), -1, -1
},
{