aboutsummaryrefslogtreecommitdiff
path: root/engines/glk
diff options
context:
space:
mode:
authorTorbjörn Andersson2019-01-04 13:29:42 +0100
committerTorbjörn Andersson2019-01-04 13:29:42 +0100
commit448adc81d379177e99693ebbbd39d2d3d79db1ac (patch)
treefda13745ec2b5eb9c555aba83ffe8adfaf723e85 /engines/glk
parent79052366d049b767d43258f8a8c0926f9f10d7fe (diff)
downloadscummvm-rg350-448adc81d379177e99693ebbbd39d2d3d79db1ac.tar.gz
scummvm-rg350-448adc81d379177e99693ebbbd39d2d3d79db1ac.tar.bz2
scummvm-rg350-448adc81d379177e99693ebbbd39d2d3d79db1ac.zip
GLK: FROTZ: Clarify comment about Unicode runes a bit.
This started out as a typo fix. :-)
Diffstat (limited to 'engines/glk')
-rw-r--r--engines/glk/frotz/processor_screen.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/glk/frotz/processor_screen.cpp b/engines/glk/frotz/processor_screen.cpp
index da45fa16a3..dcde4b0219 100644
--- a/engines/glk/frotz/processor_screen.cpp
+++ b/engines/glk/frotz/processor_screen.cpp
@@ -82,11 +82,13 @@ uint32 Processor::zchar_to_unicode_rune(zchar c) {
// This produced an ugly mix of runes and map-drawing characters, etc.
// which is probably why it was removed in later versions.
//
- // Apart from the runes, I believe the up/down arrows are the only
- // special characters to be printed in the lower window. Maybe they,
- // too, should be mapped to Unicode characters, but since they are
- // mapped to \ and ] respectively that probably menas we can convert
- // upper case to lower case and use the appropriate rune for that.
+ // Still, it's probably a good idea to convert the upper case letters
+ // to lower case to get an appropriate rune. As far as I can tell, the
+ // upper case letters are all used for drawing maps and progress bars.
+ // I don't think they're ever intended for the lower window.
+ //
+ // Apart from the runes, the arrow glyphs could perhaps also be
+ // sensibly converted to Unicode?
if (c >= 'a' && c <= 'z')
return zchar_runes[c - 'a'];
else if (c >= 'A' && c <= 'Z')