diff options
author | Filippos Karapetis | 2010-10-13 13:07:16 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-10-13 13:07:16 +0000 |
commit | 681ec592927b8d9a81eed7b1038743bf8e378de2 (patch) | |
tree | e78b164f2539b46927207757fae6148f776a25bd /engines/sword25/fmv/yuvtorgba.h | |
parent | 30ed39e381648154ab18bd5d80f196a77a50eb7c (diff) | |
download | scummvm-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/yuvtorgba.h')
-rw-r--r-- | engines/sword25/fmv/yuvtorgba.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sword25/fmv/yuvtorgba.h b/engines/sword25/fmv/yuvtorgba.h index 15fa85b7e4..16a403acdd 100644 --- a/engines/sword25/fmv/yuvtorgba.h +++ b/engines/sword25/fmv/yuvtorgba.h @@ -36,6 +36,9 @@ #define SWORD25_YUVTORGBA_H #include "sword25/kernel/common.h" +#include "sword25/fmv/theora_decoder.h" // for ENABLE_THEORA + +#ifdef ENABLE_THEORA #include <theora/theora.h> #include <theora/codec.h> @@ -49,3 +52,5 @@ public: } // End of namespace Sword25 #endif + +#endif |