aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-06 23:37:27 -0400
committerPaul Gilbert2016-07-15 19:20:39 -0400
commit0825f00bccfe94f055afba4ba721f73d8a6297fe (patch)
treeb94d017534cedc4e201609038ef8d90f3c484b98
parent565940d27c159823468bb2d059e3695d72974530 (diff)
downloadscummvm-rg350-0825f00bccfe94f055afba4ba721f73d8a6297fe.tar.gz
scummvm-rg350-0825f00bccfe94f055afba4ba721f73d8a6297fe.tar.bz2
scummvm-rg350-0825f00bccfe94f055afba4ba721f73d8a6297fe.zip
DEVTOOLS: Added Liftbot ranges to create_titanic
-rw-r--r--devtools/create_titanic/script_ranges.cpp111
1 files changed, 111 insertions, 0 deletions
diff --git a/devtools/create_titanic/script_ranges.cpp b/devtools/create_titanic/script_ranges.cpp
index 58dcecf8b6..8f52bd17c9 100644
--- a/devtools/create_titanic/script_ranges.cpp
+++ b/devtools/create_titanic/script_ranges.cpp
@@ -655,6 +655,116 @@ const ScriptRange DOORBOT_RANGES[39] = {
{ 221095, DOORBOT_RANGE39, true, false }
};
+const uint LIFTBOT_RANGE1[] = { 210028, 210034, 210039, 210044, 210049, 210054, 0 };
+const uint LIFTBOT_RANGE2[] = { 210321, 210322, 210323, 210324, 210792, 210794, 210796, 210793, 210795, 210797, 0 };
+const uint LIFTBOT_RANGE3[] = {
+ 210572, 210568, 210338, 210341, 210355, 210419, 210430, 210441, 210460, 210463,
+ 210464, 210475, 210477, 210496, 210497, 210503, 210357, 210359, 210372, 210382,
+ 210388, 210393, 210394, 210400, 210415, 0
+};
+const uint LIFTBOT_RANGE4[] = {
+ 210568, 210342, 210555, 210551, 210534, 210557, 210334, 210474, 210504, 210505,
+ 210517, 210358, 210359, 210360, 210376, 210378, 210379, 210382, 210396, 210398,
+ 210402, 0
+};
+const uint LIFTBOT_RANGE5[] = {
+ 210572, 210568, 210397, 210408, 210419, 210430, 210441, 210460, 210463, 210464,
+ 210475, 210477, 210496, 210497, 210503, 210357, 210359, 210372, 210382, 210388,
+ 210393, 210394, 210400, 210415, 0
+};
+const uint LIFTBOT_RANGE6[] = {
+ 210555, 210551, 210534, 210557, 210334, 210474, 210504, 210505, 210517, 210358,
+ 210359, 210360, 210376, 210378, 210379, 210382, 210396, 210398, 210402, 0
+};
+const uint LIFTBOT_RANGE7[] = { 210344, 210447, 210529, 210530, 210351, 210356, 210378, 0 };
+const uint LIFTBOT_RANGE8[] = { 210512, 210513, 210345, 0 };
+const uint LIFTBOT_RANGE9[] = { 210847, 210848, 210153, 0 };
+const uint LIFTBOT_RANGE10[] = { 210846, 210153, 0 };
+
+const uint LIFTBOT_RANGE11[] = { 210595, 210601, 210602, 210603, 210604, 210605, 210606, 210607, 210608, 210596,
+ 210597, 210598, 210599, 210600, 0 };
+const uint LIFTBOT_RANGE12[] = { 210489, 210570, 210610, 210610, 210610, 210610, 210610, 0 };
+const uint LIFTBOT_RANGE13[] = { 210819, 210822, 210823, 210824, 210825, 210827, 210828, 210829, 210820, 210821,
+ 210965, 210969, 210965, 210969, 0 };
+const uint LIFTBOT_RANGE14[] = { 210869, 210870, 210871, 210872, 210873, 0 };
+const uint LIFTBOT_RANGE15[] = { 210875, 210876, 210877, 210878, 210879, 0 };
+const uint LIFTBOT_RANGE16[] = { 210866, 210867, 0 };
+const uint LIFTBOT_RANGE17[] = { 210853, 210854, 0 };
+const uint LIFTBOT_RANGE18[] = { 210858, 210859, 0 };
+const uint LIFTBOT_RANGE19[] = { 210860, 210861, 210862, 210863, 210864, 210865, 0 };
+const uint LIFTBOT_RANGE20[] = { 210771, 210914, 0 };
+
+const uint LIFTBOT_RANGE21[] = { 210764, 210765, 210766, 210767, 210768, 210769, 210770, 0 };
+const uint LIFTBOT_RANGE22[] = { 210607, 210799, 210800, 210801, 210802, 210815, 210890, 210892, 0 };
+const uint LIFTBOT_RANGE23[] = { 210355, 210359, 210376, 210388, 210416, 210568, 210551, 0 };
+const uint LIFTBOT_RANGE24[] = { 210511, 210522, 210382, 210383, 210392, 210337, 210546, 210576, 0 };
+const uint LIFTBOT_RANGE25[] = { 210775, 210777, 210778, 210779, 210780, 210781, 210782, 210783, 210784, 210776,
+ 210459, 210789, 210790, 210791, 0 };
+const uint LIFTBOT_RANGE26[] = { 210780, 210781, 210782, 210783, 210784, 210780, 210781, 210782, 210783, 210784,
+ 210789, 210790, 210791, 0 };
+const uint LIFTBOT_RANGE27[] = { 210440, 210442, 0 };
+const uint LIFTBOT_RANGE28[] = { 210906, 210907, 210908, 210909, 210910, 210911, 210912, 0 };
+const uint LIFTBOT_RANGE29[] = { 210901, 210902, 210903, 210904, 210905, 0 };
+const uint LIFTBOT_RANGE30[] = { 210970, 210971, 210974, 210975, 210976, 210977, 210978, 210979, 210980, 210981,
+ 210972, 210973, 0 };
+
+const uint LIFTBOT_RANGE31[] = { 210830, 210831, 210832, 210833, 210834, 210835, 210836, 210837, 0 };
+const uint LIFTBOT_RANGE32[] = { 210692, 210695, 210696, 210697, 210698, 210699, 210700, 210701, 210702, 210693, 210694, 0 };
+const uint LIFTBOT_RANGE33[] = { 210915, 210916, 210917, 0 };
+const uint LIFTBOT_RANGE34[] = { 210688, 210689, 210690, 0 };
+const uint LIFTBOT_RANGE35[] = { 210946, 210947, 210948, 210949, 210950, 210951, 210952, 210953, 210954, 0 };
+const uint LIFTBOT_RANGE36[] = { 210923, 210924, 0 };
+const uint LIFTBOT_RANGE37[] = { 210925, 210926, 210927, 210928, 210929, 210930, 210931, 210932, 210933, 0 };
+const uint LIFTBOT_RANGE38[] = { 210413, 210799, 210800, 210801, 210802, 210888, 210889, 210890, 210891, 210892, 0 };
+const uint LIFTBOT_RANGE39[] = { 210682, 210684, 210028, 210034, 210683, 210039, 210685, 210044, 210049, 210686,
+ 210054, 0 };
+
+#define LIFTBOT_RANGE_COUNT 40
+const ScriptRange LIFTBOT_RANGES[40] = {
+ { 210033, LIFTBOT_RANGE1, false, false },
+ { 210321, LIFTBOT_RANGE2, true, false },
+ { 210580, LIFTBOT_RANGE3, true, false },
+ { 210581, LIFTBOT_RANGE4, true, false },
+ { 210582, LIFTBOT_RANGE5, true, false },
+ { 210583, LIFTBOT_RANGE6, true, false },
+ { 210584, LIFTBOT_RANGE7, true, false },
+ { 210585, LIFTBOT_RANGE8, true, false },
+ { 210586, LIFTBOT_RANGE9, false, false },
+ { 210587, LIFTBOT_RANGE10, false, false },
+
+ { 210588, LIFTBOT_RANGE11, true, false },
+ { 210589, LIFTBOT_RANGE12, true, false },
+ { 210590, LIFTBOT_RANGE13, true, false },
+ { 210869, LIFTBOT_RANGE14, false, false },
+ { 210875, LIFTBOT_RANGE15, false, false },
+ { 210866, LIFTBOT_RANGE16, false, false },
+ { 210853, LIFTBOT_RANGE17, false, false },
+ { 210858, LIFTBOT_RANGE18, false, false },
+ { 210860, LIFTBOT_RANGE19, false, false },
+ { 210771, LIFTBOT_RANGE20, false, false },
+
+ { 210764, LIFTBOT_RANGE21, false, false },
+ { 210958, LIFTBOT_RANGE22, true, false },
+ { 210591, LIFTBOT_RANGE23, true, false },
+ { 210592, LIFTBOT_RANGE24, true, false },
+ { 210594, LIFTBOT_RANGE25, true, false },
+ { 210593, LIFTBOT_RANGE26, true, false },
+ { 210440, LIFTBOT_RANGE27, false, false },
+ { 210906, LIFTBOT_RANGE28, true, false },
+ { 210901, LIFTBOT_RANGE29, true, false },
+ { 210970, LIFTBOT_RANGE30, false, false },
+
+ { 210830, LIFTBOT_RANGE31, true, false },
+ { 210692, LIFTBOT_RANGE32, false, false },
+ { 210915, LIFTBOT_RANGE33, false, false },
+ { 210688, LIFTBOT_RANGE34, false, false },
+ { 210946, LIFTBOT_RANGE35, true, false },
+ { 210923, LIFTBOT_RANGE36, false, false },
+ { 210925, LIFTBOT_RANGE37, true, false },
+ { 210413, LIFTBOT_RANGE38, true, false },
+ { 210682, LIFTBOT_RANGE39, false, false }
+};
+
void writeScriptRange(const char *name, const ScriptRange *ranges, int count) {
outputFile.seek(dataOffset);
@@ -678,4 +788,5 @@ void writeAllScriptRanges() {
writeScriptRange("Ranges/Barbot", BARBOT_RANGES, BARBOT_RANGE_COUNT);
writeScriptRange("Ranges/Deskbot", DESKBOT_RANGES, DESKBOT_RANGE_COUNT);
writeScriptRange("Ranges/Doorbot", DOORBOT_RANGES, DOORBOT_RANGE_COUNT);
+ writeScriptRange("Ranges/Liftbot", LIFTBOT_RANGES, LIFTBOT_RANGE_COUNT);
} \ No newline at end of file