aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/animation_he.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-07-13 12:08:26 -0400
committerMatthew Hoops2011-07-13 12:08:26 -0400
commita50abde1b1228aa8364349728ad7f4f328d4a2f4 (patch)
tree497d8f5037e80959a07da83dd3aa5f0f36194571 /engines/scumm/he/animation_he.cpp
parent7dc727131682806c9bd97ba1099ee2291c21a7a6 (diff)
downloadscummvm-rg350-a50abde1b1228aa8364349728ad7f4f328d4a2f4.tar.gz
scummvm-rg350-a50abde1b1228aa8364349728ad7f4f328d4a2f4.tar.bz2
scummvm-rg350-a50abde1b1228aa8364349728ad7f4f328d4a2f4.zip
BUILD: Allow for disabling Bink support
Diffstat (limited to 'engines/scumm/he/animation_he.cpp')
-rw-r--r--engines/scumm/he/animation_he.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/scumm/he/animation_he.cpp b/engines/scumm/he/animation_he.cpp
index 7c1bbfc9a5..40e99c26a8 100644
--- a/engines/scumm/he/animation_he.cpp
+++ b/engines/scumm/he/animation_he.cpp
@@ -26,15 +26,20 @@
#include "scumm/he/intern_he.h"
#include "audio/audiostream.h"
-#include "video/bink_decoder.h"
#include "video/smk_decoder.h"
+#ifdef USE_BINK
+#include "video/bink_decoder.h"
+#endif
+
namespace Scumm {
MoviePlayer::MoviePlayer(ScummEngine_v90he *vm, Audio::Mixer *mixer) : _vm(vm) {
+#ifdef USE_BINK
if (_vm->_game.heversion >= 100 && (_vm->_game.features & GF_16BIT_COLOR))
_video = new Video::BinkDecoder();
else
+#endif
_video = new Video::SmackerDecoder(mixer);
_flags = 0;