aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Prykhodko2018-06-27 22:15:40 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commit8a606ed8a89cb4ef3d43beffb2b4225afa6ab18b (patch)
treefd8797f5bc900c1ec519d8c29dbe6f58211f1884
parent98e7bdee4b3a3e527d4e5e2a38c3757cc9622ec9 (diff)
downloadscummvm-rg350-8a606ed8a89cb4ef3d43beffb2b4225afa6ab18b.tar.gz
scummvm-rg350-8a606ed8a89cb4ef3d43beffb2b4225afa6ab18b.tar.bz2
scummvm-rg350-8a606ed8a89cb4ef3d43beffb2b4225afa6ab18b.zip
PINK: added undef of macros
-rw-r--r--engines/pink/cel_decoder.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/pink/cel_decoder.cpp b/engines/pink/cel_decoder.cpp
index 4e66cf7038..3f3dc58ceb 100644
--- a/engines/pink/cel_decoder.cpp
+++ b/engines/pink/cel_decoder.cpp
@@ -117,6 +117,9 @@ void CelDecoder::CelVideoTrack::readPrefixChunk() {
}
}
+#undef PREFIX_TYPE
+#undef CEL_DATA
+
void CelDecoder::CelVideoTrack::readHeader() {
_fileStream->readUint16LE();
@@ -206,6 +209,8 @@ const Graphics::Surface *CelDecoder::CelVideoTrack::decodeNextFrame() {
return _surface;
}
+#undef FRAME_TYPE
+
bool CelDecoder::CelVideoTrack::rewind() {
// this method is overriden for 2 reasons:
// 1) bug in Flic rewind(curFrame)