diff options
author | Paul Gilbert | 2015-01-11 23:55:46 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-11 23:55:46 -0500 |
commit | 230c4f52ea8f5c95ea28a5f25bcf5c6f89acbd60 (patch) | |
tree | 7ce6ee023d6f5075011a25806d94265fbed1c9b8 /engines/xeen/resources.cpp | |
parent | d8e23aa558ffda15e36d087dee6e3f3d1db659ff (diff) | |
download | scummvm-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.cpp | 40 |
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, 2, 0, + 3, 0, 2, 0, 1, 0, 2, 0, 2, 0, 3, 0, +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