diff options
author | Gregory Montoir | 2007-02-05 22:47:22 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-02-05 22:47:22 +0000 |
commit | 15e2af8e9dd52cef4fb57cb49e766c5192321042 (patch) | |
tree | 57b72fab61b6c18b1f7f461559241adb0423dd27 /engines/scumm/string.cpp | |
parent | 7082e5828931cc1f86d4a733ae46d492337ab6ae (diff) | |
download | scummvm-rg350-15e2af8e9dd52cef4fb57cb49e766c5192321042.tar.gz scummvm-rg350-15e2af8e9dd52cef4fb57cb49e766c5192321042.tar.bz2 scummvm-rg350-15e2af8e9dd52cef4fb57cb49e766c5192321042.zip |
'fixed' o_blastText and updated a comment
svn-id: r25396
Diffstat (limited to 'engines/scumm/string.cpp')
-rw-r--r-- | engines/scumm/string.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index 41327dbad9..6c2f207e13 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -64,12 +64,21 @@ void ScummEngine::printString(int m, const byte *msg) { } } +#ifndef DISABLE_SCUMM_7_8 +void ScummEngine_v8::printString(int m, const byte *msg) { + if (m == 4) { + const StringTab &st = _string[m]; + enqueueText(msg, st.xpos, st.ypos, st.color, st.charset, st.center); + } else { + ScummEngine::printString(m, msg); + } +} +#endif void ScummEngine::debugMessage(const byte *msg) { byte buffer[500]; convertMessageToString(msg, buffer, sizeof(buffer)); -// if ((_game.id == GID_CMI) && _debugMode) { // In CMI, debugMessage is used for printDebug output if ((buffer[0] != 0xFF) && _debugMode) { debug(0, "DEBUG: %s", buffer); return; |