aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorMax Horn2004-01-19 19:09:08 +0000
committerMax Horn2004-01-19 19:09:08 +0000
commit7e42cd74afd4f989425944a1357200c67dfc1945 (patch)
tree50de0c0f4cd3f1c6f5c8b5f3ba1209ab466d2f85 /scumm/string.cpp
parentf94373b570ecfb276052b9d3061f4545ecd2a2f3 (diff)
downloadscummvm-rg350-7e42cd74afd4f989425944a1357200c67dfc1945.tar.gz
scummvm-rg350-7e42cd74afd4f989425944a1357200c67dfc1945.tar.bz2
scummvm-rg350-7e42cd74afd4f989425944a1357200c67dfc1945.zip
found a place where _blitAlso is used in Sam&Max
svn-id: r12513
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp22
1 files changed, 7 insertions, 15 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 64aca168fb..3c18923fd5 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -439,25 +439,17 @@ void ScummEngine::drawString(int a) {
}
} else {
if (a == 1 && _version >= 6) {
- // FIXME: Fingolfin would like to know what this code is good
- // for, exactly. It seems it was added a *looong* time ago, in
- // the old CVS module. See revisions 1.5 and 1.37 of the
- // original string.cpp file.
- // In particular, what kind of regressions might occur when it
- // is removed, I wonder... so I am disabling it for now.
- // Please report any regressions you observe to Fingolfin :-)
- //
- // Note #1: _blitAlso causes things to be "imprinted" on the
- // room background. Maybe it is used in some room to write
- // some text 'permanently' ?
- // Note #2: If triggered "accidentaly", this code could also
- // cause code to be left printed when it shouldn't...
+ // FIXME: The following code is a bit nasty. It is used for the
+ // Highway surfing game in Sam&Max; there, _blitAlso is set to
+ // true when writing the highscore numbers. Maybe it is also
+ // being used in other places.
+ // A better name for _blitAlso might be _imprintOnBackground
if (_string[a].no_talk_anim == false) {
// Sam and Max seems to blitAlso 32 a lot, which does
// nothing anyway. So just hide that one for brevity.
- if (c != '32')
+ if (c != 32)
warning("Would have set _charset->_blitAlso = true (wanted to print '%c' = %d)", c, c);
-// _charset->_blitAlso = true;
+ _charset->_blitAlso = true;
}
}
if (c >= 0x80 && _CJKMode)