aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/animation.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-05-23 11:16:10 +0000
committerTorbjörn Andersson2010-05-23 11:16:10 +0000
commit1b294306dd49fb8b97f0e74d94b6c4a89403191c (patch)
treecb07e16548f2a8329c240620bb6a548c389b6f8d /engines/sword2/animation.h
parent8ed56e1834487f44c94c6b5c5a4353bb3a889696 (diff)
downloadscummvm-rg350-1b294306dd49fb8b97f0e74d94b6c4a89403191c.tar.gz
scummvm-rg350-1b294306dd49fb8b97f0e74d94b6c4a89403191c.tar.bz2
scummvm-rg350-1b294306dd49fb8b97f0e74d94b6c4a89403191c.zip
Another video player regression: When the palette changes, look up the
lightest/darkest available colours to use as white/black for the subtitles. It is possible that we could get away with fixed values for Broken Sword 2, since it has always had subtitles. But for Broken Sword 1, subtitles is a ScummVM addition, and we can't. svn-id: r49154
Diffstat (limited to 'engines/sword2/animation.h')
-rw-r--r--engines/sword2/animation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sword2/animation.h b/engines/sword2/animation.h
index bbf83e264c..ee32b1d5f2 100644
--- a/engines/sword2/animation.h
+++ b/engines/sword2/animation.h
@@ -87,6 +87,7 @@ protected:
uint32 _currentMovieText;
byte *_textSurface;
int _textX, _textY;
+ byte _white, _black;
DecoderType _decoderType;
Graphics::VideoDecoder *_decoder;