aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/coktelvideo/coktelvideo.h
diff options
context:
space:
mode:
authorEugene Sandulenko2009-08-29 19:48:01 +0000
committerEugene Sandulenko2009-08-29 19:48:01 +0000
commit5f8fafcc1394225bdf0325f0796527a8fa946424 (patch)
treeffa92e08e0c84ba34b7a69aa60a41efb66c985bc /graphics/video/coktelvideo/coktelvideo.h
parente8a5cf29d4f6780310332d94dbff4972f12fc14b (diff)
downloadscummvm-rg350-5f8fafcc1394225bdf0325f0796527a8fa946424.tar.gz
scummvm-rg350-5f8fafcc1394225bdf0325f0796527a8fa946424.tar.bz2
scummvm-rg350-5f8fafcc1394225bdf0325f0796527a8fa946424.zip
Patch #2836424: "Optional compilation of CoktelVideo and Indeo3"
svn-id: r43807
Diffstat (limited to 'graphics/video/coktelvideo/coktelvideo.h')
-rw-r--r--graphics/video/coktelvideo/coktelvideo.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/video/coktelvideo/coktelvideo.h b/graphics/video/coktelvideo/coktelvideo.h
index db80b4c43d..b24195d110 100644
--- a/graphics/video/coktelvideo/coktelvideo.h
+++ b/graphics/video/coktelvideo/coktelvideo.h
@@ -23,9 +23,17 @@
*
*/
+// Currently, only GOB plays IMDs and VMDs, so skip compiling if GOB is disabled.
+#if !(defined(ENABLE_GOB) || defined(DYNAMIC_MODULES))
+
+// Do not compile the CoktelVideo code
+
+#else
+
#ifndef GRAPHICS_VIDEO_COKTELVIDEO_H
#define GRAPHICS_VIDEO_COKTELVIDEO_H
+#include "common/scummsys.h"
#include "common/stream.h"
#include "common/array.h"
#include "graphics/dither.h"
@@ -34,7 +42,9 @@
namespace Graphics {
+#ifdef USE_INDEO3
class Indeo3;
+#endif
/** Common interface for handling Coktel Vision videos and derivated formats. */
class CoktelVideo {
@@ -475,7 +485,10 @@ protected:
bool _doubleMode;
Graphics::PaletteLUT *_palLUT;
+
+#ifdef USE_INDEO3
Indeo3 *_codecIndeo3;
+#endif
void clear(bool del = true);
@@ -519,3 +532,5 @@ protected:
} // End of namespace Graphics
#endif // GRAPHICS_VIDEO_COKTELVIDEO_H
+
+#endif // Engine and dynamic plugins guard