aboutsummaryrefslogtreecommitdiff
path: root/engines/access/amazon/amazon_resources.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-10-31 23:01:47 -0400
committerPaul Gilbert2014-12-12 22:18:37 -0500
commit3627ff51aaad803f611b2e5f3072914d0170ed9c (patch)
tree2b15b2ad5d1311af105ecd735568a9ba198749ca /engines/access/amazon/amazon_resources.cpp
parent59c4c93c005896389915c1022634e5dd041e268a (diff)
downloadscummvm-rg350-3627ff51aaad803f611b2e5f3072914d0170ed9c.tar.gz
scummvm-rg350-3627ff51aaad803f611b2e5f3072914d0170ed9c.tar.bz2
scummvm-rg350-3627ff51aaad803f611b2e5f3072914d0170ed9c.zip
ACCESS: Implemented code for cmdChapter
Diffstat (limited to 'engines/access/amazon/amazon_resources.cpp')
-rw-r--r--engines/access/amazon/amazon_resources.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/engines/access/amazon/amazon_resources.cpp b/engines/access/amazon/amazon_resources.cpp
index a51457522e..05af0c116b 100644
--- a/engines/access/amazon/amazon_resources.cpp
+++ b/engines/access/amazon/amazon_resources.cpp
@@ -1314,6 +1314,44 @@ const int DEATH_CELLS[12][3] = {
{ 0, 94, 14 }
};
+const int CHAPTER_CELLS[17][3] = {
+ { 1, 96, 18 },
+ { 2, 96, 19 },
+ { 3, 96, 20 },
+ { 4, 96, 21 },
+ { 5, 96, 22 },
+ { 6, 96, 23 },
+ { 7, 96, 24 },
+ { 8, 96, 25 },
+ { 9, 96, 26 },
+ { 10, 96, 27 },
+ { 11, 96, 28 },
+ { 12, 96, 29 },
+ { 13, 96, 30 },
+ { 14, 96, 31 }
+};
+
+const int CHAPTER_TABLE[14][5] = {
+ { 18, 136, 27, 76, 49 },
+ { 16, 134, 27, 53, 74 },
+ { 16, 136, 27, 52, 56 },
+ { 16, 135, 26, 46, 75 },
+ { 16, 135, 27, 54, 66 },
+ { 16, 137, 27, 67, 79 },
+ { 14, 136, 27, 82, 52 },
+ { 15, 136, 26, 65, 73 },
+ { 15, 137, 26, 48, 75 },
+ { 17, 135, 27, 52, 66 },
+ { 15, 135, 27, 62, 65 },
+ { 16, 135, 28, 45, 66 },
+ { 16, 135, 28, 36, 67 },
+ { 15, 135, 27, 34, 63 }
+};
+
+const int CHAPTER_JUMP[14] = {
+ 0, 12, 10, 15, 19, 25, 31, 36, 45, 46, 29, 55, 61, 0
+};
+
} // End of namespace Amazon
} // End of namespace Access