diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-12-27 15:13:02 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-12-27 15:24:47 +0100 |
commit | f10addfc13d3b174e4de2529978db2cfce4e5bb1 (patch) | |
tree | 211e3a4fdc25065810db018db9374b0a849df58e /crawl-ref/source/viewchar.cc | |
parent | 21d39fbc5baa0d247abb40f66dfee07a3abd7a99 (diff) | |
download | crawl-ref-f10addfc13d3b174e4de2529978db2cfce4e5bb1.tar.gz crawl-ref-f10addfc13d3b174e4de2529978db2cfce4e5bb1.zip |
Replace '+' by '∞' for books in CSET_UNICODE and CSET_IBM.
Diffstat (limited to 'crawl-ref/source/viewchar.cc')
-rw-r--r-- | crawl-ref/source/viewchar.cc | 14 |
1 files changed, 11 insertions, 3 deletions
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 }, |