aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video/video_theora_player.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2013-04-17 21:14:20 +0200
committerEinar Johan Trøan Sømåen2013-04-17 21:21:17 +0200
commitb71570b4c8cae4ea42a18ecca5257c97df460aa5 (patch)
treee8246c1dcaeb24e39c01ac86702e350afdfc573b /engines/wintermute/video/video_theora_player.cpp
parent76d9256679040abc8d566d9e579820861ff1a41f (diff)
downloadscummvm-rg350-b71570b4c8cae4ea42a18ecca5257c97df460aa5.tar.gz
scummvm-rg350-b71570b4c8cae4ea42a18ecca5257c97df460aa5.tar.bz2
scummvm-rg350-b71570b4c8cae4ea42a18ecca5257c97df460aa5.zip
WINTERMUTE: Improve const-usage in VideoTheoraPlayer.
Diffstat (limited to 'engines/wintermute/video/video_theora_player.cpp')
-rw-r--r--engines/wintermute/video/video_theora_player.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp
index 18498bfb41..3777eede10 100644
--- a/engines/wintermute/video/video_theora_player.cpp
+++ b/engines/wintermute/video/video_theora_player.cpp
@@ -335,7 +335,7 @@ bool VideoTheoraPlayer::update() {
}
//////////////////////////////////////////////////////////////////////////
-uint32 VideoTheoraPlayer::getMovieTime() {
+uint32 VideoTheoraPlayer::getMovieTime() const {
if (!_playbackStarted) {
return 0;
} else {
@@ -432,7 +432,7 @@ bool VideoTheoraPlayer::setAlphaImage(const Common::String &filename) {
}
//////////////////////////////////////////////////////////////////////////
-byte VideoTheoraPlayer::getAlphaAt(int x, int y) {
+byte VideoTheoraPlayer::getAlphaAt(int x, int y) const {
if (_alphaImage) {
return _alphaImage->getAlphaAt(x, y);
} else {
@@ -525,7 +525,7 @@ bool VideoTheoraPlayer::initializeSimple() {
}
//////////////////////////////////////////////////////////////////////////
-BaseSurface *VideoTheoraPlayer::getTexture() {
+BaseSurface *VideoTheoraPlayer::getTexture() const {
return _texture;
}