aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_titanic
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-07 19:47:12 -0400
committerPaul Gilbert2016-07-15 19:20:49 -0400
commit31f8f1fbaff7ef0aa68914307fed209d278751d3 (patch)
tree300db5eea027b5ad3aa3f94317b4e553c0923f81 /devtools/create_titanic
parent448b59c0991cb532f61eacdecb684a2fce3ef6b8 (diff)
downloadscummvm-rg350-31f8f1fbaff7ef0aa68914307fed209d278751d3.tar.gz
scummvm-rg350-31f8f1fbaff7ef0aa68914307fed209d278751d3.tar.bz2
scummvm-rg350-31f8f1fbaff7ef0aa68914307fed209d278751d3.zip
DEVTOOLS: Added SuccUBus ranges to create_titanic
Diffstat (limited to 'devtools/create_titanic')
-rw-r--r--devtools/create_titanic/script_ranges.cpp48
1 files changed, 48 insertions, 0 deletions
diff --git a/devtools/create_titanic/script_ranges.cpp b/devtools/create_titanic/script_ranges.cpp
index 8bac9c5662..ce2d1b8728 100644
--- a/devtools/create_titanic/script_ranges.cpp
+++ b/devtools/create_titanic/script_ranges.cpp
@@ -1093,6 +1093,53 @@ const ScriptRange PARROT_RANGES[34] = {
{ 280267, PARROT_RANGE1, false, false }
};
+const uint SUCCUBUS_RANGE1[] = { 230001, 230149, 230078, 230002, 230033, 230067, 230003, 230079, 230034, 230055,
+ 230080, 230081, 230064, 230035, 0 };
+const uint SUCCUBUS_RANGE2[] = { 230005, 230085, 230006, 230091, 0 };
+const uint SUCCUBUS_RANGE3[] = { 230009, 230010, 230011, 0 };
+const uint SUCCUBUS_RANGE4[] = { 230030, 230031, 230032, 230033, 230034, 230035, 230036, 230037, 230038, 230142,
+ 230097, 0 };
+const uint SUCCUBUS_RANGE5[] = { 230100, 230101, 230102, 230104, 230105, 230113, 0 };
+const uint SUCCUBUS_RANGE6[] = { 230106, 230107, 230108, 230109, 230110, 0 };
+const uint SUCCUBUS_RANGE7[] = { 230119, 230120, 0 };
+const uint SUCCUBUS_RANGE8[] = { 230150, 230152, 230153, 230151, 0 };
+const uint SUCCUBUS_RANGE9[] = { 230154, 230155, 0 };
+const uint SUCCUBUS_RANGE10[] = { 230163, 230164, 230167, 230165, 230166, 230168, 0 };
+const uint SUCCUBUS_RANGE11[] = { 230123, 230124, 230126, 230127, 230128, 230129, 230130, 230131, 0 };
+const uint SUCCUBUS_RANGE12[] = { 230117, 230115, 0 };
+const uint SUCCUBUS_RANGE13[] = { 230179, 230180, 230057, 230181, 230068, 230182, 230118, 230048, 230058, 0 };
+const uint SUCCUBUS_RANGE14[] = { 230191, 230192, 230193, 230194, 0 };
+const uint SUCCUBUS_RANGE15[] = { 230239, 230240, 230241, 0 };
+const uint SUCCUBUS_RANGE16[] = { 230200, 230201, 230202, 230203, 230204, 230205, 230206, 0 };
+const uint SUCCUBUS_RANGE17[] = { 230122, 230073, 230074, 230075, 230076, 230077, 0 };
+const uint SUCCUBUS_RANGE18[] = { 230103, 230114, 230125, 230136, 230147, 230158, 230169, 230079, 230080, 230081,
+ 230082, 0 };
+const uint SUCCUBUS_RANGE19[] = { 230207, 230072, 0 };
+
+#define SUCCUBUS_RANGE_COUNT 19
+const ScriptRange SUCCUBUS_RANGES[19] = {
+ { 230001, SUCCUBUS_RANGE1, false, false },
+ { 230005, SUCCUBUS_RANGE2, false, false },
+ { 230009, SUCCUBUS_RANGE3, false, false },
+ { 230030, SUCCUBUS_RANGE4, false, false },
+ { 230244, SUCCUBUS_RANGE5, false, false },
+ { 230106, SUCCUBUS_RANGE6, false, false },
+ { 230119, SUCCUBUS_RANGE7, false, false },
+ { 230150, SUCCUBUS_RANGE8, false, false },
+ { 230154, SUCCUBUS_RANGE9, false, false },
+ { 230163, SUCCUBUS_RANGE10, false, false },
+
+ { 230123, SUCCUBUS_RANGE11, false, false },
+ { 230117, SUCCUBUS_RANGE12, false, false },
+ { 230179, SUCCUBUS_RANGE13, false, false },
+ { 230191, SUCCUBUS_RANGE14, false, false },
+ { 230239, SUCCUBUS_RANGE15, false, false },
+ { 230200, SUCCUBUS_RANGE16, false, false },
+ { 230122, SUCCUBUS_RANGE17, false, false },
+ { 230103, SUCCUBUS_RANGE18, false, false },
+ { 230207, SUCCUBUS_RANGE19, false, false }
+};
+
void writeScriptRange(const char *name, const ScriptRange *ranges, int count) {
outputFile.seek(dataOffset);
@@ -1119,4 +1166,5 @@ void writeAllScriptRanges() {
writeScriptRange("Ranges/Liftbot", LIFTBOT_RANGES, LIFTBOT_RANGE_COUNT);
writeScriptRange("Ranges/MaitreD", MAITRED_RANGES, MAITRED_RANGE_COUNT);
writeScriptRange("Ranges/Parrot", PARROT_RANGES, PARROT_RANGE_COUNT);
+ writeScriptRange("Ranges/SuccUBus", SUCCUBUS_RANGES, SUCCUBUS_RANGE_COUNT);
} \ No newline at end of file