aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-11-15 19:31:44 +0000
committerPaweł Kołodziejski2002-11-15 19:31:44 +0000
commitfcc12f57030eaf27eeb827dfe1f34cb1a08a2274 (patch)
tree8f344c64e8051058fa28334133a960053a52a58c /scumm/smush
parent988d2430c7e5b979f944036a6f772207c8541af5 (diff)
downloadscummvm-rg350-fcc12f57030eaf27eeb827dfe1f34cb1a08a2274.tar.gz
scummvm-rg350-fcc12f57030eaf27eeb827dfe1f34cb1a08a2274.tar.bz2
scummvm-rg350-fcc12f57030eaf27eeb827dfe1f34cb1a08a2274.zip
added draw smush subtitles mode 9
svn-id: r5576
Diffstat (limited to 'scumm/smush')
-rw-r--r--scumm/smush/player.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/smush/player.cpp b/scumm/smush/player.cpp
index ffcd2dd438..5b3913f039 100644
--- a/scumm/smush/player.cpp
+++ b/scumm/smush/player.cpp
@@ -404,6 +404,9 @@ void SmushPlayer::handleTextResource(Chunk & b) {
else if(flags == 8) {
fr->drawStringWrap(str, _curBuffer, _frameSize, pos_x, MAX(pos_y, top), width);
}
+ else if(flags == 9) {
+ fr->drawStringCentered(str, _curBuffer, _frameSize, MAX(pos_y, top), left, width, pos_x);
+ }
else if(flags == 12) {
fr->drawStringWrap(str, _curBuffer, _frameSize, pos_x, MAX(pos_y, top), width);
}