aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_tim.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-03-04 00:45:34 +0000
committerJohannes Schickel2009-03-04 00:45:34 +0000
commit3a35b5b5f25a6ff5d20be5374bdb505f51ee3a43 (patch)
treeae511ea53e96b3ce3a50f2cec645739c5ba04f89 /engines/kyra/script_tim.cpp
parentbc3702dcdb57814da4460469722c258ca10e6327 (diff)
downloadscummvm-rg350-3a35b5b5f25a6ff5d20be5374bdb505f51ee3a43.tar.gz
scummvm-rg350-3a35b5b5f25a6ff5d20be5374bdb505f51ee3a43.tar.bz2
scummvm-rg350-3a35b5b5f25a6ff5d20be5374bdb505f51ee3a43.zip
- Make Lands of Lore compileable optionally as suggested by _sev. (via ENABLE_LOL define)
- Change default build system to support LoL as a subengine of KYRA. LoL is currently disabled by default. (- Minor enum name fixes for Lands of Lore code.) svn-id: r39099
Diffstat (limited to 'engines/kyra/script_tim.cpp')
-rw-r--r--engines/kyra/script_tim.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/kyra/script_tim.cpp b/engines/kyra/script_tim.cpp
index 94aab24bb0..3150e7ab01 100644
--- a/engines/kyra/script_tim.cpp
+++ b/engines/kyra/script_tim.cpp
@@ -28,8 +28,11 @@
#include "kyra/resource.h"
#include "kyra/sound.h"
#include "kyra/wsamovie.h"
+
+#ifdef ENABLE_LOL
#include "kyra/lol.h"
#include "kyra/screen_lol.h"
+#endif // ENABLE_LOL
#include "common/endian.h"
@@ -706,6 +709,9 @@ int TIMInterpreter::cmd_stopAllFuncs(const uint16 *param) {
return -1;
}
+// TODO: Consider moving to another file
+
+#ifdef ENABLE_LOL
// LOL version of the TIM interpreter
TIMInterpreter_LoL::TIMInterpreter_LoL(LoLEngine *engine, Screen_v2 *screen_v2, OSystem *system) :
@@ -1097,6 +1103,7 @@ int TIMInterpreter_LoL::cmd_dialogueBox(const uint16 *param) {
return -3;
}
+#endif // ENABLE_LOL
} // end of namespace Kyra