From f10addfc13d3b174e4de2529978db2cfce4e5bb1 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Sun, 27 Dec 2009 15:13:02 +0100 Subject: Replace '+' by '∞' for books in CSET_UNICODE and CSET_IBM. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crawl-ref/source/viewchar.cc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/viewchar.cc') diff --git a/crawl-ref/source/viewchar.cc b/crawl-ref/source/viewchar.cc index 78818642bd..bf0460591c 100644 --- a/crawl-ref/source/viewchar.cc +++ b/crawl-ref/source/viewchar.cc @@ -24,27 +24,35 @@ static const unsigned dchar_table[ NUM_CSET ][ NUM_DCHAR_TYPES ] = 177, 176, 249, 250, '\'', 254, '^', '>', '<', // wall .. stairs up 220, 239, 244, 247, '8', '~', '~', // altar .. item detect '0', ')', '[', '/', '%', '?', '=', '!', '(', // orb .. missile - '+', '\\', '}', '%', '$', '"', '#', 234, // book .. trees + 236, '\\', '}', '%', '$', '"', '#', 234, // book .. trees ' ', '!', '#', '%', '+', ')', '*', '+', // space .. fired_burst '/', '=', '?', 'X', '[', '`', '#' // fi_stick .. explosion }, // CSET_DEC - remember: 224-255 are mapped to shifted 96-127 + // It's better known as "vt100 line drawing characters". { 225, 224, 254, ':', '\'', 238, '^', '>', '<', // wall .. stairs up 251, 182, 167, 187, '8', 171, 168, // altar .. item detect '0', ')', '[', '/', '%', '?', '=', '!', '(', // orb .. missile - '+', '\\', '}', '%', '$', '"', '#', '7', // book .. trees + ':', '\\', '}', '%', '$', '"', '#', '7', // book .. trees ' ', '!', '#', '%', '+', ')', '*', '+', // space .. fired_burst '/', '=', '?', 'X', '[', '`', '#' // fi_stick .. explosion }, // CSET_UNICODE + /* Beware, some popular terminals (PuTTY, xterm) are incapable of coping with + the lack of a character in the chosen font, and most popular fonts have a + quite limited repertoire. A subset that is reasonably likely to be present + is http://en.wikipedia.org/wiki/WGL4; we could provide a richer alternate + set for those on more capable terminals (including for example Thai 0xEB0 + for clouds), but that would require decoupling encoding from charset. + */ { 0x2592, 0x2591, 0xB7, 0x25E6, '\'', 0x25FC, '^', '>', '<', '_', 0x2229, 0x2320, 0x2248, '8', '~', '~', '0', ')', '[', '/', '%', '?', '=', '!', '(', - '+', '|', '}', '%', '$', '"', '#', 0x2663, + 0x221E, '|', '}', '%', '$', '"', '#', 0x2663, ' ', '!', '#', '%', '+', ')', '*', '+', // space .. fired_burst '/', '=', '?', 'X', '[', '`', '#' // fi_stick .. explosion }, -- cgit v1.2.3-54-g00ecf