aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/resources.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-11 23:55:46 -0500
committerPaul Gilbert2015-01-11 23:55:46 -0500
commit230c4f52ea8f5c95ea28a5f25bcf5c6f89acbd60 (patch)
tree7ce6ee023d6f5075011a25806d94265fbed1c9b8 /engines/xeen/resources.cpp
parentd8e23aa558ffda15e36d087dee6e3f3d1db659ff (diff)
downloadscummvm-rg350-230c4f52ea8f5c95ea28a5f25bcf5c6f89acbd60.tar.gz
scummvm-rg350-230c4f52ea8f5c95ea28a5f25bcf5c6f89acbd60.tar.bz2
scummvm-rg350-230c4f52ea8f5c95ea28a5f25bcf5c6f89acbd60.zip
XEEN: Implemented map getCell method
Diffstat (limited to 'engines/xeen/resources.cpp')
-rw-r--r--engines/xeen/resources.cpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/engines/xeen/resources.cpp b/engines/xeen/resources.cpp
index 0737e1462d..352e59620c 100644
--- a/engines/xeen/resources.cpp
+++ b/engines/xeen/resources.cpp
@@ -375,4 +375,44 @@ const int DIRECTION_ANIM_POSITIONS[4][4] = {
{ 0, 1, 2, 3 }, { 3, 0, 1, 2 }, { 2, 3, 0, 1 }, { 1, 2, 3, 0 }
};
+const byte WALL_NUMBERS[4][96] = {
+ {
+ 3, 0, 0, 0, 3, 0, 2, 0, 3, 0, 3, 0,
+ 0, 0, 3, 0, 2, 0, 3, 0, 3, 0, 0, 0,
+ 3, 0, 0, 0, 3, 0, 2, 0, 3, 0, 2, 0,
+ 3, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0,
+ 0, 0, 3, 0, 0, 0, 3, 0, 2, 0, 3, 0,
+ 2, 0, 3, 0, 2, 0, 3, 0, 2, 0, 3, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0,
+ 2, 0, 2, 0, 0, 0, 0, 0, 1, 0, 1, 0
+ }, {
+ 2, 0, 3, 0, 2, 0, 1, 0, 2, 0, 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