aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/fmv/movieplayer.h
diff options
context:
space:
mode:
authorFilippos Karapetis2010-10-13 13:07:16 +0000
committerFilippos Karapetis2010-10-13 13:07:16 +0000
commit681ec592927b8d9a81eed7b1038743bf8e378de2 (patch)
treee78b164f2539b46927207757fae6148f776a25bd /engines/sword25/fmv/movieplayer.h
parent30ed39e381648154ab18bd5d80f196a77a50eb7c (diff)
downloadscummvm-rg350-681ec592927b8d9a81eed7b1038743bf8e378de2.tar.gz
scummvm-rg350-681ec592927b8d9a81eed7b1038743bf8e378de2.tar.bz2
scummvm-rg350-681ec592927b8d9a81eed7b1038743bf8e378de2.zip
SWORD25: Added a ENABLE_THEORA define inside fmv/theora_decoder.h
This define can be used to disable building of the Theora decoder, and thus makes libtheora optional (therefore resolving an item in the Sword25 TODO). Disabling the Theora decoder will effectively disable the game's videos Note that running the game with the Theora decoder disabled is still untested svn-id: r53416
Diffstat (limited to 'engines/sword25/fmv/movieplayer.h')
-rw-r--r--engines/sword25/fmv/movieplayer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sword25/fmv/movieplayer.h b/engines/sword25/fmv/movieplayer.h
index 96beb648c0..d661b4cb79 100644
--- a/engines/sword25/fmv/movieplayer.h
+++ b/engines/sword25/fmv/movieplayer.h
@@ -40,6 +40,8 @@
#include "sword25/fmv/theora_decoder.h"
#include "sword25/gfx/bitmap.h"
+#ifdef ENABLE_THEORA
+
namespace Sword25 {
class MoviePlayer : public Service {
@@ -143,3 +145,5 @@ private:
} // End of namespace Sword25
#endif
+
+#endif