| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | ///////////////////////////////////////////////////////////////////// |
| 20 | // D.A.L.L.A.S. Generated Level Script - DLL Source File |
| 21 | // |
| 22 | // Filename: SewerRat.cpp |
| 23 | // Version: 3 |
| 24 | ///////////////////////////////////////////////////////////////////// |
| 25 | #include <stdio.h> |
| 26 | #include <stdlib.h> |
| 27 | #include <string.h> |
| 28 | #include <ctype.h> |
| 29 | #include "osiris_import.h"cxx . . $ `<file>/scripts/osiris_import.h`/ |
| 30 | #include "osiris_common.h"cxx . . $ `<file>/scripts/osiris_common.h`/ |
| 31 | #include "DallasFuncs.cpp"cxx . . $ `<file>/scripts/DallasFuncs.cpp`/ |
| 32 | |
| 33 | #include "module.h"cxx . . $ `<file>/lib/module.h`/ |
| 34 | |
| 35 | #ifdef __cpluspluscxx . . $ `<built-in>:467:9`! |
| 36 | extern "C" { |
| 37 | #endif |
| 38 | DLLEXPORTcxx . . $ `lib/module.h:114:9`! char STDCALLcxx . . $ `lib/module.h:88:11`! InitializeDLL(tOSIRISModuleInitcxx . . $ tOSIRISModuleInit# *func_list); |
| 39 | DLLEXPORTcxx . . $ `lib/module.h:114:9`! void STDCALLcxx . . $ `lib/module.h:88:11`! ShutdownDLL(void); |
| 40 | DLLEXPORTcxx . . $ `lib/module.h:114:9`! int STDCALLcxx . . $ `lib/module.h:88:11`! GetGOScriptID(const char *name, uint8_tcxx . . $ uint8_t# is_door); |
| 41 | DLLEXPORTcxx . . $ `lib/module.h:114:9`! void STDCALLPTRcxx . . $ `lib/module.h:90:10`! CreateInstance(int id); |
| 42 | DLLEXPORTcxx . . $ `lib/module.h:114:9`! void STDCALLcxx . . $ `lib/module.h:88:11`! DestroyInstance(int id, void *ptr); |
| 43 | DLLEXPORTcxx . . $ `lib/module.h:114:9`! int16_t STDCALLcxx . . $ `lib/module.h:88:11`! CallInstanceEvent(int id, void *ptr, int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 44 | DLLEXPORTcxx . . $ `lib/module.h:114:9`! int STDCALLcxx . . $ `lib/module.h:88:11`! GetTriggerScriptID(int trigger_room, int trigger_face); |
| 45 | DLLEXPORTcxx . . $ `lib/module.h:114:9`! int STDCALLcxx . . $ `lib/module.h:88:11`! GetCOScriptList(int **list, int **id_list); |
| 46 | DLLEXPORTcxx . . $ `lib/module.h:114:9`! int STDCALLcxx . . $ `lib/module.h:88:11`! SaveRestoreState(void *file_ptr, uint8_tcxx . . $ uint8_t# saving_state); |
| 47 | #ifdef __cpluspluscxx . . $ `<built-in>:467:9`! |
| 48 | } |
| 49 | #endif |
| 50 | |
| 51 | // ================= |
| 52 | // Script ID Numbers |
| 53 | // ================= |
| 54 | #define ID_LEVEL_0000cxx . . $ `scripts/SewerRat.cpp:54:9`! 0x000 |
| 55 | |
| 56 | // ======================== |
| 57 | // Script Class Definitions |
| 58 | // ======================== |
| 59 | |
| 60 | class BaseScriptcxx . . $ BaseScript# { |
| 61 | public: |
| 62 | BaseScriptcxx . . $ BaseScript#BaseScript(49f6e7a06ebc5aa8).(); |
| 63 | ~cxx . . $ BaseScript#`~BaseScript`(ced63f7c635d850d).BaseScriptcxx . . $ BaseScript#(); |
| 64 | virtual int16_t CallEventcxx . . $ BaseScript#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 65 | }; |
| 66 | |
| 67 | class LevelScript_0000cxx . . $ LevelScript_0000# : public BaseScriptcxx . . $ BaseScript# { |
| 68 | public: |
| 69 | int16_t CallEventcxx . . $ LevelScript_0000#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 70 | }; |
| 71 | |
| 72 | // ====================== |
| 73 | // Global Action Counters |
| 74 | // ====================== |
| 75 | |
| 76 | #define MAX_ACTION_CTR_VALUEcxx . . $ `scripts/SewerRat.cpp:76:9`! 100000 |
| 77 | |
| 78 | int ScriptActionCtr_000cxx . . $ ScriptActionCtr_000. = 0; |
| 79 | int ScriptActionCtr_001cxx . . $ ScriptActionCtr_001. = 0; |
| 80 | |
| 81 | // ======================================== |
| 82 | // Function to Clear Global Action Counters |
| 83 | // ======================================== |
| 84 | void ClearGlobalActionCtrscxx . . $ ClearGlobalActionCtrs(49f6e7a06ebc5aa8).(void) { |
| 85 | ScriptActionCtr_000cxx . . $ ScriptActionCtr_000. = 0; |
| 86 | ScriptActionCtr_001cxx . . $ ScriptActionCtr_001. = 0; |
| 87 | } |
| 88 | |
| 89 | // ======================================== |
| 90 | // Function to Save Global Action Counters |
| 91 | // ======================================== |
| 92 | void SaveGlobalActionCtrscxx . . $ SaveGlobalActionCtrs(5d22bdacc48458e8).(void *file_ptr) { |
| 93 | File_WriteIntcxx . . $ File_WriteInt.(ScriptActionCtr_000cxx . . $ ScriptActionCtr_000., file_ptr); |
| 94 | File_WriteIntcxx . . $ File_WriteInt.(ScriptActionCtr_001cxx . . $ ScriptActionCtr_001., file_ptr); |
| 95 | } |
| 96 | |
| 97 | // =========================================== |
| 98 | // Function to Restore Global Action Counters |
| 99 | // =========================================== |
| 100 | void RestoreGlobalActionCtrscxx . . $ RestoreGlobalActionCtrs(5d22bdacc48458e8).(void *file_ptr) { |
| 101 | ScriptActionCtr_000cxx . . $ ScriptActionCtr_000. = File_ReadIntcxx . . $ File_ReadInt.(file_ptr); |
| 102 | ScriptActionCtr_001cxx . . $ ScriptActionCtr_001. = File_ReadIntcxx . . $ File_ReadInt.(file_ptr); |
| 103 | } |
| 104 | |
| 105 | // =============================================================== |
| 106 | // Start of Custom Script Block - DO NOT EDIT ANYTHING BEFORE THIS |
| 107 | // =============================================================== |
| 108 | /**{CUSTOM_SCRIPT_BLOCK_START}** DO NOT EDIT! **/ |
| 109 | |
| 110 | // Enter your custom script code here |
| 111 | |
| 112 | /**{CUSTOM_SCRIPT_BLOCK_END}**** DO NOT EDIT! **/ |
| 113 | // ============================================================ |
| 114 | // End of Custom Script Block - DO NOT EDIT ANYTHING AFTER THIS |
| 115 | // ============================================================ |
| 116 | |
| 117 | // ================= |
| 118 | // Message File Data |
| 119 | // ================= |
| 120 | |
| 121 | #define MAX_SCRIPT_MESSAGEScxx . . $ `scripts/SewerRat.cpp:121:9`! 256 |
| 122 | #define MAX_MSG_FILEBUF_LENcxx . . $ `scripts/SewerRat.cpp:122:9`! 1024 |
| 123 | #define NO_MESSAGE_STRINGcxx . . $ `scripts/SewerRat.cpp:123:9`! "*Message Not Found*" |
| 124 | #define INV_MSGNAME_STRINGcxx . . $ `scripts/SewerRat.cpp:124:9`! "*Message Name Invalid*" |
| 125 | #define WHITESPACE_CHARScxx . . $ `scripts/SewerRat.cpp:125:9`! " \t\r\n" |
| 126 | |
| 127 | // Structure for storing a script message |
| 128 | struct tScriptMessagecxx . . $ tScriptMessage# { |
| 129 | char *namecxx . . $ tScriptMessage#name.; // the name of the message |
| 130 | char *messagecxx . . $ tScriptMessage#message.; // the actual message text |
| 131 | }; |
| 132 | |
| 133 | // Global storage for level script messages |
| 134 | tScriptMessagecxx . . $ tScriptMessage# *message_listcxx . . $ message_list.[MAX_SCRIPT_MESSAGEScxx . . $ `scripts/SewerRat.cpp:121:9`!]; |
| 135 | int num_messagescxx . . $ num_messages.; |
| 136 | |
| 137 | // ====================== |
| 138 | // Message File Functions |
| 139 | // ====================== |
| 140 | |
| 141 | // Initializes the Message List |
| 142 | void InitMessageListcxx . . $ InitMessageList(49f6e7a06ebc5aa8).(void) { |
| 143 | for (int j = 0; j < MAX_SCRIPT_MESSAGEScxx . . $ `scripts/SewerRat.cpp:121:9`!; j++) |
| 144 | message_listcxx . . $ message_list.[j] = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 145 | num_messagescxx . . $ num_messages. = 0; |
| 146 | } |
| 147 | |
| 148 | // Clear the Message List |
| 149 | void ClearMessageListcxx . . $ ClearMessageList(49f6e7a06ebc5aa8).(void) { |
| 150 | for (int j = 0; j < num_messagescxx . . $ num_messages.; j++) { |
| 151 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[j]->namecxx . . $ tScriptMessage#name.); |
| 152 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[j]->messagecxx . . $ tScriptMessage#message.); |
| 153 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[j]); |
| 154 | message_listcxx . . $ message_list.[j] = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 155 | } |
| 156 | num_messagescxx . . $ num_messages. = 0; |
| 157 | } |
| 158 | |
| 159 | // Adds a message to the list |
| 160 | int AddMessageToListcxx . . $ AddMessageToList(e99f026884c896d5).(char *name, char *msg) { |
| 161 | int pos; |
| 162 | |
| 163 | // Make sure there is room in the list |
| 164 | if (num_messagescxx . . $ num_messages. >= MAX_SCRIPT_MESSAGEScxx . . $ `scripts/SewerRat.cpp:121:9`!) |
| 165 | return false; |
| 166 | |
| 167 | // Allocate memory for this message entry |
| 168 | pos = num_messagescxx . . $ num_messages.; |
| 169 | message_listcxx . . $ message_list.[pos] = (tScriptMessagecxx . . $ tScriptMessage# *)malloccxx . . $ malloc(9f008b2a9698428b).(sizeof(tScriptMessagecxx . . $ tScriptMessage#)); |
| 170 | if (message_listcxx . . $ message_list.[pos] == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 171 | return false; |
| 172 | |
| 173 | // Allocate memory for the message name |
| 174 | message_listcxx . . $ message_list.[pos]->namecxx . . $ tScriptMessage#name. = (char *)malloccxx . . $ malloc(9f008b2a9698428b).(strlen(name) + 1); |
| 175 | if (message_listcxx . . $ message_list.[pos]->namecxx . . $ tScriptMessage#name. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) { |
| 176 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[pos]); |
| 177 | return false; |
| 178 | } |
| 179 | strcpy(message_listcxx . . $ message_list.[pos]->namecxx . . $ tScriptMessage#name., name); |
| 180 | |
| 181 | // Allocate memory for the message name |
| 182 | message_listcxx . . $ message_list.[pos]->messagecxx . . $ tScriptMessage#message. = (char *)malloccxx . . $ malloc(9f008b2a9698428b).(strlen(msg) + 1); |
| 183 | if (message_listcxx . . $ message_list.[pos]->messagecxx . . $ tScriptMessage#message. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) { |
| 184 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[pos]->namecxx . . $ tScriptMessage#name.); |
| 185 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[pos]); |
| 186 | return false; |
| 187 | } |
| 188 | strcpy(message_listcxx . . $ message_list.[pos]->messagecxx . . $ tScriptMessage#message., msg); |
| 189 | num_messagescxx . . $ num_messages.++; |
| 190 | |
| 191 | return true; |
| 192 | } |
| 193 | |
| 194 | // Removes any whitespace padding from the end of a string |
| 195 | void RemoveTrailingWhitespacecxx . . $ RemoveTrailingWhitespace(fda57c8427c60377).(char *s) { |
| 196 | int last_char_pos; |
| 197 | |
| 198 | last_char_pos = strlen(s) - 1; |
| 199 | while (last_char_pos >= 0 && isspace(s[last_char_pos])) { |
| 200 | s[last_char_pos] = '\0'; |
| 201 | last_char_pos--; |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | // Returns a pointer to the first non-whitespace char in given string |
| 206 | char *SkipInitialWhitespacecxx . . $ SkipInitialWhitespace(7a9722d75b371431).(char *s) { |
| 207 | while ((*s) != '\0' && isspace(*s)) |
| 208 | s++; |
| 209 | |
| 210 | return (s); |
| 211 | } |
| 212 | |
| 213 | // Read in the Messages |
| 214 | int ReadMessageFilecxx . . $ ReadMessageFile(5c4306d8553b3696).(const char *filename) { |
| 215 | void *infile; |
| 216 | char filebuffer[MAX_MSG_FILEBUF_LENcxx . . $ `scripts/SewerRat.cpp:122:9`! + 1]; |
| 217 | char *line, *msg_start; |
| 218 | int line_num; |
| 219 | bool next_msgid_found; |
| 220 | |
| 221 | // Try to open the file for loading |
| 222 | infile = File_Opencxx . . $ File_Open.(filename, "rt"); |
| 223 | if (!infile) |
| 224 | return false; |
| 225 | |
| 226 | line_num = 0; |
| 227 | next_msgid_found = true; |
| 228 | |
| 229 | // Clear the message list |
| 230 | ClearMessageListcxx . . $ ClearMessageList(49f6e7a06ebc5aa8).(); |
| 231 | |
| 232 | // Read in and parse each line of the file |
| 233 | while (!File_eofcxx . . $ File_eof.(infile)) { |
| 234 | |
| 235 | // Clear the buffer |
| 236 | strcpy(filebuffer, ""); |
| 237 | |
| 238 | // Read in a line from the file |
| 239 | File_ReadStringcxx . . $ File_ReadString.(filebuffer, MAX_MSG_FILEBUF_LENcxx . . $ `scripts/SewerRat.cpp:122:9`!, infile); |
| 240 | line_num++; |
| 241 | |
| 242 | // Remove whitespace padding at start and end of line |
| 243 | RemoveTrailingWhitespacecxx . . $ RemoveTrailingWhitespace(fda57c8427c60377).(filebuffer); |
| 244 | line = SkipInitialWhitespacecxx . . $ SkipInitialWhitespace(7a9722d75b371431).(filebuffer); |
| 245 | |
| 246 | // If line is a comment, or empty, discard it |
| 247 | if (strlen(line) == 0 || strncmp(line, "//", 2) == 0) |
| 248 | continue; |
| 249 | |
| 250 | if (!next_msgid_found) { // Parse out the last message ID number |
| 251 | |
| 252 | // Grab the first keyword, make sure it's valid |
| 253 | line = strtok(line, WHITESPACE_CHARScxx . . $ `scripts/SewerRat.cpp:125:9`!); |
| 254 | if (line == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 255 | continue; |
| 256 | |
| 257 | // Grab the second keyword, and assign it as the next message ID |
| 258 | line = strtok(NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, WHITESPACE_CHARScxx . . $ `scripts/SewerRat.cpp:125:9`!); |
| 259 | if (line == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 260 | continue; |
| 261 | |
| 262 | next_msgid_found = true; |
| 263 | } else { // Parse line as a message line |
| 264 | |
| 265 | // Find the start of message, and mark it |
| 266 | msg_start = strchr(line, '='); |
| 267 | if (msg_start == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 268 | continue; |
| 269 | msg_start[0] = '\0'; |
| 270 | msg_start++; |
| 271 | |
| 272 | // Add the message to the list |
| 273 | AddMessageToListcxx . . $ AddMessageToList(e99f026884c896d5).(line, msg_start); |
| 274 | } |
| 275 | } |
| 276 | File_Closecxx . . $ File_Close.(infile); |
| 277 | |
| 278 | return true; |
| 279 | } |
| 280 | |
| 281 | // Find a message |
| 282 | const char *GetMessagecxx . . $ GetMessage(fb58d2e09a2a1ce6).(const char *name) { |
| 283 | // Make sure given name is valid |
| 284 | if (name == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 285 | return INV_MSGNAME_STRINGcxx . . $ `scripts/SewerRat.cpp:124:9`!; |
| 286 | |
| 287 | // Search message list for name |
| 288 | for (int j = 0; j < num_messagescxx . . $ num_messages.; j++) |
| 289 | if (strcmp(message_listcxx . . $ message_list.[j]->namecxx . . $ tScriptMessage#name., name) == 0) |
| 290 | return (message_listcxx . . $ message_list.[j]->messagecxx . . $ tScriptMessage#message.); |
| 291 | |
| 292 | // Couldn't find it |
| 293 | return NO_MESSAGE_STRINGcxx . . $ `scripts/SewerRat.cpp:123:9`!; |
| 294 | } |
| 295 | |
| 296 | //====================== |
| 297 | // Name List Arrays |
| 298 | //====================== |
| 299 | |
| 300 | #define NUM_DOOR_NAMEScxx . . $ `scripts/SewerRat.cpp:300:9`! 0 |
| 301 | const char **Door_namescxx . . $ Door_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 302 | int *Door_handlescxx . . $ Door_handles. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 303 | |
| 304 | #define NUM_OBJECT_NAMEScxx . . $ `scripts/SewerRat.cpp:304:9`! 27 |
| 305 | const char *Object_namescxx . . $ Object_names.[NUM_OBJECT_NAMEScxx . . $ `scripts/SewerRat.cpp:304:9`!] = {"FallC10", "DamB10", "3FallsA3", "3FallsB3", "3FallsC3", "MainC3", "MainE3", |
| 306 | "BowlFat3", "DamFat4", "RingA2", "RingB2", "RingE2", "RingF3", "MainB5", |
| 307 | "MainA5", "MainD5", "RingC5", "RingD5", "RingG5", "RingH5", "BowlA5", |
| 308 | "bowlB7", "BowlE4", "BowlD1", "BowlC1", "BowlF2", "BowlG2"}; |
| 309 | int Object_handlescxx . . $ Object_handles.[NUM_OBJECT_NAMEScxx . . $ `scripts/SewerRat.cpp:304:9`!]; |
| 310 | |
| 311 | #define NUM_ROOM_NAMEScxx . . $ `scripts/SewerRat.cpp:311:9`! 0 |
| 312 | const char **Room_namescxx . . $ Room_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 313 | int *Room_indexescxx . . $ Room_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 314 | |
| 315 | #define NUM_TRIGGER_NAMEScxx . . $ `scripts/SewerRat.cpp:315:9`! 0 |
| 316 | const char **Trigger_namescxx . . $ Trigger_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 317 | int *Trigger_indexescxx . . $ Trigger_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 318 | int *Trigger_facescxx . . $ Trigger_faces. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 319 | int *Trigger_roomscxx . . $ Trigger_rooms. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 320 | |
| 321 | #define NUM_SOUND_NAMEScxx . . $ `scripts/SewerRat.cpp:321:9`! 0 |
| 322 | const char **Sound_namescxx . . $ Sound_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 323 | int *Sound_indexescxx . . $ Sound_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 324 | |
| 325 | #define NUM_TEXTURE_NAMEScxx . . $ `scripts/SewerRat.cpp:325:9`! 0 |
| 326 | const char **Texture_namescxx . . $ Texture_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 327 | int *Texture_indexescxx . . $ Texture_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 328 | |
| 329 | #define NUM_PATH_NAMEScxx . . $ `scripts/SewerRat.cpp:329:9`! 0 |
| 330 | const char **Path_namescxx . . $ Path_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 331 | int *Path_indexescxx . . $ Path_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 332 | |
| 333 | #define NUM_MATCEN_NAMEScxx . . $ `scripts/SewerRat.cpp:333:9`! 6 |
| 334 | const char *Matcen_namescxx . . $ Matcen_names.[NUM_MATCEN_NAMEScxx . . $ `scripts/SewerRat.cpp:333:9`!] = {"Matcen 1", "Matcen 2", "Matcen 3", "Matcen 4", "Matcen 5", "Matcen 6"}; |
| 335 | int Matcen_indexescxx . . $ Matcen_indexes.[NUM_MATCEN_NAMEScxx . . $ `scripts/SewerRat.cpp:333:9`!]; |
| 336 | |
| 337 | #define NUM_GOAL_NAMEScxx . . $ `scripts/SewerRat.cpp:337:9`! 0 |
| 338 | const char **Goal_namescxx . . $ Goal_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 339 | int *Goal_indexescxx . . $ Goal_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 340 | |
| 341 | #define NUM_MESSAGE_NAMEScxx . . $ `scripts/SewerRat.cpp:341:9`! 0 |
| 342 | const char **Message_namescxx . . $ Message_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 343 | const char **Message_stringscxx . . $ Message_strings. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 344 | |
| 345 | // =============== |
| 346 | // InitializeDLL() |
| 347 | // =============== |
| 348 | char STDCALLcxx . . $ `lib/module.h:88:11`! InitializeDLLcxx . . $ InitializeDLL(f9aae224659b2173).(tOSIRISModuleInitcxx . . $ tOSIRISModuleInit# *func_list) { |
| 349 | osicommon_Initializecxx . . $ osicommon_Initialize(5a9437a4d944b175).((tOSIRISModuleInitcxx . . $ tOSIRISModuleInit# *)func_list); |
| 350 | if (func_list->game_checksumcxx . . $ tOSIRISModuleInit#game_checksum. != CHECKSUMcxx . . $ `<built-in>:476:9`!) { |
| 351 | mprintfcxx . . $ mprintf.(0, "Game-Checksum FAIL!!! (%ul!=%ul)\n", func_list->game_checksumcxx . . $ tOSIRISModuleInit#game_checksum., CHECKSUMcxx . . $ `<built-in>:476:9`!); |
| 352 | mprintfcxx . . $ mprintf.(0, "RECOMPILE YOUR SCRIPTS!!!\n"); |
| 353 | return 0; |
| 354 | } |
| 355 | |
| 356 | ClearGlobalActionCtrscxx . . $ ClearGlobalActionCtrs(49f6e7a06ebc5aa8).(); |
| 357 | dfInitcxx . . $ dfInit(49f6e7a06ebc5aa8).(); |
| 358 | InitMessageListcxx . . $ InitMessageList(49f6e7a06ebc5aa8).(); |
| 359 | |
| 360 | // Build the filename of the message file |
| 361 | char filename[_MAX_PATHcxx . . $ `linux/linux_fix.h:34:9`! + 32]; |
| 362 | int lang_type; |
| 363 | if (func_list->script_identifiercxx . . $ tOSIRISModuleInit#script_identifier. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) { |
| 364 | _splitpathcxx . . $ _splitpath(f70bbbea1d7ce513).(func_list->script_identifiercxx . . $ tOSIRISModuleInit#script_identifier., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, filename, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!); |
| 365 | lang_type = Game_GetLanguagecxx . . $ Game_GetLanguage.(); |
| 366 | if (lang_type == LANGUAGE_FRENCHcxx . . $ `scripts/osiris_common.h:416:9`!) |
| 367 | strcat(filename, "_FRN"); |
| 368 | else if (lang_type == LANGUAGE_GERMANcxx . . $ `scripts/osiris_common.h:413:9`!) |
| 369 | strcat(filename, "_GER"); |
| 370 | else if (lang_type == LANGUAGE_ITALIANcxx . . $ `scripts/osiris_common.h:415:9`!) |
| 371 | strcat(filename, "_ITN"); |
| 372 | else if (lang_type == LANGUAGE_SPANISHcxx . . $ `scripts/osiris_common.h:414:9`!) |
| 373 | strcat(filename, "_SPN"); |
| 374 | strcat(filename, ".msg"); |
| 375 | } else { |
| 376 | strcpy(filename, "SewerRat.msg"); |
| 377 | lang_type = LANGUAGE_ENGLISHcxx . . $ `scripts/osiris_common.h:412:9`!; |
| 378 | } |
| 379 | if (!ReadMessageFilecxx . . $ ReadMessageFile(5c4306d8553b3696).(filename)) { |
| 380 | mprintfcxx . . $ mprintf.(0, "ERROR: Could not load message file - %s\n", filename); |
| 381 | } |
| 382 | |
| 383 | int j; |
| 384 | |
| 385 | // Do Door Index lookups |
| 386 | for (j = 0; j < NUM_DOOR_NAMEScxx . . $ `scripts/SewerRat.cpp:300:9`!; j++) |
| 387 | Door_handlescxx . . $ Door_handles.[j] = Scrpt_FindDoorNamecxx . . $ Scrpt_FindDoorName.(Door_namescxx . . $ Door_names.[j]); |
| 388 | |
| 389 | // Do Object Index lookups |
| 390 | for (j = 0; j < NUM_OBJECT_NAMEScxx . . $ `scripts/SewerRat.cpp:304:9`!; j++) |
| 391 | Object_handlescxx . . $ Object_handles.[j] = Scrpt_FindObjectNamecxx . . $ Scrpt_FindObjectName.(Object_namescxx . . $ Object_names.[j]); |
| 392 | |
| 393 | // Do Room Index lookups |
| 394 | for (j = 0; j < NUM_ROOM_NAMEScxx . . $ `scripts/SewerRat.cpp:311:9`!; j++) |
| 395 | Room_indexescxx . . $ Room_indexes.[j] = Scrpt_FindRoomNamecxx . . $ Scrpt_FindRoomName.(Room_namescxx . . $ Room_names.[j]); |
| 396 | |
| 397 | // Do Trigger Index lookups |
| 398 | for (j = 0; j < NUM_TRIGGER_NAMEScxx . . $ `scripts/SewerRat.cpp:315:9`!; j++) { |
| 399 | Trigger_indexescxx . . $ Trigger_indexes.[j] = Scrpt_FindTriggerNamecxx . . $ Scrpt_FindTriggerName.(Trigger_namescxx . . $ Trigger_names.[j]); |
| 400 | Trigger_facescxx . . $ Trigger_faces.[j] = Scrpt_GetTriggerFacecxx . . $ Scrpt_GetTriggerFace.(Trigger_indexescxx . . $ Trigger_indexes.[j]); |
| 401 | Trigger_roomscxx . . $ Trigger_rooms.[j] = Scrpt_GetTriggerRoomcxx . . $ Scrpt_GetTriggerRoom.(Trigger_indexescxx . . $ Trigger_indexes.[j]); |
| 402 | } |
| 403 | |
| 404 | // Do Sound Index lookups |
| 405 | for (j = 0; j < NUM_SOUND_NAMEScxx . . $ `scripts/SewerRat.cpp:321:9`!; j++) |
| 406 | Sound_indexescxx . . $ Sound_indexes.[j] = Scrpt_FindSoundNamecxx . . $ Scrpt_FindSoundName.(Sound_namescxx . . $ Sound_names.[j]); |
| 407 | |
| 408 | // Do Texture Index lookups |
| 409 | for (j = 0; j < NUM_TEXTURE_NAMEScxx . . $ `scripts/SewerRat.cpp:325:9`!; j++) |
| 410 | Texture_indexescxx . . $ Texture_indexes.[j] = Scrpt_FindTextureNamecxx . . $ Scrpt_FindTextureName.(Texture_namescxx . . $ Texture_names.[j]); |
| 411 | |
| 412 | // Do Path Index lookups |
| 413 | for (j = 0; j < NUM_PATH_NAMEScxx . . $ `scripts/SewerRat.cpp:329:9`!; j++) |
| 414 | Path_indexescxx . . $ Path_indexes.[j] = Scrpt_FindPathNamecxx . . $ Scrpt_FindPathName.(Path_namescxx . . $ Path_names.[j]); |
| 415 | |
| 416 | // Do Matcen Index lookups |
| 417 | for (j = 0; j < NUM_MATCEN_NAMEScxx . . $ `scripts/SewerRat.cpp:333:9`!; j++) |
| 418 | Matcen_indexescxx . . $ Matcen_indexes.[j] = Scrpt_FindMatcenNamecxx . . $ Scrpt_FindMatcenName.(Matcen_namescxx . . $ Matcen_names.[j]); |
| 419 | |
| 420 | // Do Goal Index lookups |
| 421 | for (j = 0; j < NUM_GOAL_NAMEScxx . . $ `scripts/SewerRat.cpp:337:9`!; j++) |
| 422 | Goal_indexescxx . . $ Goal_indexes.[j] = Scrpt_FindLevelGoalNamecxx . . $ Scrpt_FindLevelGoalName.(Goal_namescxx . . $ Goal_names.[j]); |
| 423 | |
| 424 | // Do Message Name lookups |
| 425 | for (j = 0; j < NUM_MESSAGE_NAMEScxx . . $ `scripts/SewerRat.cpp:341:9`!; j++) |
| 426 | Message_stringscxx . . $ Message_strings.[j] = GetMessagecxx . . $ GetMessage(fb58d2e09a2a1ce6).(Message_namescxx . . $ Message_names.[j]); |
| 427 | |
| 428 | return 1; |
| 429 | } |
| 430 | |
| 431 | // ============= |
| 432 | // ShutdownDLL() |
| 433 | // ============= |
| 434 | void STDCALLcxx . . $ `lib/module.h:88:11`! ShutdownDLLcxx . . $ ShutdownDLL(49f6e7a06ebc5aa8).(void) { ClearMessageListcxx . . $ ClearMessageList(49f6e7a06ebc5aa8).(); } |
| 435 | |
| 436 | // =============== |
| 437 | // GetGOScriptID() |
| 438 | // =============== |
| 439 | int STDCALLcxx . . $ `lib/module.h:88:11`! GetGOScriptIDcxx . . $ GetGOScriptID(a2648ab7e2ef960e).(const char *name, uint8_tcxx . . $ uint8_t# isdoor) { return -1; } |
| 440 | |
| 441 | // ================ |
| 442 | // CreateInstance() |
| 443 | // ================ |
| 444 | void STDCALLPTRcxx . . $ `lib/module.h:90:10`! CreateInstancecxx . . $ CreateInstance(d1680a912d714170).(int id) { |
| 445 | switch (id) { |
| 446 | case ID_LEVEL_0000cxx . . $ `scripts/SewerRat.cpp:54:9`!: |
| 447 | return new LevelScript_0000cxx . . $ LevelScript_0000#; |
| 448 | break; |
| 449 | default: |
| 450 | mprintfcxx . . $ mprintf.(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 451 | break; |
| 452 | } |
| 453 | return NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 454 | } |
| 455 | |
| 456 | // ================= |
| 457 | // DestroyInstance() |
| 458 | // ================= |
| 459 | void STDCALLcxx . . $ `lib/module.h:88:11`! DestroyInstancecxx . . $ DestroyInstance(6ca3d68f5c5f0975).(int id, void *ptr) { |
| 460 | switch (id) { |
| 461 | case ID_LEVEL_0000cxx . . $ `scripts/SewerRat.cpp:54:9`!: |
| 462 | delete ((LevelScript_0000cxx . . $ LevelScript_0000# *)ptr); |
| 463 | default: |
| 464 | mprintfcxx . . $ mprintf.(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 465 | break; |
| 466 | } |
| 467 | } |
| 468 | |
| 469 | // =================== |
| 470 | // CallInstanceEvent() |
| 471 | // =================== |
| 472 | int16_t STDCALLcxx . . $ `lib/module.h:88:11`! CallInstanceEventcxx . . $ CallInstanceEvent(79be2a5a01598f29).(int id, void *ptr, int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 473 | switch (id) { |
| 474 | case ID_LEVEL_0000cxx . . $ `scripts/SewerRat.cpp:54:9`!: |
| 475 | return ((BaseScriptcxx . . $ BaseScript# *)ptr)->CallEventcxx . . $ BaseScript#CallEvent(585a6502c7945bab).(event, data); |
| 476 | break; |
| 477 | default: |
| 478 | mprintfcxx . . $ mprintf.(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 479 | break; |
| 480 | } |
| 481 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 482 | } |
| 483 | |
| 484 | // ================== |
| 485 | // SaveRestoreState() |
| 486 | // ================== |
| 487 | int STDCALLcxx . . $ `lib/module.h:88:11`! SaveRestoreStatecxx . . $ SaveRestoreState(5276b51c10b71c09).(void *file_ptr, uint8_tcxx . . $ uint8_t# saving_state) { return 0; } |
| 488 | |
| 489 | // ==================== |
| 490 | // GetTriggerScriptID() |
| 491 | // ==================== |
| 492 | int STDCALLcxx . . $ `lib/module.h:88:11`! GetTriggerScriptIDcxx . . $ GetTriggerScriptID(9b79fb6aee4c0440).(int trigger_room, int trigger_face) { return -1; } |
| 493 | |
| 494 | // ================= |
| 495 | // GetCOScriptList() |
| 496 | // ================= |
| 497 | int STDCALLcxx . . $ `lib/module.h:88:11`! GetCOScriptListcxx . . $ GetCOScriptList(4454eefbcea844d6).(int **list, int **id_list) { |
| 498 | static int *cust_handle_list = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 499 | static int *cust_id_list = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 500 | |
| 501 | *list = cust_handle_list; |
| 502 | *id_list = cust_id_list; |
| 503 | |
| 504 | return 0; |
| 505 | } |
| 506 | |
| 507 | //======================= |
| 508 | // Script Implementation |
| 509 | //======================= |
| 510 | |
| 511 | BaseScriptcxx . . $ BaseScript#::BaseScriptcxx . . $ BaseScript#BaseScript(49f6e7a06ebc5aa8).() {} |
| 512 | |
| 513 | BaseScriptcxx . . $ BaseScript#::~cxx . . $ BaseScript#`~BaseScript`(ced63f7c635d850d).BaseScriptcxx . . $ BaseScript#() {} |
| 514 | |
| 515 | int16_t BaseScriptcxx . . $ BaseScript#::CallEventcxx . . $ BaseScript#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 516 | mprintfcxx . . $ mprintf.(0, "BaseScript::CallEvent()\n"); |
| 517 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 518 | } |
| 519 | |
| 520 | int16_t LevelScript_0000cxx . . $ LevelScript_0000#::CallEventcxx . . $ LevelScript_0000#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 521 | switch (event) { |
| 522 | case EVT_SAVESTATEcxx . . $ `scripts/osiris_common.h:376:9`!: { |
| 523 | tOSIRISEVTSAVESTATEcxx . . $ tOSIRISEVTSAVESTATE# *event_data = &data->evt_savestatecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_savestate.; |
| 524 | |
| 525 | SaveGlobalActionCtrscxx . . $ SaveGlobalActionCtrs(5d22bdacc48458e8).(event_data->fileptrcxx . . $ tOSIRISEVTSAVESTATE#fileptr.); |
| 526 | dfSavecxx . . $ dfSave(5d22bdacc48458e8).(event_data->fileptrcxx . . $ tOSIRISEVTSAVESTATE#fileptr.); |
| 527 | #ifdef ENABLE_CUSTOM_SAVE_AND_RESTORE |
| 528 | dsCustomSave(event_data->fileptr); |
| 529 | #endif |
| 530 | } break; |
| 531 | case EVT_RESTORESTATEcxx . . $ `scripts/osiris_common.h:377:9`!: { |
| 532 | tOSIRISEVTRESTORESTATEcxx . . $ tOSIRISEVTRESTORESTATE# *event_data = &data->evt_restorestatecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_restorestate.; |
| 533 | |
| 534 | RestoreGlobalActionCtrscxx . . $ RestoreGlobalActionCtrs(5d22bdacc48458e8).(event_data->fileptrcxx . . $ tOSIRISEVTRESTORESTATE#fileptr.); |
| 535 | dfRestorecxx . . $ dfRestore(5d22bdacc48458e8).(event_data->fileptrcxx . . $ tOSIRISEVTRESTORESTATE#fileptr.); |
| 536 | #ifdef ENABLE_CUSTOM_SAVE_AND_RESTORE |
| 537 | dsCustomRestore(event_data->fileptr); |
| 538 | #endif |
| 539 | } break; |
| 540 | case EVT_LEVELSTARTcxx . . $ `scripts/osiris_common.h:373:9`!: { |
| 541 | tOSIRISEVTLEVELSTARTcxx . . $ tOSIRISEVTLEVELSTART# *event_data = &data->evt_levelstartcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_levelstart.; |
| 542 | |
| 543 | ClearGlobalActionCtrscxx . . $ ClearGlobalActionCtrs(49f6e7a06ebc5aa8).(); |
| 544 | dfInitcxx . . $ dfInit(49f6e7a06ebc5aa8).(); |
| 545 | |
| 546 | // Script 000: Start Spewers |
| 547 | if (1) { |
| 548 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[0], -1, 7, 0.000000f, 0.000000f, 65536, 0, 7.000000f, 0.500000f, -1.000000f, |
| 549 | 19.000000f, 24.000000f, 1, -1); |
| 550 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[1], -1, 7, 0.000000f, 0.000000f, 65536, 0, 5.000000f, 0.500000f, -1.000000f, |
| 551 | 12.000000f, 20.000000f, 1, -1); |
| 552 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[2], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 553 | 8.000000f, 1, -1); |
| 554 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[3], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 555 | 8.000000f, 1, -1); |
| 556 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[4], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 557 | 8.000000f, 1, -1); |
| 558 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[5], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 559 | 8.000000f, 1, -1); |
| 560 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[6], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 561 | 8.000000f, 1, -1); |
| 562 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[7], -1, 7, 0.000000f, 0.000000f, 65536, 0, 4.000000f, 0.500000f, -1.000000f, 9.000000f, |
| 563 | 8.000000f, 1, -1); |
| 564 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[8], -1, 7, 0.000000f, 0.000000f, 65536, 0, 5.000000f, 0.100000f, -1.000000f, 9.000000f, |
| 565 | 9.000000f, 1, -1); |
| 566 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[9], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 567 | 8.000000f, 1, -1); |
| 568 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[10], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.000000f, 0.200000f, -1.000000f, |
| 569 | 2.000000f, 8.000000f, 1, -1); |
| 570 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[11], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.000000f, 0.200000f, -1.000000f, |
| 571 | 2.000000f, 8.000000f, 1, -1); |
| 572 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[12], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.000000f, 0.200000f, -1.000000f, |
| 573 | 2.000000f, 8.000000f, 1, -1); |
| 574 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[13], -1, 7, 0.000000f, 0.000000f, 65536, 0, 4.000000f, 0.200000f, -1.000000f, |
| 575 | 2.000000f, 8.000000f, 1, -1); |
| 576 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[14], -1, 7, 0.000000f, 0.000000f, 65536, 0, 4.000000f, 0.200000f, -1.000000f, |
| 577 | 2.000000f, 8.000000f, 1, -1); |
| 578 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[15], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.200000f, 0.200000f, -1.000000f, |
| 579 | 2.500000f, 8.000000f, 1, -1); |
| 580 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[16], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.800000f, 0.200000f, -1.000000f, |
| 581 | 2.500000f, 8.000000f, 1, -1); |
| 582 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[17], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.800000f, 0.200000f, -1.000000f, |
| 583 | 2.500000f, 8.000000f, 1, -1); |
| 584 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[18], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.800000f, 0.200000f, -1.000000f, |
| 585 | 2.500000f, 8.000000f, 1, -1); |
| 586 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[19], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.800000f, 0.200000f, -1.000000f, |
| 587 | 2.500000f, 8.000000f, 1, -1); |
| 588 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[20], -1, 7, 0.000000f, 0.000000f, 65536, 0, 4.000000f, 0.200000f, -1.000000f, |
| 589 | 2.500000f, 8.000000f, 1, -1); |
| 590 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[21], -1, 7, 0.000000f, 0.000000f, 65536, 0, 6.000000f, 0.200000f, -1.000000f, |
| 591 | 2.200000f, 8.000000f, 1, -1); |
| 592 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[22], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.500000f, 0.200000f, -1.000000f, |
| 593 | 4.200000f, 8.000000f, 1, -1); |
| 594 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[23], -1, 7, 0.000000f, 0.000000f, 65536, 0, 1.900000f, 0.200000f, -1.000000f, |
| 595 | 2.800000f, 4.000000f, 1, -1); |
| 596 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[24], -1, 7, 0.000000f, 0.000000f, 65536, 0, 1.800000f, 0.200000f, -1.000000f, |
| 597 | 2.800000f, 3.000000f, 1, -1); |
| 598 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[25], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.700000f, 0.200000f, -1.000000f, |
| 599 | 2.800000f, 4.000000f, 1, -1); |
| 600 | aTurnOnSpewcxx . . $ aTurnOnSpew(145b60b86cd2d6d7).(Object_handlescxx . . $ Object_handles.[26], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.000000f, 0.200000f, -1.000000f, |
| 601 | 2.400000f, 4.000000f, 1, -1); |
| 602 | |
| 603 | // Increment the script action counter |
| 604 | if (ScriptActionCtr_000cxx . . $ ScriptActionCtr_000. < MAX_ACTION_CTR_VALUEcxx . . $ `scripts/SewerRat.cpp:76:9`!) |
| 605 | ScriptActionCtr_000cxx . . $ ScriptActionCtr_000.++; |
| 606 | } |
| 607 | |
| 608 | // Script 001: Start Matcens |
| 609 | if (1) { |
| 610 | aMatcenSetStatecxx . . $ aMatcenSetState(3e454b8ccf442868).(1, Matcen_indexescxx . . $ Matcen_indexes.[0]); |
| 611 | aMatcenSetStatecxx . . $ aMatcenSetState(3e454b8ccf442868).(1, Matcen_indexescxx . . $ Matcen_indexes.[1]); |
| 612 | aMatcenSetStatecxx . . $ aMatcenSetState(3e454b8ccf442868).(1, Matcen_indexescxx . . $ Matcen_indexes.[2]); |
| 613 | aMatcenSetStatecxx . . $ aMatcenSetState(3e454b8ccf442868).(1, Matcen_indexescxx . . $ Matcen_indexes.[3]); |
| 614 | aMatcenSetStatecxx . . $ aMatcenSetState(3e454b8ccf442868).(1, Matcen_indexescxx . . $ Matcen_indexes.[4]); |
| 615 | aMatcenSetStatecxx . . $ aMatcenSetState(3e454b8ccf442868).(1, Matcen_indexescxx . . $ Matcen_indexes.[5]); |
| 616 | |
| 617 | // Increment the script action counter |
| 618 | if (ScriptActionCtr_001cxx . . $ ScriptActionCtr_001. < MAX_ACTION_CTR_VALUEcxx . . $ `scripts/SewerRat.cpp:76:9`!) |
| 619 | ScriptActionCtr_001cxx . . $ ScriptActionCtr_001.++; |
| 620 | } |
| 621 | } break; |
| 622 | } |
| 623 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 624 | } |
| 625 | |
| 626 | /********************************************************* |
| 627 | Script Save Block: DO NOT TOUCH ANYTHING IN THIS BLOCK!!! |
| 628 | ********************************************************** |
| 629 | $$SCRIPT_BLOCK_START |
| 630 | |
| 631 | VERSION 3 |
| 632 | NEXT_ID 2 |
| 633 | |
| 634 | // UserType value blocks |
| 635 | $$UTYPE_VALS_START UserVar |
| 636 | $$UTYPE_VALS_END |
| 637 | |
| 638 | $$UTYPE_VALS_START UserFlag |
| 639 | $$UTYPE_VALS_END |
| 640 | |
| 641 | $$UTYPE_VALS_START SpewHandle |
| 642 | $$UTYPE_VALS_END |
| 643 | |
| 644 | $$UTYPE_VALS_START TimerID |
| 645 | $$UTYPE_VALS_END |
| 646 | |
| 647 | $$UTYPE_VALS_START SavedObjectSlot |
| 648 | $$UTYPE_VALS_END |
| 649 | |
| 650 | $$UTYPE_VALS_START GoalID |
| 651 | $$UTYPE_VALS_END |
| 652 | |
| 653 | |
| 654 | // Name Lists |
| 655 | $$DOOR_LIST_START |
| 656 | $$DOOR_LIST_END |
| 657 | |
| 658 | $$OBJECT_LIST_START |
| 659 | FallC10 |
| 660 | DamB10 |
| 661 | 3FallsA3 |
| 662 | 3FallsB3 |
| 663 | 3FallsC3 |
| 664 | MainC3 |
| 665 | MainE3 |
| 666 | BowlFat3 |
| 667 | DamFat4 |
| 668 | RingA2 |
| 669 | RingB2 |
| 670 | RingE2 |
| 671 | RingF3 |
| 672 | MainB5 |
| 673 | MainA5 |
| 674 | MainD5 |
| 675 | RingC5 |
| 676 | RingD5 |
| 677 | RingG5 |
| 678 | RingH5 |
| 679 | BowlA5 |
| 680 | bowlB7 |
| 681 | BowlE4 |
| 682 | BowlD1 |
| 683 | BowlC1 |
| 684 | BowlF2 |
| 685 | BowlG2 |
| 686 | $$OBJECT_LIST_END |
| 687 | |
| 688 | $$ROOM_LIST_START |
| 689 | $$ROOM_LIST_END |
| 690 | |
| 691 | $$TRIGGER_LIST_START |
| 692 | $$TRIGGER_LIST_END |
| 693 | |
| 694 | $$SOUND_LIST_START |
| 695 | $$SOUND_LIST_END |
| 696 | |
| 697 | $$TEXTURE_LIST_START |
| 698 | $$TEXTURE_LIST_END |
| 699 | |
| 700 | $$SPECNAME_LIST_START |
| 701 | $$SPECNAME_LIST_END |
| 702 | |
| 703 | $$PATH_LIST_START |
| 704 | $$PATH_LIST_END |
| 705 | |
| 706 | $$MATCEN_LIST_START |
| 707 | Matcen 1 |
| 708 | Matcen 2 |
| 709 | Matcen 3 |
| 710 | Matcen 4 |
| 711 | Matcen 5 |
| 712 | Matcen 6 |
| 713 | $$MATCEN_LIST_END |
| 714 | |
| 715 | $$GOAL_LIST_START |
| 716 | $$GOAL_LIST_END |
| 717 | |
| 718 | $$STRM_AUDIO_LIST_START |
| 719 | $$STRM_AUDIO_LIST_END |
| 720 | |
| 721 | |
| 722 | // Script Tree Dump |
| 723 | 00:0:Start Spewers |
| 724 | $$CHILD_BLOCK_START |
| 725 | 01:2:0 |
| 726 | 02:6 |
| 727 | 03:0 |
| 728 | $$CHILD_BLOCK_START |
| 729 | 05:0 |
| 730 | $$CHILD_BLOCK_END |
| 731 | 04:0:0:0 |
| 732 | $$CHILD_BLOCK_START |
| 733 | 08:aTurnOnSpew |
| 734 | $$CHILD_BLOCK_START |
| 735 | 10:1:0:0:Object |
| 736 | 10:4:-1:GunNum |
| 737 | 10:10:0:7:SpewType |
| 738 | 10:6:0.000000:Mass |
| 739 | 10:6:0.000000:Drag |
| 740 | 10:15:65536:PhysicsFlags |
| 741 | 10:5:0:IsRealObject |
| 742 | 10:6:7.000000:BlobLifetime |
| 743 | 10:6:0.500000:BlobInterval |
| 744 | 10:6:-1.000000:SpewLife |
| 745 | 10:6:19.000000:BlobSize |
| 746 | 10:6:24.000000:BlobSpeed |
| 747 | 10:5:1:Randomize |
| 748 | 10:10:0:-1:SpewHandle |
| 749 | $$CHILD_BLOCK_END |
| 750 | 08:aTurnOnSpew |
| 751 | $$CHILD_BLOCK_START |
| 752 | 10:1:0:1:Object |
| 753 | 10:4:-1:GunNum |
| 754 | 10:10:0:7:SpewType |
| 755 | 10:6:0.000000:Mass |
| 756 | 10:6:0.000000:Drag |
| 757 | 10:15:65536:PhysicsFlags |
| 758 | 10:5:0:IsRealObject |
| 759 | 10:6:5.000000:BlobLifetime |
| 760 | 10:6:0.500000:BlobInterval |
| 761 | 10:6:-1.000000:SpewLife |
| 762 | 10:6:12.000000:BlobSize |
| 763 | 10:6:20.000000:BlobSpeed |
| 764 | 10:5:1:Randomize |
| 765 | 10:10:0:-1:SpewHandle |
| 766 | $$CHILD_BLOCK_END |
| 767 | 08:aTurnOnSpew |
| 768 | $$CHILD_BLOCK_START |
| 769 | 10:1:0:2:Object |
| 770 | 10:4:-1:GunNum |
| 771 | 10:10:0:7:SpewType |
| 772 | 10:6:0.000000:Mass |
| 773 | 10:6:0.000000:Drag |
| 774 | 10:15:65536:PhysicsFlags |
| 775 | 10:5:0:IsRealObject |
| 776 | 10:6:3.000000:BlobLifetime |
| 777 | 10:6:0.200000:BlobInterval |
| 778 | 10:6:-1.000000:SpewLife |
| 779 | 10:6:2.000000:BlobSize |
| 780 | 10:6:8.000000:BlobSpeed |
| 781 | 10:5:1:Randomize |
| 782 | 10:10:0:-1:SpewHandle |
| 783 | $$CHILD_BLOCK_END |
| 784 | 08:aTurnOnSpew |
| 785 | $$CHILD_BLOCK_START |
| 786 | 10:1:0:3:Object |
| 787 | 10:4:-1:GunNum |
| 788 | 10:10:0:7:SpewType |
| 789 | 10:6:0.000000:Mass |
| 790 | 10:6:0.000000:Drag |
| 791 | 10:15:65536:PhysicsFlags |
| 792 | 10:5:0:IsRealObject |
| 793 | 10:6:3.000000:BlobLifetime |
| 794 | 10:6:0.200000:BlobInterval |
| 795 | 10:6:-1.000000:SpewLife |
| 796 | 10:6:2.000000:BlobSize |
| 797 | 10:6:8.000000:BlobSpeed |
| 798 | 10:5:1:Randomize |
| 799 | 10:10:0:-1:SpewHandle |
| 800 | $$CHILD_BLOCK_END |
| 801 | 08:aTurnOnSpew |
| 802 | $$CHILD_BLOCK_START |
| 803 | 10:1:0:4:Object |
| 804 | 10:4:-1:GunNum |
| 805 | 10:10:0:7:SpewType |
| 806 | 10:6:0.000000:Mass |
| 807 | 10:6:0.000000:Drag |
| 808 | 10:15:65536:PhysicsFlags |
| 809 | 10:5:0:IsRealObject |
| 810 | 10:6:3.000000:BlobLifetime |
| 811 | 10:6:0.200000:BlobInterval |
| 812 | 10:6:-1.000000:SpewLife |
| 813 | 10:6:2.000000:BlobSize |
| 814 | 10:6:8.000000:BlobSpeed |
| 815 | 10:5:1:Randomize |
| 816 | 10:10:0:-1:SpewHandle |
| 817 | $$CHILD_BLOCK_END |
| 818 | 08:aTurnOnSpew |
| 819 | $$CHILD_BLOCK_START |
| 820 | 10:1:0:5:Object |
| 821 | 10:4:-1:GunNum |
| 822 | 10:10:0:7:SpewType |
| 823 | 10:6:0.000000:Mass |
| 824 | 10:6:0.000000:Drag |
| 825 | 10:15:65536:PhysicsFlags |
| 826 | 10:5:0:IsRealObject |
| 827 | 10:6:3.000000:BlobLifetime |
| 828 | 10:6:0.200000:BlobInterval |
| 829 | 10:6:-1.000000:SpewLife |
| 830 | 10:6:2.000000:BlobSize |
| 831 | 10:6:8.000000:BlobSpeed |
| 832 | 10:5:1:Randomize |
| 833 | 10:10:0:-1:SpewHandle |
| 834 | $$CHILD_BLOCK_END |
| 835 | 08:aTurnOnSpew |
| 836 | $$CHILD_BLOCK_START |
| 837 | 10:1:0:6:Object |
| 838 | 10:4:-1:GunNum |
| 839 | 10:10:0:7:SpewType |
| 840 | 10:6:0.000000:Mass |
| 841 | 10:6:0.000000:Drag |
| 842 | 10:15:65536:PhysicsFlags |
| 843 | 10:5:0:IsRealObject |
| 844 | 10:6:3.000000:BlobLifetime |
| 845 | 10:6:0.200000:BlobInterval |
| 846 | 10:6:-1.000000:SpewLife |
| 847 | 10:6:2.000000:BlobSize |
| 848 | 10:6:8.000000:BlobSpeed |
| 849 | 10:5:1:Randomize |
| 850 | 10:10:0:-1:SpewHandle |
| 851 | $$CHILD_BLOCK_END |
| 852 | 08:aTurnOnSpew |
| 853 | $$CHILD_BLOCK_START |
| 854 | 10:1:0:7:Object |
| 855 | 10:4:-1:GunNum |
| 856 | 10:10:0:7:SpewType |
| 857 | 10:6:0.000000:Mass |
| 858 | 10:6:0.000000:Drag |
| 859 | 10:15:65536:PhysicsFlags |
| 860 | 10:5:0:IsRealObject |
| 861 | 10:6:4.000000:BlobLifetime |
| 862 | 10:6:0.500000:BlobInterval |
| 863 | 10:6:-1.000000:SpewLife |
| 864 | 10:6:9.000000:BlobSize |
| 865 | 10:6:8.000000:BlobSpeed |
| 866 | 10:5:1:Randomize |
| 867 | 10:10:0:-1:SpewHandle |
| 868 | $$CHILD_BLOCK_END |
| 869 | 08:aTurnOnSpew |
| 870 | $$CHILD_BLOCK_START |
| 871 | 10:1:0:8:Object |
| 872 | 10:4:-1:GunNum |
| 873 | 10:10:0:7:SpewType |
| 874 | 10:6:0.000000:Mass |
| 875 | 10:6:0.000000:Drag |
| 876 | 10:15:65536:PhysicsFlags |
| 877 | 10:5:0:IsRealObject |
| 878 | 10:6:5.000000:BlobLifetime |
| 879 | 10:6:0.100000:BlobInterval |
| 880 | 10:6:-1.000000:SpewLife |
| 881 | 10:6:9.000000:BlobSize |
| 882 | 10:6:9.000000:BlobSpeed |
| 883 | 10:5:1:Randomize |
| 884 | 10:10:0:-1:SpewHandle |
| 885 | $$CHILD_BLOCK_END |
| 886 | 08:aTurnOnSpew |
| 887 | $$CHILD_BLOCK_START |
| 888 | 10:1:0:9:Object |
| 889 | 10:4:-1:GunNum |
| 890 | 10:10:0:7:SpewType |
| 891 | 10:6:0.000000:Mass |
| 892 | 10:6:0.000000:Drag |
| 893 | 10:15:65536:PhysicsFlags |
| 894 | 10:5:0:IsRealObject |
| 895 | 10:6:2.000000:BlobLifetime |
| 896 | 10:6:0.200000:BlobInterval |
| 897 | 10:6:-1.000000:SpewLife |
| 898 | 10:6:2.000000:BlobSize |
| 899 | 10:6:8.000000:BlobSpeed |
| 900 | 10:5:1:Randomize |
| 901 | 10:10:0:-1:SpewHandle |
| 902 | $$CHILD_BLOCK_END |
| 903 | 08:aTurnOnSpew |
| 904 | $$CHILD_BLOCK_START |
| 905 | 10:1:0:10:Object |
| 906 | 10:4:-1:GunNum |
| 907 | 10:10:0:7:SpewType |
| 908 | 10:6:0.000000:Mass |
| 909 | 10:6:0.000000:Drag |
| 910 | 10:15:65536:PhysicsFlags |
| 911 | 10:5:0:IsRealObject |
| 912 | 10:6:2.000000:BlobLifetime |
| 913 | 10:6:0.200000:BlobInterval |
| 914 | 10:6:-1.000000:SpewLife |
| 915 | 10:6:2.000000:BlobSize |
| 916 | 10:6:8.000000:BlobSpeed |
| 917 | 10:5:1:Randomize |
| 918 | 10:10:0:-1:SpewHandle |
| 919 | $$CHILD_BLOCK_END |
| 920 | 08:aTurnOnSpew |
| 921 | $$CHILD_BLOCK_START |
| 922 | 10:1:0:11:Object |
| 923 | 10:4:-1:GunNum |
| 924 | 10:10:0:7:SpewType |
| 925 | 10:6:0.000000:Mass |
| 926 | 10:6:0.000000:Drag |
| 927 | 10:15:65536:PhysicsFlags |
| 928 | 10:5:0:IsRealObject |
| 929 | 10:6:2.000000:BlobLifetime |
| 930 | 10:6:0.200000:BlobInterval |
| 931 | 10:6:-1.000000:SpewLife |
| 932 | 10:6:2.000000:BlobSize |
| 933 | 10:6:8.000000:BlobSpeed |
| 934 | 10:5:1:Randomize |
| 935 | 10:10:0:-1:SpewHandle |
| 936 | $$CHILD_BLOCK_END |
| 937 | 08:aTurnOnSpew |
| 938 | $$CHILD_BLOCK_START |
| 939 | 10:1:0:12:Object |
| 940 | 10:4:-1:GunNum |
| 941 | 10:10:0:7:SpewType |
| 942 | 10:6:0.000000:Mass |
| 943 | 10:6:0.000000:Drag |
| 944 | 10:15:65536:PhysicsFlags |
| 945 | 10:5:0:IsRealObject |
| 946 | 10:6:2.000000:BlobLifetime |
| 947 | 10:6:0.200000:BlobInterval |
| 948 | 10:6:-1.000000:SpewLife |
| 949 | 10:6:2.000000:BlobSize |
| 950 | 10:6:8.000000:BlobSpeed |
| 951 | 10:5:1:Randomize |
| 952 | 10:10:0:-1:SpewHandle |
| 953 | $$CHILD_BLOCK_END |
| 954 | 08:aTurnOnSpew |
| 955 | $$CHILD_BLOCK_START |
| 956 | 10:1:0:13:Object |
| 957 | 10:4:-1:GunNum |
| 958 | 10:10:0:7:SpewType |
| 959 | 10:6:0.000000:Mass |
| 960 | 10:6:0.000000:Drag |
| 961 | 10:15:65536:PhysicsFlags |
| 962 | 10:5:0:IsRealObject |
| 963 | 10:6:4.000000:BlobLifetime |
| 964 | 10:6:0.200000:BlobInterval |
| 965 | 10:6:-1.000000:SpewLife |
| 966 | 10:6:2.000000:BlobSize |
| 967 | 10:6:8.000000:BlobSpeed |
| 968 | 10:5:1:Randomize |
| 969 | 10:10:0:-1:SpewHandle |
| 970 | $$CHILD_BLOCK_END |
| 971 | 08:aTurnOnSpew |
| 972 | $$CHILD_BLOCK_START |
| 973 | 10:1:0:14:Object |
| 974 | 10:4:-1:GunNum |
| 975 | 10:10:0:7:SpewType |
| 976 | 10:6:0.000000:Mass |
| 977 | 10:6:0.000000:Drag |
| 978 | 10:15:65536:PhysicsFlags |
| 979 | 10:5:0:IsRealObject |
| 980 | 10:6:4.000000:BlobLifetime |
| 981 | 10:6:0.200000:BlobInterval |
| 982 | 10:6:-1.000000:SpewLife |
| 983 | 10:6:2.000000:BlobSize |
| 984 | 10:6:8.000000:BlobSpeed |
| 985 | 10:5:1:Randomize |
| 986 | 10:10:0:-1:SpewHandle |
| 987 | $$CHILD_BLOCK_END |
| 988 | 08:aTurnOnSpew |
| 989 | $$CHILD_BLOCK_START |
| 990 | 10:1:0:15:Object |
| 991 | 10:4:-1:GunNum |
| 992 | 10:10:0:7:SpewType |
| 993 | 10:6:0.000000:Mass |
| 994 | 10:6:0.000000:Drag |
| 995 | 10:15:65536:PhysicsFlags |
| 996 | 10:5:0:IsRealObject |
| 997 | 10:6:3.200000:BlobLifetime |
| 998 | 10:6:0.200000:BlobInterval |
| 999 | 10:6:-1.000000:SpewLife |
| 1000 | 10:6:2.500000:BlobSize |
| 1001 | 10:6:8.000000:BlobSpeed |
| 1002 | 10:5:1:Randomize |
| 1003 | 10:10:0:-1:SpewHandle |
| 1004 | $$CHILD_BLOCK_END |
| 1005 | 08:aTurnOnSpew |
| 1006 | $$CHILD_BLOCK_START |
| 1007 | 10:1:0:16:Object |
| 1008 | 10:4:-1:GunNum |
| 1009 | 10:10:0:7:SpewType |
| 1010 | 10:6:0.000000:Mass |
| 1011 | 10:6:0.000000:Drag |
| 1012 | 10:15:65536:PhysicsFlags |
| 1013 | 10:5:0:IsRealObject |
| 1014 | 10:6:3.800000:BlobLifetime |
| 1015 | 10:6:0.200000:BlobInterval |
| 1016 | 10:6:-1.000000:SpewLife |
| 1017 | 10:6:2.500000:BlobSize |
| 1018 | 10:6:8.000000:BlobSpeed |
| 1019 | 10:5:1:Randomize |
| 1020 | 10:10:0:-1:SpewHandle |
| 1021 | $$CHILD_BLOCK_END |
| 1022 | 08:aTurnOnSpew |
| 1023 | $$CHILD_BLOCK_START |
| 1024 | 10:1:0:17:Object |
| 1025 | 10:4:-1:GunNum |
| 1026 | 10:10:0:7:SpewType |
| 1027 | 10:6:0.000000:Mass |
| 1028 | 10:6:0.000000:Drag |
| 1029 | 10:15:65536:PhysicsFlags |
| 1030 | 10:5:0:IsRealObject |
| 1031 | 10:6:3.800000:BlobLifetime |
| 1032 | 10:6:0.200000:BlobInterval |
| 1033 | 10:6:-1.000000:SpewLife |
| 1034 | 10:6:2.500000:BlobSize |
| 1035 | 10:6:8.000000:BlobSpeed |
| 1036 | 10:5:1:Randomize |
| 1037 | 10:10:0:-1:SpewHandle |
| 1038 | $$CHILD_BLOCK_END |
| 1039 | 08:aTurnOnSpew |
| 1040 | $$CHILD_BLOCK_START |
| 1041 | 10:1:0:18:Object |
| 1042 | 10:4:-1:GunNum |
| 1043 | 10:10:0:7:SpewType |
| 1044 | 10:6:0.000000:Mass |
| 1045 | 10:6:0.000000:Drag |
| 1046 | 10:15:65536:PhysicsFlags |
| 1047 | 10:5:0:IsRealObject |
| 1048 | 10:6:3.800000:BlobLifetime |
| 1049 | 10:6:0.200000:BlobInterval |
| 1050 | 10:6:-1.000000:SpewLife |
| 1051 | 10:6:2.500000:BlobSize |
| 1052 | 10:6:8.000000:BlobSpeed |
| 1053 | 10:5:1:Randomize |
| 1054 | 10:10:0:-1:SpewHandle |
| 1055 | $$CHILD_BLOCK_END |
| 1056 | 08:aTurnOnSpew |
| 1057 | $$CHILD_BLOCK_START |
| 1058 | 10:1:0:19:Object |
| 1059 | 10:4:-1:GunNum |
| 1060 | 10:10:0:7:SpewType |
| 1061 | 10:6:0.000000:Mass |
| 1062 | 10:6:0.000000:Drag |
| 1063 | 10:15:65536:PhysicsFlags |
| 1064 | 10:5:0:IsRealObject |
| 1065 | 10:6:3.800000:BlobLifetime |
| 1066 | 10:6:0.200000:BlobInterval |
| 1067 | 10:6:-1.000000:SpewLife |
| 1068 | 10:6:2.500000:BlobSize |
| 1069 | 10:6:8.000000:BlobSpeed |
| 1070 | 10:5:1:Randomize |
| 1071 | 10:10:0:-1:SpewHandle |
| 1072 | $$CHILD_BLOCK_END |
| 1073 | 08:aTurnOnSpew |
| 1074 | $$CHILD_BLOCK_START |
| 1075 | 10:1:0:20:Object |
| 1076 | 10:4:-1:GunNum |
| 1077 | 10:10:0:7:SpewType |
| 1078 | 10:6:0.000000:Mass |
| 1079 | 10:6:0.000000:Drag |
| 1080 | 10:15:65536:PhysicsFlags |
| 1081 | 10:5:0:IsRealObject |
| 1082 | 10:6:4.000000:BlobLifetime |
| 1083 | 10:6:0.200000:BlobInterval |
| 1084 | 10:6:-1.000000:SpewLife |
| 1085 | 10:6:2.500000:BlobSize |
| 1086 | 10:6:8.000000:BlobSpeed |
| 1087 | 10:5:1:Randomize |
| 1088 | 10:10:0:-1:SpewHandle |
| 1089 | $$CHILD_BLOCK_END |
| 1090 | 08:aTurnOnSpew |
| 1091 | $$CHILD_BLOCK_START |
| 1092 | 10:1:0:21:Object |
| 1093 | 10:4:-1:GunNum |
| 1094 | 10:10:0:7:SpewType |
| 1095 | 10:6:0.000000:Mass |
| 1096 | 10:6:0.000000:Drag |
| 1097 | 10:15:65536:PhysicsFlags |
| 1098 | 10:5:0:IsRealObject |
| 1099 | 10:6:6.000000:BlobLifetime |
| 1100 | 10:6:0.200000:BlobInterval |
| 1101 | 10:6:-1.000000:SpewLife |
| 1102 | 10:6:2.200000:BlobSize |
| 1103 | 10:6:8.000000:BlobSpeed |
| 1104 | 10:5:1:Randomize |
| 1105 | 10:10:0:-1:SpewHandle |
| 1106 | $$CHILD_BLOCK_END |
| 1107 | 08:aTurnOnSpew |
| 1108 | $$CHILD_BLOCK_START |
| 1109 | 10:1:0:22:Object |
| 1110 | 10:4:-1:GunNum |
| 1111 | 10:10:0:7:SpewType |
| 1112 | 10:6:0.000000:Mass |
| 1113 | 10:6:0.000000:Drag |
| 1114 | 10:15:65536:PhysicsFlags |
| 1115 | 10:5:0:IsRealObject |
| 1116 | 10:6:2.500000:BlobLifetime |
| 1117 | 10:6:0.200000:BlobInterval |
| 1118 | 10:6:-1.000000:SpewLife |
| 1119 | 10:6:4.200000:BlobSize |
| 1120 | 10:6:8.000000:BlobSpeed |
| 1121 | 10:5:1:Randomize |
| 1122 | 10:10:0:-1:SpewHandle |
| 1123 | $$CHILD_BLOCK_END |
| 1124 | 08:aTurnOnSpew |
| 1125 | $$CHILD_BLOCK_START |
| 1126 | 10:1:0:23:Object |
| 1127 | 10:4:-1:GunNum |
| 1128 | 10:10:0:7:SpewType |
| 1129 | 10:6:0.000000:Mass |
| 1130 | 10:6:0.000000:Drag |
| 1131 | 10:15:65536:PhysicsFlags |
| 1132 | 10:5:0:IsRealObject |
| 1133 | 10:6:1.900000:BlobLifetime |
| 1134 | 10:6:0.200000:BlobInterval |
| 1135 | 10:6:-1.000000:SpewLife |
| 1136 | 10:6:2.800000:BlobSize |
| 1137 | 10:6:4.000000:BlobSpeed |
| 1138 | 10:5:1:Randomize |
| 1139 | 10:10:0:-1:SpewHandle |
| 1140 | $$CHILD_BLOCK_END |
| 1141 | 08:aTurnOnSpew |
| 1142 | $$CHILD_BLOCK_START |
| 1143 | 10:1:0:24:Object |
| 1144 | 10:4:-1:GunNum |
| 1145 | 10:10:0:7:SpewType |
| 1146 | 10:6:0.000000:Mass |
| 1147 | 10:6:0.000000:Drag |
| 1148 | 10:15:65536:PhysicsFlags |
| 1149 | 10:5:0:IsRealObject |
| 1150 | 10:6:1.800000:BlobLifetime |
| 1151 | 10:6:0.200000:BlobInterval |
| 1152 | 10:6:-1.000000:SpewLife |
| 1153 | 10:6:2.800000:BlobSize |
| 1154 | 10:6:3.000000:BlobSpeed |
| 1155 | 10:5:1:Randomize |
| 1156 | 10:10:0:-1:SpewHandle |
| 1157 | $$CHILD_BLOCK_END |
| 1158 | 08:aTurnOnSpew |
| 1159 | $$CHILD_BLOCK_START |
| 1160 | 10:1:0:25:Object |
| 1161 | 10:4:-1:GunNum |
| 1162 | 10:10:0:7:SpewType |
| 1163 | 10:6:0.000000:Mass |
| 1164 | 10:6:0.000000:Drag |
| 1165 | 10:15:65536:PhysicsFlags |
| 1166 | 10:5:0:IsRealObject |
| 1167 | 10:6:2.700000:BlobLifetime |
| 1168 | 10:6:0.200000:BlobInterval |
| 1169 | 10:6:-1.000000:SpewLife |
| 1170 | 10:6:2.800000:BlobSize |
| 1171 | 10:6:4.000000:BlobSpeed |
| 1172 | 10:5:1:Randomize |
| 1173 | 10:10:0:-1:SpewHandle |
| 1174 | $$CHILD_BLOCK_END |
| 1175 | 08:aTurnOnSpew |
| 1176 | $$CHILD_BLOCK_START |
| 1177 | 10:1:0:26:Object |
| 1178 | 10:4:-1:GunNum |
| 1179 | 10:10:0:7:SpewType |
| 1180 | 10:6:0.000000:Mass |
| 1181 | 10:6:0.000000:Drag |
| 1182 | 10:15:65536:PhysicsFlags |
| 1183 | 10:5:0:IsRealObject |
| 1184 | 10:6:2.000000:BlobLifetime |
| 1185 | 10:6:0.200000:BlobInterval |
| 1186 | 10:6:-1.000000:SpewLife |
| 1187 | 10:6:2.400000:BlobSize |
| 1188 | 10:6:4.000000:BlobSpeed |
| 1189 | 10:5:1:Randomize |
| 1190 | 10:10:0:-1:SpewHandle |
| 1191 | $$CHILD_BLOCK_END |
| 1192 | $$CHILD_BLOCK_END |
| 1193 | $$CHILD_BLOCK_END |
| 1194 | 00:1:Start Matcens |
| 1195 | $$CHILD_BLOCK_START |
| 1196 | 01:2:0 |
| 1197 | 02:6 |
| 1198 | 03:0 |
| 1199 | $$CHILD_BLOCK_START |
| 1200 | 05:0 |
| 1201 | $$CHILD_BLOCK_END |
| 1202 | 04:0:0:0 |
| 1203 | $$CHILD_BLOCK_START |
| 1204 | 08:aMatcenSetState |
| 1205 | $$CHILD_BLOCK_START |
| 1206 | 10:10:0:1:Activate/Deactivate |
| 1207 | 10:17:0:0:Matcen |
| 1208 | $$CHILD_BLOCK_END |
| 1209 | 08:aMatcenSetState |
| 1210 | $$CHILD_BLOCK_START |
| 1211 | 10:10:0:1:Activate/Deactivate |
| 1212 | 10:17:0:1:Matcen |
| 1213 | $$CHILD_BLOCK_END |
| 1214 | 08:aMatcenSetState |
| 1215 | $$CHILD_BLOCK_START |
| 1216 | 10:10:0:1:Activate/Deactivate |
| 1217 | 10:17:0:2:Matcen |
| 1218 | $$CHILD_BLOCK_END |
| 1219 | 08:aMatcenSetState |
| 1220 | $$CHILD_BLOCK_START |
| 1221 | 10:10:0:1:Activate/Deactivate |
| 1222 | 10:17:0:3:Matcen |
| 1223 | $$CHILD_BLOCK_END |
| 1224 | 08:aMatcenSetState |
| 1225 | $$CHILD_BLOCK_START |
| 1226 | 10:10:0:1:Activate/Deactivate |
| 1227 | 10:17:0:4:Matcen |
| 1228 | $$CHILD_BLOCK_END |
| 1229 | 08:aMatcenSetState |
| 1230 | $$CHILD_BLOCK_START |
| 1231 | 10:10:0:1:Activate/Deactivate |
| 1232 | 10:17:0:5:Matcen |
| 1233 | $$CHILD_BLOCK_END |
| 1234 | $$CHILD_BLOCK_END |
| 1235 | $$CHILD_BLOCK_END |
| 1236 | |
| 1237 | $$SCRIPT_BLOCK_END |
| 1238 | *********************************************************/ |