From 31f8f1fbaff7ef0aa68914307fed209d278751d3 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 7 Jun 2016 19:47:12 -0400 Subject: DEVTOOLS: Added SuccUBus ranges to create_titanic --- devtools/create_titanic/script_ranges.cpp | 48 +++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'devtools/create_titanic') 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 -- cgit v1.2.3