aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/resources.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-23 23:47:05 -0500
committerPaul Gilbert2015-01-23 23:47:05 -0500
commit06b7eb220e6f7a98007f6eb011a23b04812506b1 (patch)
tree336d011171072470236609e7e5f439fdfda6ff67 /engines/xeen/resources.cpp
parent7bfc0344210cf1ea85ccbe784ea54d172ebadc40 (diff)
downloadscummvm-rg350-06b7eb220e6f7a98007f6eb011a23b04812506b1.tar.gz
scummvm-rg350-06b7eb220e6f7a98007f6eb011a23b04812506b1.tar.bz2
scummvm-rg350-06b7eb220e6f7a98007f6eb011a23b04812506b1.zip
XEEN: Implemented If script opcode
Diffstat (limited to 'engines/xeen/resources.cpp')
-rw-r--r--engines/xeen/resources.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/engines/xeen/resources.cpp b/engines/xeen/resources.cpp
index c167bdbb48..837ff15d36 100644
--- a/engines/xeen/resources.cpp
+++ b/engines/xeen/resources.cpp
@@ -471,4 +471,23 @@ const int MONSTER_EFFECT_FLAGS[15][8] = {
{ 0x108, 0x108, 0x108, 0x108, 0x108, 0x108, 0x108, 0x108 }
};
+const int SPELLS_ALLOWED[3][40] = {
+ {
+ 0, 1, 2, 3, 5, 6, 7, 8, 9, 10,
+ 12, 14, 16, 23, 26, 27, 28, 30, 31, 32,
+ 33, 42, 46, 48, 49, 50, 52, 55, 56, 58,
+ 59, 62, 64, 65, 67, 68, 71, 73, 74, 76
+ }, {
+ 1, 4, 11, 13, 15, 17, 18, 19, 20, 21,
+ 22, 24, 25, 29, 34, 35, 36, 37, 38, 39,
+ 40, 41, 42, 43, 44, 45, 47, 51, 53, 54,
+ 57, 60, 61, 63, 66, 69, 70, 72, 75, 76
+ }, {
+ 0, 1, 2, 3, 4, 5, 7, 9, 10, 20,
+ 25, 26, 27, 28, 30, 31, 34, 38, 40, 41,
+ 42, 43, 44, 45, 49, 50, 52, 53, 55, 59,
+ 60, 61, 62, 67, 68, 72, 73, 74, 75, 76
+ }
+};
+
} // End of namespace Xeen