aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/cel_decoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/cel_decoder.cpp')
-rw-r--r--engines/pink/cel_decoder.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/pink/cel_decoder.cpp b/engines/pink/cel_decoder.cpp
index 5dbe9430c0..77aedc459b 100644
--- a/engines/pink/cel_decoder.cpp
+++ b/engines/pink/cel_decoder.cpp
@@ -55,33 +55,33 @@ bool CelDecoder::loadStream(Common::SeekableReadStream *stream) {
uint16 CelDecoder::getTransparentColourIndex() {
- CelVideoTrack *track = (CelVideoTrack*) getTrack(0);
+ CelVideoTrack *track = (CelVideoTrack *)getTrack(0);
if (!track)
return 0;
return track->getTransparentColourIndex();
}
const Graphics::Surface *CelDecoder::getCurrentFrame() {
- CelVideoTrack *track = (CelVideoTrack*) getTrack(0);
+ CelVideoTrack *track = (CelVideoTrack *)getTrack(0);
if (!track)
return 0;
return track->getCurrentFrame();
}
Common::Point CelDecoder::getCenter() {
- CelVideoTrack *track = (CelVideoTrack*) getTrack(0);
+ CelVideoTrack *track = (CelVideoTrack *)getTrack(0);
if (!track)
return Common::Point(0, 0);
return track->getCenter();
}
void CelDecoder::skipFrame() {
- CelVideoTrack *track = (CelVideoTrack*) getTrack(0);
+ CelVideoTrack *track = (CelVideoTrack *)getTrack(0);
track->skipFrame();
}
void CelDecoder::setEndOfTrack() {
- CelVideoTrack *track = (CelVideoTrack*) getTrack(0);
+ CelVideoTrack *track = (CelVideoTrack *)getTrack(0);
track->setEndOfTrack();
}
@@ -170,7 +170,7 @@ void CelDecoder::CelVideoTrack::skipFrame() {
}
if (_curFrame == 0)
- _transparentColourIndex = *(byte*)_surface->getBasePtr(0,0);
+ _transparentColourIndex = *(byte *)_surface->getBasePtr(0,0);
}
@@ -201,7 +201,7 @@ const Graphics::Surface *CelDecoder::CelVideoTrack::decodeNextFrame() {
}
if (_curFrame == 0)
- _transparentColourIndex = *(byte*)_surface->getBasePtr(0,0);
+ _transparentColourIndex = *(byte *)_surface->getBasePtr(0,0);
return _surface;
}