| 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: orbital.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" |
| 30 | #include "osiris_common.h" |
| 31 | #include "DallasFuncs.cpp" |
| 32 | |
| 33 | #include "module.h" |
| 34 | |
| 35 | #ifdef __cplusplus |
| 36 | extern "C" { |
| 37 | #endif |
| 38 | DLLEXPORT char STDCALL InitializeDLL(tOSIRISModuleInit *func_list); |
| 39 | DLLEXPORT void STDCALL ShutdownDLL(void); |
| 40 | DLLEXPORT int STDCALL GetGOScriptID(const char *name, uint8_t is_door); |
| 41 | DLLEXPORT void STDCALLPTR CreateInstance(int id); |
| 42 | DLLEXPORT void STDCALL DestroyInstance(int id, void *ptr); |
| 43 | DLLEXPORT int16_t STDCALL CallInstanceEvent(int id, void *ptr, int event, tOSIRISEventInfo *data); |
| 44 | DLLEXPORT int STDCALL GetTriggerScriptID(int trigger_room, int trigger_face); |
| 45 | DLLEXPORT int STDCALL GetCOScriptList(int **list, int **id_list); |
| 46 | DLLEXPORT int STDCALL SaveRestoreState(void *file_ptr, uint8_t saving_state); |
| 47 | #ifdef __cplusplus |
| 48 | } |
| 49 | #endif |
| 50 | |
| 51 | // ================= |
| 52 | // Script ID Numbers |
| 53 | // ================= |
| 54 | #define ID_LEVEL_0000 0x000 |
| 55 | |
| 56 | #define ID_CUSTOM_OBJECT_0903 0x001 |
| 57 | #define ID_CUSTOM_OBJECT_10F9 0x002 |
| 58 | |
| 59 | // ======================== |
| 60 | // Script Class Definitions |
| 61 | // ======================== |
| 62 | |
| 63 | class BaseScript { |
| 64 | public: |
| 65 | BaseScript(); |
| 66 | ~BaseScript(); |
| 67 | virtual int16_t CallEvent(int event, tOSIRISEventInfo *data); |
| 68 | }; |
| 69 | |
| 70 | class LevelScript_0000 : public BaseScript { |
| 71 | public: |
| 72 | int16_t CallEvent(int event, tOSIRISEventInfo *data); |
| 73 | }; |
| 74 | |
| 75 | class CustomObjectScript_0903 : public BaseScript { |
| 76 | public: |
| 77 | int16_t CallEvent(int event, tOSIRISEventInfo *data); |
| 78 | }; |
| 79 | |
| 80 | class CustomObjectScript_10F9 : public BaseScript { |
| 81 | public: |
| 82 | int16_t CallEvent(int event, tOSIRISEventInfo *data); |
| 83 | }; |
| 84 | |
| 85 | // ====================== |
| 86 | // Global Action Counters |
| 87 | // ====================== |
| 88 | |
| 89 | #define MAX_ACTION_CTR_VALUE 100000 |
| 90 | |
| 91 | int ScriptActionCtr_066 = 0; |
| 92 | int ScriptActionCtr_001 = 0; |
| 93 | int ScriptActionCtr_006 = 0; |
| 94 | int ScriptActionCtr_007 = 0; |
| 95 | int ScriptActionCtr_005 = 0; |
| 96 | |
| 97 | // ======================================== |
| 98 | // Function to Clear Global Action Counters |
| 99 | // ======================================== |
| 100 | void ClearGlobalActionCtrs(void) { |
| 101 | ScriptActionCtr_066 = 0; |
| 102 | ScriptActionCtr_001 = 0; |
| 103 | ScriptActionCtr_006 = 0; |
| 104 | ScriptActionCtr_007 = 0; |
| 105 | ScriptActionCtr_005 = 0; |
| 106 | } |
| 107 | |
| 108 | // ======================================== |
| 109 | // Function to Save Global Action Counters |
| 110 | // ======================================== |
| 111 | void SaveGlobalActionCtrs(void *file_ptr) { |
| 112 | File_WriteInt(ScriptActionCtr_066, file_ptr); |
| 113 | File_WriteInt(ScriptActionCtr_001, file_ptr); |
| 114 | File_WriteInt(ScriptActionCtr_006, file_ptr); |
| 115 | File_WriteInt(ScriptActionCtr_007, file_ptr); |
| 116 | File_WriteInt(ScriptActionCtr_005, file_ptr); |
| 117 | } |
| 118 | |
| 119 | // =========================================== |
| 120 | // Function to Restore Global Action Counters |
| 121 | // =========================================== |
| 122 | void RestoreGlobalActionCtrs(void *file_ptr) { |
| 123 | ScriptActionCtr_066 = File_ReadInt(file_ptr); |
| 124 | ScriptActionCtr_001 = File_ReadInt(file_ptr); |
| 125 | ScriptActionCtr_006 = File_ReadInt(file_ptr); |
| 126 | ScriptActionCtr_007 = File_ReadInt(file_ptr); |
| 127 | ScriptActionCtr_005 = File_ReadInt(file_ptr); |
| 128 | } |
| 129 | |
| 130 | // =============================================================== |
| 131 | // Start of Custom Script Block - DO NOT EDIT ANYTHING BEFORE THIS |
| 132 | // =============================================================== |
| 133 | /**{CUSTOM_SCRIPT_BLOCK_START}** DO NOT EDIT! **/ |
| 134 | |
| 135 | /* |
| 136 | $$ENUM Region |
| 137 | 0:Intro |
| 138 | 1:Top |
| 139 | 2:Mid |
| 140 | 3:Bottom |
| 141 | 4:Wing |
| 142 | $$END |
| 143 | */ |
| 144 | |
| 145 | // Enter your custom script code here |
| 146 | struct tTextureInfo { |
| 147 | const char *room_name; |
| 148 | int room_id; |
| 149 | int face_num; |
| 150 | }; |
| 151 | |
| 152 | #define NUM_MONITORS 11 |
| 153 | |
| 154 | bool TextureInfoInitialized = false; |
| 155 | |
| 156 | tTextureInfo texture_info[NUM_MONITORS] = { |
| 157 | {"Beam Emitter Rm", 0, 1775}, {"EmitterRm DataTerm", 0, 50}, {"Room 51", 0, 2}, |
| 158 | {"SubObs DataTerm", 0, 50}, {"SubObs Console2", 0, 50}, {"Emitter Generator", 0, 286}, |
| 159 | {"Dock Console", 0, 50}, {"West Dock Console", 0, 50}, {"Room 69", 0, 125}, |
| 160 | {"Room 82", 0, 125}, {"Control DataTerm", 0, 50}}; |
| 161 | |
| 162 | struct tMatcenInfo { |
| 163 | const char *matcen_name; |
| 164 | int matcen_id; |
| 165 | }; |
| 166 | |
| 167 | #define NUM_MATCENS 14 |
| 168 | |
| 169 | bool MatcenInfoInitialized = false; |
| 170 | |
| 171 | tMatcenInfo matcen_info[NUM_MATCENS] = {{"StartingDock Matcen", 0}, {"West Dock", 0}, {"Parts Room", 0}, |
| 172 | {"Con Room Matcen1", 0}, {"Powerup Rm1", 0}, {"Powerup Rm2", 0}, |
| 173 | {"Powerup Rm3", 0}, {"Powerup Rm4", 0}, {"Powerup Rm5", 0}, |
| 174 | {"SubObs Matcen1", 0}, {"SubObs Matcen2", 0}, {"SubObs Matcen3", 0}, |
| 175 | {"Emitter Room Matcen", 0}, {"Radio Rm", 0}}; |
| 176 | |
| 177 | /* |
| 178 | $$CATEGORIES |
| 179 | Custom |
| 180 | $$END |
| 181 | |
| 182 | $$ACTION |
| 183 | Custom |
| 184 | Set texture on monitors to [u:Texture] |
| 185 | aSetTextureForMonitors |
| 186 | Sets all the monitors to a given texture |
| 187 | |
| 188 | Parameters: |
| 189 | TextureName: the texture to assign |
| 190 | $$END |
| 191 | */ |
| 192 | void aSetTextureForMonitors(int texture_id) { |
| 193 | int j; |
| 194 | |
| 195 | if (!TextureInfoInitialized) { |
| 196 | for (j = 0; j < NUM_MONITORS; j++) |
| 197 | texture_info[j].room_id = Scrpt_FindRoomName(texture_info[j].room_name); |
| 198 | TextureInfoInitialized = true; |
| 199 | } |
| 200 | |
| 201 | for (j = 0; j < NUM_MONITORS; j++) |
| 202 | aRoomSetFaceTexture(texture_info[j].room_id, texture_info[j].face_num, texture_id); |
| 203 | } |
| 204 | |
| 205 | /* |
| 206 | $$ACTION |
| 207 | Custom |
| 208 | [e:Enable/Disable] level matcen group A |
| 209 | aMatcenGroupASetEnableState |
| 210 | Enable/disable matcen |
| 211 | Enable or disable a matcen group, so it's capable of producing |
| 212 | |
| 213 | Parameters: |
| 214 | Enable/Disable: whether the matcen is cabable of producing |
| 215 | $$END |
| 216 | */ |
| 217 | void aMatcenGroupASetEnableState(int state) { |
| 218 | int j; |
| 219 | |
| 220 | if (!MatcenInfoInitialized) { |
| 221 | for (j = 0; j < NUM_MATCENS; j++) |
| 222 | matcen_info[j].matcen_id = Scrpt_FindMatcenName(matcen_info[j].matcen_name); |
| 223 | MatcenInfoInitialized = true; |
| 224 | } |
| 225 | |
| 226 | for (j = 0; j < 4; j++) |
| 227 | aMatcenSetEnableState(state, matcen_info[j].matcen_id); |
| 228 | } |
| 229 | |
| 230 | /* |
| 231 | $$ACTION |
| 232 | Custom |
| 233 | [e:Enable/Disable] level matcen group B |
| 234 | aMatcenGroupBSetEnableState |
| 235 | Enable/disable matcen |
| 236 | Enable or disable a matcen group, so it's capable of producing |
| 237 | |
| 238 | Parameters: |
| 239 | Enable/Disable: whether the matcen is cabable of producing |
| 240 | $$END |
| 241 | */ |
| 242 | void aMatcenGroupBSetEnableState(int state) { |
| 243 | int j; |
| 244 | |
| 245 | if (!MatcenInfoInitialized) { |
| 246 | for (j = 0; j < NUM_MATCENS; j++) |
| 247 | matcen_info[j].matcen_id = Scrpt_FindMatcenName(matcen_info[j].matcen_name); |
| 248 | MatcenInfoInitialized = true; |
| 249 | } |
| 250 | |
| 251 | for (j = 4; j < 9; j++) |
| 252 | aMatcenSetEnableState(state, matcen_info[j].matcen_id); |
| 253 | } |
| 254 | |
| 255 | /* |
| 256 | $$ACTION |
| 257 | Custom |
| 258 | [e:Enable/Disable] level matcen group C |
| 259 | aMatcenGroupCSetEnableState |
| 260 | Enable/disable matcen |
| 261 | Enable or disable a matcen group, so it's capable of producing |
| 262 | |
| 263 | Parameters: |
| 264 | Enable/Disable: whether the matcen is cabable of producing |
| 265 | $$END |
| 266 | */ |
| 267 | void aMatcenGroupCSetEnableState(int state) { |
| 268 | int j; |
| 269 | |
| 270 | if (!MatcenInfoInitialized) { |
| 271 | for (j = 0; j < NUM_MATCENS; j++) |
| 272 | matcen_info[j].matcen_id = Scrpt_FindMatcenName(matcen_info[j].matcen_name); |
| 273 | MatcenInfoInitialized = true; |
| 274 | } |
| 275 | |
| 276 | for (j = 9; j < NUM_MATCENS; j++) |
| 277 | aMatcenSetEnableState(state, matcen_info[j].matcen_id); |
| 278 | } |
| 279 | |
| 280 | /* |
| 281 | $$ACTION |
| 282 | Custom |
| 283 | Initialize Bypass Connector display |
| 284 | aInitBypassConnDisplay |
| 285 | Intialize Bypass Connector display |
| 286 | Initializes the HUD bypass connector display |
| 287 | |
| 288 | $$END |
| 289 | */ |
| 290 | void aInitBypassConnDisplay() {} |
| 291 | |
| 292 | /* |
| 293 | $$ACTION |
| 294 | Custom |
| 295 | Update Bypass Connector display with [s:Message] at [i:Number] |
| 296 | aUpdateBypassConnDisplay |
| 297 | Update Bypass Connector display |
| 298 | Updates the HUD Bypass Connector display |
| 299 | |
| 300 | $$END |
| 301 | */ |
| 302 | void aUpdateBypassConnDisplay(const char *text, int level) { |
| 303 | msafe_struct mstruct; |
| 304 | |
| 305 | mstruct.color = GR_RGB(0, 255, 0); |
| 306 | snprintf(mstruct.message, sizeof(mstruct.message), text, level); |
| 307 | MSafe_CallFunction(MSAFE_MISC_UPDATE_HUD_ITEM, &mstruct); |
| 308 | } |
| 309 | |
| 310 | /**{CUSTOM_SCRIPT_BLOCK_END}**** DO NOT EDIT! **/ |
| 311 | // ============================================================ |
| 312 | // End of Custom Script Block - DO NOT EDIT ANYTHING AFTER THIS |
| 313 | // ============================================================ |
| 314 | |
| 315 | // ================= |
| 316 | // Message File Data |
| 317 | // ================= |
| 318 | |
| 319 | #define MAX_SCRIPT_MESSAGES 256 |
| 320 | #define MAX_MSG_FILEBUF_LEN 1024 |
| 321 | #define NO_MESSAGE_STRING "*Message Not Found*" |
| 322 | #define INV_MSGNAME_STRING "*Message Name Invalid*" |
| 323 | #define WHITESPACE_CHARS " \t\r\n" |
| 324 | |
| 325 | // Structure for storing a script message |
| 326 | struct tScriptMessage { |
| 327 | char *name; // the name of the message |
| 328 | char *message; // the actual message text |
| 329 | }; |
| 330 | |
| 331 | // Global storage for level script messages |
| 332 | tScriptMessage *message_list[MAX_SCRIPT_MESSAGES]; |
| 333 | int num_messages; |
| 334 | |
| 335 | // ====================== |
| 336 | // Message File Functions |
| 337 | // ====================== |
| 338 | |
| 339 | // Initializes the Message List |
| 340 | void InitMessageList(void) { |
| 341 | for (int j = 0; j < MAX_SCRIPT_MESSAGES; j++) |
| 342 | message_list[j] = NULL; |
| 343 | num_messages = 0; |
| 344 | } |
| 345 | |
| 346 | // Clear the Message List |
| 347 | void ClearMessageList(void) { |
| 348 | for (int j = 0; j < num_messages; j++) { |
| 349 | free(message_list[j]->name); |
| 350 | free(message_list[j]->message); |
| 351 | free(message_list[j]); |
| 352 | message_list[j] = NULL; |
| 353 | } |
| 354 | num_messages = 0; |
| 355 | } |
| 356 | |
| 357 | // Adds a message to the list |
| 358 | int AddMessageToList(char *name, char *msg) { |
| 359 | int pos; |
| 360 | |
| 361 | // Make sure there is room in the list |
| 362 | if (num_messages >= MAX_SCRIPT_MESSAGES) |
| 363 | return false; |
| 364 | |
| 365 | // Allocate memory for this message entry |
| 366 | pos = num_messages; |
| 367 | message_list[pos] = (tScriptMessage *)malloc(sizeof(tScriptMessage)); |
| 368 | if (message_list[pos] == NULL) |
| 369 | return false; |
| 370 | |
| 371 | // Allocate memory for the message name |
| 372 | message_list[pos]->name = (char *)malloc(strlen(name) + 1); |
| 373 | if (message_list[pos]->name == NULL) { |
| 374 | free(message_list[pos]); |
| 375 | return false; |
| 376 | } |
| 377 | strcpy(message_list[pos]->name, name); |
| 378 | |
| 379 | // Allocate memory for the message name |
| 380 | message_list[pos]->message = (char *)malloc(strlen(msg) + 1); |
| 381 | if (message_list[pos]->message == NULL) { |
| 382 | free(message_list[pos]->name); |
| 383 | free(message_list[pos]); |
| 384 | return false; |
| 385 | } |
| 386 | strcpy(message_list[pos]->message, msg); |
| 387 | num_messages++; |
| 388 | |
| 389 | return true; |
| 390 | } |
| 391 | |
| 392 | // Removes any whitespace padding from the end of a string |
| 393 | void RemoveTrailingWhitespace(char *s) { |
| 394 | int last_char_pos; |
| 395 | |
| 396 | last_char_pos = strlen(s) - 1; |
| 397 | while (last_char_pos >= 0 && isspace(s[last_char_pos])) { |
| 398 | s[last_char_pos] = '\0'; |
| 399 | last_char_pos--; |
| 400 | } |
| 401 | } |
| 402 | |
| 403 | // Returns a pointer to the first non-whitespace char in given string |
| 404 | char *SkipInitialWhitespace(char *s) { |
| 405 | while ((*s) != '\0' && isspace(*s)) |
| 406 | s++; |
| 407 | |
| 408 | return (s); |
| 409 | } |
| 410 | |
| 411 | // Read in the Messages |
| 412 | int ReadMessageFile(const char *filename) { |
| 413 | void *infile; |
| 414 | char filebuffer[MAX_MSG_FILEBUF_LEN + 1]; |
| 415 | char *line, *msg_start; |
| 416 | int line_num; |
| 417 | bool next_msgid_found; |
| 418 | |
| 419 | // Try to open the file for loading |
| 420 | infile = File_Open(filename, "rt"); |
| 421 | if (!infile) |
| 422 | return false; |
| 423 | |
| 424 | line_num = 0; |
| 425 | next_msgid_found = true; |
| 426 | |
| 427 | // Clear the message list |
| 428 | ClearMessageList(); |
| 429 | |
| 430 | // Read in and parse each line of the file |
| 431 | while (!File_eof(infile)) { |
| 432 | |
| 433 | // Clear the buffer |
| 434 | strcpy(filebuffer, ""); |
| 435 | |
| 436 | // Read in a line from the file |
| 437 | File_ReadString(filebuffer, MAX_MSG_FILEBUF_LEN, infile); |
| 438 | line_num++; |
| 439 | |
| 440 | // Remove whitespace padding at start and end of line |
| 441 | RemoveTrailingWhitespace(filebuffer); |
| 442 | line = SkipInitialWhitespace(filebuffer); |
| 443 | |
| 444 | // If line is a comment, or empty, discard it |
| 445 | if (strlen(line) == 0 || strncmp(line, "//", 2) == 0) |
| 446 | continue; |
| 447 | |
| 448 | if (!next_msgid_found) { // Parse out the last message ID number |
| 449 | |
| 450 | // Grab the first keyword, make sure it's valid |
| 451 | line = strtok(line, WHITESPACE_CHARS); |
| 452 | if (line == NULL) |
| 453 | continue; |
| 454 | |
| 455 | // Grab the second keyword, and assign it as the next message ID |
| 456 | line = strtok(NULL, WHITESPACE_CHARS); |
| 457 | if (line == NULL) |
| 458 | continue; |
| 459 | |
| 460 | next_msgid_found = true; |
| 461 | } else { // Parse line as a message line |
| 462 | |
| 463 | // Find the start of message, and mark it |
| 464 | msg_start = strchr(line, '='); |
| 465 | if (msg_start == NULL) |
| 466 | continue; |
| 467 | msg_start[0] = '\0'; |
| 468 | msg_start++; |
| 469 | |
| 470 | // Add the message to the list |
| 471 | AddMessageToList(line, msg_start); |
| 472 | } |
| 473 | } |
| 474 | File_Close(infile); |
| 475 | |
| 476 | return true; |
| 477 | } |
| 478 | |
| 479 | // Find a message |
| 480 | const char *GetMessage(const char *name) { |
| 481 | // Make sure given name is valid |
| 482 | if (name == NULL) |
| 483 | return INV_MSGNAME_STRING; |
| 484 | |
| 485 | // Search message list for name |
| 486 | for (int j = 0; j < num_messages; j++) |
| 487 | if (strcmp(message_list[j]->name, name) == 0) |
| 488 | return (message_list[j]->message); |
| 489 | |
| 490 | // Couldn't find it |
| 491 | return NO_MESSAGE_STRING; |
| 492 | } |
| 493 | |
| 494 | //====================== |
| 495 | // Name List Arrays |
| 496 | //====================== |
| 497 | |
| 498 | #define NUM_DOOR_NAMES 0 |
| 499 | const char **Door_names = NULL; |
| 500 | int *Door_handles = NULL; |
| 501 | |
| 502 | #define NUM_OBJECT_NAMES 27 |
| 503 | const char *Object_names[NUM_OBJECT_NAMES] = { |
| 504 | "Spew1", "Spew2", "Spew3", "Spew4", "Spew5", "Spew6", "Spew7", "Spew8", "Spew9", |
| 505 | "Spew10", "Spew11", "Spew12", "Spew13", "Spew14", "Spew15", "Spew16", "Spew17", "Spew18", |
| 506 | "Spew19", "Spew20", "Spew21", "Spew22", "Big Spew1", "Big Spew2", "Big Spew3", "Repair Unit", "Wind Sound1"}; |
| 507 | int Object_handles[NUM_OBJECT_NAMES]; |
| 508 | |
| 509 | #define NUM_ROOM_NAMES 9 |
| 510 | const char *Room_names[NUM_ROOM_NAMES] = {"203", "201", "204", "198", "207", "206", "205", "195", "208"}; |
| 511 | int Room_indexes[NUM_ROOM_NAMES]; |
| 512 | |
| 513 | #define NUM_TRIGGER_NAMES 0 |
| 514 | const char **Trigger_names = NULL; |
| 515 | int *Trigger_indexes = NULL; |
| 516 | int *Trigger_faces = NULL; |
| 517 | int *Trigger_rooms = NULL; |
| 518 | |
| 519 | #define NUM_SOUND_NAMES 3 |
| 520 | const char *Sound_names[NUM_SOUND_NAMES] = {"AmbExplosionFarC", "Briefstartup1", "AmbDroneCaveWind"}; |
| 521 | int Sound_indexes[NUM_SOUND_NAMES]; |
| 522 | |
| 523 | #define NUM_TEXTURE_NAMES 0 |
| 524 | const char **Texture_names = NULL; |
| 525 | int *Texture_indexes = NULL; |
| 526 | |
| 527 | #define NUM_PATH_NAMES 0 |
| 528 | const char **Path_names = NULL; |
| 529 | int *Path_indexes = NULL; |
| 530 | |
| 531 | #define NUM_MATCEN_NAMES 0 |
| 532 | const char **Matcen_names = NULL; |
| 533 | int *Matcen_indexes = NULL; |
| 534 | |
| 535 | #define NUM_GOAL_NAMES 0 |
| 536 | const char **Goal_names = NULL; |
| 537 | int *Goal_indexes = NULL; |
| 538 | |
| 539 | #define NUM_MESSAGE_NAMES 0 |
| 540 | const char **Message_names = NULL; |
| 541 | const char **Message_strings = NULL; |
| 542 | |
| 543 | // =============== |
| 544 | // InitializeDLL() |
| 545 | // =============== |
| 546 | char STDCALL InitializeDLL(tOSIRISModuleInit *func_list) { |
| 547 | osicommon_Initialize((tOSIRISModuleInit *)func_list); |
| 548 | if (func_list->game_checksum != CHECKSUM) { |
| 549 | mprintf(0, "Game-Checksum FAIL!!! (%ul!=%ul)\n", func_list->game_checksum, CHECKSUM); |
| 550 | mprintf(0, "RECOMPILE YOUR SCRIPTS!!!\n"); |
| 551 | return 0; |
| 552 | } |
| 553 | |
| 554 | ClearGlobalActionCtrs(); |
| 555 | dfInit(); |
| 556 | InitMessageList(); |
| 557 | |
| 558 | // Build the filename of the message file |
| 559 | char filename[_MAX_PATH + 32]; |
| 560 | int lang_type; |
| 561 | if (func_list->script_identifier != NULL) { |
| 562 | _splitpath(func_list->script_identifier, NULL, NULL, filename, NULL); |
| 563 | lang_type = Game_GetLanguage(); |
| 564 | if (lang_type == LANGUAGE_FRENCH) |
| 565 | strcat(filename, "_FRN"); |
| 566 | else if (lang_type == LANGUAGE_GERMAN) |
| 567 | strcat(filename, "_GER"); |
| 568 | else if (lang_type == LANGUAGE_ITALIAN) |
| 569 | strcat(filename, "_ITN"); |
| 570 | else if (lang_type == LANGUAGE_SPANISH) |
| 571 | strcat(filename, "_SPN"); |
| 572 | strcat(filename, ".msg"); |
| 573 | } else { |
| 574 | strcpy(filename, "orbital.msg"); |
| 575 | lang_type = LANGUAGE_ENGLISH; |
| 576 | } |
| 577 | if (!ReadMessageFile(filename)) { |
| 578 | mprintf(0, "ERROR: Could not load message file - %s\n", filename); |
| 579 | } |
| 580 | |
| 581 | int j; |
| 582 | |
| 583 | // Do Door Index lookups |
| 584 | for (j = 0; j < NUM_DOOR_NAMES; j++) |
| 585 | Door_handles[j] = Scrpt_FindDoorName(Door_names[j]); |
| 586 | |
| 587 | // Do Object Index lookups |
| 588 | for (j = 0; j < NUM_OBJECT_NAMES; j++) |
| 589 | Object_handles[j] = Scrpt_FindObjectName(Object_names[j]); |
| 590 | |
| 591 | // Do Room Index lookups |
| 592 | for (j = 0; j < NUM_ROOM_NAMES; j++) |
| 593 | Room_indexes[j] = Scrpt_FindRoomName(Room_names[j]); |
| 594 | |
| 595 | // Do Trigger Index lookups |
| 596 | for (j = 0; j < NUM_TRIGGER_NAMES; j++) { |
| 597 | Trigger_indexes[j] = Scrpt_FindTriggerName(Trigger_names[j]); |
| 598 | Trigger_faces[j] = Scrpt_GetTriggerFace(Trigger_indexes[j]); |
| 599 | Trigger_rooms[j] = Scrpt_GetTriggerRoom(Trigger_indexes[j]); |
| 600 | } |
| 601 | |
| 602 | // Do Sound Index lookups |
| 603 | for (j = 0; j < NUM_SOUND_NAMES; j++) |
| 604 | Sound_indexes[j] = Scrpt_FindSoundName(Sound_names[j]); |
| 605 | |
| 606 | // Do Texture Index lookups |
| 607 | for (j = 0; j < NUM_TEXTURE_NAMES; j++) |
| 608 | Texture_indexes[j] = Scrpt_FindTextureName(Texture_names[j]); |
| 609 | |
| 610 | // Do Path Index lookups |
| 611 | for (j = 0; j < NUM_PATH_NAMES; j++) |
| 612 | Path_indexes[j] = Scrpt_FindPathName(Path_names[j]); |
| 613 | |
| 614 | // Do Matcen Index lookups |
| 615 | for (j = 0; j < NUM_MATCEN_NAMES; j++) |
| 616 | Matcen_indexes[j] = Scrpt_FindMatcenName(Matcen_names[j]); |
| 617 | |
| 618 | // Do Goal Index lookups |
| 619 | for (j = 0; j < NUM_GOAL_NAMES; j++) |
| 620 | Goal_indexes[j] = Scrpt_FindLevelGoalName(Goal_names[j]); |
| 621 | |
| 622 | // Do Message Name lookups |
| 623 | for (j = 0; j < NUM_MESSAGE_NAMES; j++) |
| 624 | Message_strings[j] = GetMessage(Message_names[j]); |
| 625 | |
| 626 | return 1; |
| 627 | } |
| 628 | |
| 629 | // ============= |
| 630 | // ShutdownDLL() |
| 631 | // ============= |
| 632 | void STDCALL ShutdownDLL(void) { ClearMessageList(); } |
| 633 | |
| 634 | // =============== |
| 635 | // GetGOScriptID() |
| 636 | // =============== |
| 637 | int STDCALL GetGOScriptID(const char *name, uint8_t isdoor) { return -1; } |
| 638 | |
| 639 | // ================ |
| 640 | // CreateInstance() |
| 641 | // ================ |
| 642 | void STDCALLPTR CreateInstance(int id) { |
| 643 | switch (id) { |
| 644 | case ID_LEVEL_0000: |
| 645 | return new LevelScript_0000; |
| 646 | break; |
| 647 | case ID_CUSTOM_OBJECT_0903: |
| 648 | return new CustomObjectScript_0903; |
| 649 | break; |
| 650 | case ID_CUSTOM_OBJECT_10F9: |
| 651 | return new CustomObjectScript_10F9; |
| 652 | break; |
| 653 | default: |
| 654 | mprintf(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 655 | break; |
| 656 | } |
| 657 | return NULL; |
| 658 | } |
| 659 | |
| 660 | // ================= |
| 661 | // DestroyInstance() |
| 662 | // ================= |
| 663 | void STDCALL DestroyInstance(int id, void *ptr) { |
| 664 | switch (id) { |
| 665 | case ID_LEVEL_0000: |
| 666 | delete ((LevelScript_0000 *)ptr); |
| 667 | break; |
| 668 | case ID_CUSTOM_OBJECT_0903: |
| 669 | delete ((CustomObjectScript_0903 *)ptr); |
| 670 | break; |
| 671 | case ID_CUSTOM_OBJECT_10F9: |
| 672 | delete ((CustomObjectScript_10F9 *)ptr); |
| 673 | break; |
| 674 | default: |
| 675 | mprintf(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 676 | break; |
| 677 | } |
| 678 | } |
| 679 | |
| 680 | // =================== |
| 681 | // CallInstanceEvent() |
| 682 | // =================== |
| 683 | int16_t STDCALL CallInstanceEvent(int id, void *ptr, int event, tOSIRISEventInfo *data) { |
| 684 | switch (id) { |
| 685 | case ID_LEVEL_0000: |
| 686 | case ID_CUSTOM_OBJECT_0903: |
| 687 | case ID_CUSTOM_OBJECT_10F9: |
| 688 | return ((BaseScript *)ptr)->CallEvent(event, data); |
| 689 | break; |
| 690 | default: |
| 691 | mprintf(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 692 | break; |
| 693 | } |
| 694 | return CONTINUE_CHAIN | CONTINUE_DEFAULT; |
| 695 | } |
| 696 | |
| 697 | // ================== |
| 698 | // SaveRestoreState() |
| 699 | // ================== |
| 700 | int STDCALL SaveRestoreState(void *file_ptr, uint8_t saving_state) { return 0; } |
| 701 | |
| 702 | // ==================== |
| 703 | // GetTriggerScriptID() |
| 704 | // ==================== |
| 705 | int STDCALL GetTriggerScriptID(int trigger_room, int trigger_face) { return -1; } |
| 706 | |
| 707 | // ================= |
| 708 | // GetCOScriptList() |
| 709 | // ================= |
| 710 | int STDCALL GetCOScriptList(int **list, int **id_list) { |
| 711 | static int cust_handle_list[2]; |
| 712 | static int cust_id_list[2] = {ID_CUSTOM_OBJECT_0903, ID_CUSTOM_OBJECT_10F9}; |
| 713 | |
| 714 | // Fill in the custom handle list |
| 715 | cust_handle_list[0] = Object_handles[25]; |
| 716 | cust_handle_list[1] = Object_handles[26]; |
| 717 | |
| 718 | *list = cust_handle_list; |
| 719 | *id_list = cust_id_list; |
| 720 | |
| 721 | return 2; |
| 722 | } |
| 723 | |
| 724 | //======================= |
| 725 | // Script Implementation |
| 726 | //======================= |
| 727 | |
| 728 | BaseScript::BaseScript() {} |
| 729 | |
| 730 | BaseScript::~BaseScript() {} |
| 731 | |
| 732 | int16_t BaseScript::CallEvent(int event, tOSIRISEventInfo *data) { |
| 733 | mprintf(0, "BaseScript::CallEvent()\n"); |
| 734 | return CONTINUE_CHAIN | CONTINUE_DEFAULT; |
| 735 | } |
| 736 | |
| 737 | int16_t LevelScript_0000::CallEvent(int event, tOSIRISEventInfo *data) { |
| 738 | switch (event) { |
| 739 | case EVT_SAVESTATE: { |
| 740 | tOSIRISEVTSAVESTATE *event_data = &data->evt_savestate; |
| 741 | |
| 742 | SaveGlobalActionCtrs(event_data->fileptr); |
| 743 | dfSave(event_data->fileptr); |
| 744 | #ifdef ENABLE_CUSTOM_SAVE_AND_RESTORE |
| 745 | dsCustomSave(event_data->fileptr); |
| 746 | #endif |
| 747 | } break; |
| 748 | case EVT_RESTORESTATE: { |
| 749 | tOSIRISEVTRESTORESTATE *event_data = &data->evt_restorestate; |
| 750 | |
| 751 | RestoreGlobalActionCtrs(event_data->fileptr); |
| 752 | dfRestore(event_data->fileptr); |
| 753 | #ifdef ENABLE_CUSTOM_SAVE_AND_RESTORE |
| 754 | dsCustomRestore(event_data->fileptr); |
| 755 | #endif |
| 756 | } break; |
| 757 | case EVT_LEVELSTART: { |
| 758 | tOSIRISEVTLEVELSTART *event_data = &data->evt_levelstart; |
| 759 | |
| 760 | ClearGlobalActionCtrs(); |
| 761 | dfInit(); |
| 762 | |
| 763 | // Script 007: Level Start Spew Timer |
| 764 | if (1) { |
| 765 | aSetLevelTimer(20.000000f, 10); |
| 766 | |
| 767 | // Increment the script action counter |
| 768 | if (ScriptActionCtr_007 < MAX_ACTION_CTR_VALUE) |
| 769 | ScriptActionCtr_007++; |
| 770 | } |
| 771 | |
| 772 | // Script 005: Wind Tunnels |
| 773 | if (1) { |
| 774 | aRoomSetWind(Room_indexes[0], -0.284000f, -0.592000f, -0.753000f, 33.000000f); |
| 775 | aRoomSetWind(Room_indexes[1], -0.704000f, -0.472000f, -0.532000f, 33.000000f); |
| 776 | aRoomSetWind(Room_indexes[2], 0.633000f, 0.619000f, 0.466000f, 33.000000f); |
| 777 | aRoomSetWind(Room_indexes[3], 0.283000f, 0.437000f, -0.854000f, 33.000000f); |
| 778 | aRoomSetWind(Room_indexes[4], 0.918000f, -0.077000f, -0.389000f, 33.000000f); |
| 779 | aRoomSetWind(Room_indexes[5], -0.087000f, -0.047000f, -0.995000f, 33.000000f); |
| 780 | aRoomSetWind(Room_indexes[6], -0.975000f, -0.006000f, -0.219000f, 33.000000f); |
| 781 | aRoomSetWind(Room_indexes[7], -0.516000f, -0.028000f, 0.856000f, 33.000000f); |
| 782 | aRoomSetWind(Room_indexes[8], 0.653000f, -0.065000f, 0.755000f, 33.000000f); |
| 783 | |
| 784 | // Increment the script action counter |
| 785 | if (ScriptActionCtr_005 < MAX_ACTION_CTR_VALUE) |
| 786 | ScriptActionCtr_005++; |
| 787 | } |
| 788 | } break; |
| 789 | case EVT_TIMER: { |
| 790 | tOSIRISEVTTIMER *event_data = &data->evt_timer; |
| 791 | |
| 792 | // Script 066: Dan's Spewer System |
| 793 | if (event_data->id == 10) { |
| 794 | aSoundPlay2D(Sound_indexes[0], 1.000000f); |
| 795 | aTurnOnSpew(Object_handles[0], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 796 | 36.000000f, 1, 0); |
| 797 | aTurnOnSpew(Object_handles[1], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 798 | 36.000000f, 1, 0); |
| 799 | aTurnOnSpew(Object_handles[2], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 800 | 36.000000f, 1, 0); |
| 801 | aTurnOnSpew(Object_handles[3], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 802 | 36.000000f, 1, 0); |
| 803 | aTurnOnSpew(Object_handles[4], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 804 | 36.000000f, 1, 0); |
| 805 | aTurnOnSpew(Object_handles[5], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 806 | 36.000000f, 1, 0); |
| 807 | aTurnOnSpew(Object_handles[6], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 808 | 36.000000f, 1, 0); |
| 809 | aTurnOnSpew(Object_handles[7], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 810 | 36.000000f, 1, 0); |
| 811 | aTurnOnSpew(Object_handles[8], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 812 | 36.000000f, 1, 0); |
| 813 | aTurnOnSpew(Object_handles[9], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 814 | 36.000000f, 1, 0); |
| 815 | aTurnOnSpew(Object_handles[10], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 816 | 36.000000f, 1, 0); |
| 817 | aTurnOnSpew(Object_handles[11], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 818 | 36.000000f, 1, 0); |
| 819 | aTurnOnSpew(Object_handles[12], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 820 | 36.000000f, 1, 0); |
| 821 | aTurnOnSpew(Object_handles[13], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 822 | 36.000000f, 1, 0); |
| 823 | aTurnOnSpew(Object_handles[14], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 824 | 36.000000f, 1, 0); |
| 825 | aTurnOnSpew(Object_handles[15], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 826 | 36.000000f, 1, 0); |
| 827 | aTurnOnSpew(Object_handles[16], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 828 | 36.000000f, 1, 0); |
| 829 | aTurnOnSpew(Object_handles[17], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 830 | 36.000000f, 1, 0); |
| 831 | aTurnOnSpew(Object_handles[18], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 832 | 36.000000f, 1, 0); |
| 833 | aTurnOnSpew(Object_handles[19], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 834 | 36.000000f, 1, 0); |
| 835 | aTurnOnSpew(Object_handles[20], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 836 | 36.000000f, 1, 0); |
| 837 | aTurnOnSpew(Object_handles[21], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 1.250000f, |
| 838 | 36.000000f, 1, 0); |
| 839 | aTurnOnSpew(Object_handles[22], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 5.250000f, |
| 840 | 36.000000f, 1, 0); |
| 841 | aTurnOnSpew(Object_handles[23], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 5.250000f, |
| 842 | 36.000000f, 1, 0); |
| 843 | aTurnOnSpew(Object_handles[24], -1, 7, 0.000000f, 0.000000f, 65536, 0, 0.750000f, 0.020000f, 1.250000f, 5.250000f, |
| 844 | 36.000000f, 1, 0); |
| 845 | aSetLevelTimer(20.000000f, 10); |
| 846 | |
| 847 | // Increment the script action counter |
| 848 | if (ScriptActionCtr_066 < MAX_ACTION_CTR_VALUE) |
| 849 | ScriptActionCtr_066++; |
| 850 | } |
| 851 | } break; |
| 852 | } |
| 853 | return CONTINUE_CHAIN | CONTINUE_DEFAULT; |
| 854 | } |
| 855 | |
| 856 | int16_t CustomObjectScript_0903::CallEvent(int event, tOSIRISEventInfo *data) { |
| 857 | switch (event) { |
| 858 | case EVT_COLLIDE: { |
| 859 | tOSIRISEVTCOLLIDE *event_data = &data->evt_collide; |
| 860 | |
| 861 | // Script 001: Repair Player Unit |
| 862 | if (qObjIsPlayer(event_data->it_handle) == true) { |
| 863 | aSoundPlayObject(Sound_indexes[1], data->me_handle, 1.000000f); |
| 864 | aObjSetShields(event_data->it_handle, 50.000000f); |
| 865 | |
| 866 | // Increment the script action counter |
| 867 | if (ScriptActionCtr_001 < MAX_ACTION_CTR_VALUE) |
| 868 | ScriptActionCtr_001++; |
| 869 | } |
| 870 | } break; |
| 871 | } |
| 872 | return CONTINUE_CHAIN | CONTINUE_DEFAULT; |
| 873 | } |
| 874 | |
| 875 | int16_t CustomObjectScript_10F9::CallEvent(int event, tOSIRISEventInfo *data) { |
| 876 | switch (event) { |
| 877 | case EVT_CREATED: { |
| 878 | tOSIRISEVTCREATED *event_data = &data->evt_created; |
| 879 | |
| 880 | // Script 006: SoundSource 1 |
| 881 | if (1) { |
| 882 | aSoundPlayObject(Sound_indexes[2], data->me_handle, 1.000000f); |
| 883 | |
| 884 | // Increment the script action counter |
| 885 | if (ScriptActionCtr_006 < MAX_ACTION_CTR_VALUE) |
| 886 | ScriptActionCtr_006++; |
| 887 | } |
| 888 | } break; |
| 889 | } |
| 890 | return CONTINUE_CHAIN | CONTINUE_DEFAULT; |
| 891 | } |
| 892 | |
| 893 | /********************************************************* |
| 894 | Script Save Block: DO NOT TOUCH ANYTHING IN THIS BLOCK!!! |
| 895 | ********************************************************** |
| 896 | $$SCRIPT_BLOCK_START |
| 897 | |
| 898 | VERSION 3 |
| 899 | NEXT_ID 69 |
| 900 | |
| 901 | // UserType value blocks |
| 902 | $$UTYPE_VALS_START UserVar |
| 903 | 0:Closest to |
| 904 | 1:Shade Open |
| 905 | $$UTYPE_VALS_END |
| 906 | |
| 907 | $$UTYPE_VALS_START UserFlag |
| 908 | 0:Shade Open |
| 909 | $$UTYPE_VALS_END |
| 910 | |
| 911 | $$UTYPE_VALS_START SpewHandle |
| 912 | 0:Breathers |
| 913 | $$UTYPE_VALS_END |
| 914 | |
| 915 | $$UTYPE_VALS_START TimerID |
| 916 | 10:StartSpewers |
| 917 | $$UTYPE_VALS_END |
| 918 | |
| 919 | $$UTYPE_VALS_START SavedObjectSlot |
| 920 | $$UTYPE_VALS_END |
| 921 | |
| 922 | $$UTYPE_VALS_START GoalID |
| 923 | $$UTYPE_VALS_END |
| 924 | |
| 925 | |
| 926 | // Name Lists |
| 927 | $$DOOR_LIST_START |
| 928 | $$DOOR_LIST_END |
| 929 | |
| 930 | $$OBJECT_LIST_START |
| 931 | Spew1 |
| 932 | Spew2 |
| 933 | Spew3 |
| 934 | Spew4 |
| 935 | Spew5 |
| 936 | Spew6 |
| 937 | Spew7 |
| 938 | Spew8 |
| 939 | Spew9 |
| 940 | Spew10 |
| 941 | Spew11 |
| 942 | Spew12 |
| 943 | Spew13 |
| 944 | Spew14 |
| 945 | Spew15 |
| 946 | Spew16 |
| 947 | Spew17 |
| 948 | Spew18 |
| 949 | Spew19 |
| 950 | Spew20 |
| 951 | Spew21 |
| 952 | Spew22 |
| 953 | Big Spew1 |
| 954 | Big Spew2 |
| 955 | Big Spew3 |
| 956 | Repair Unit |
| 957 | Wind Sound1 |
| 958 | $$OBJECT_LIST_END |
| 959 | |
| 960 | $$ROOM_LIST_START |
| 961 | 203 |
| 962 | 201 |
| 963 | 204 |
| 964 | 198 |
| 965 | 207 |
| 966 | 206 |
| 967 | 205 |
| 968 | 195 |
| 969 | 208 |
| 970 | $$ROOM_LIST_END |
| 971 | |
| 972 | $$TRIGGER_LIST_START |
| 973 | $$TRIGGER_LIST_END |
| 974 | |
| 975 | $$SOUND_LIST_START |
| 976 | AmbExplosionFarC |
| 977 | Briefstartup1 |
| 978 | AmbDroneCaveWind |
| 979 | $$SOUND_LIST_END |
| 980 | |
| 981 | $$TEXTURE_LIST_START |
| 982 | $$TEXTURE_LIST_END |
| 983 | |
| 984 | $$SPECNAME_LIST_START |
| 985 | $$SPECNAME_LIST_END |
| 986 | |
| 987 | $$PATH_LIST_START |
| 988 | $$PATH_LIST_END |
| 989 | |
| 990 | $$MATCEN_LIST_START |
| 991 | $$MATCEN_LIST_END |
| 992 | |
| 993 | $$GOAL_LIST_START |
| 994 | $$GOAL_LIST_END |
| 995 | |
| 996 | $$STRM_AUDIO_LIST_START |
| 997 | $$STRM_AUDIO_LIST_END |
| 998 | |
| 999 | |
| 1000 | // Script Tree Dump |
| 1001 | 00:66:Dan's Spewer System |
| 1002 | $$CHILD_BLOCK_START |
| 1003 | 01:2:0 |
| 1004 | 02:9 |
| 1005 | 03:0 |
| 1006 | $$CHILD_BLOCK_START |
| 1007 | 05:2 |
| 1008 | $$CHILD_BLOCK_START |
| 1009 | 10:10:2:0:TimerID |
| 1010 | 07:1:0 |
| 1011 | 10:10:0:10:TimerID |
| 1012 | $$CHILD_BLOCK_END |
| 1013 | $$CHILD_BLOCK_END |
| 1014 | 04:0:0:0 |
| 1015 | $$CHILD_BLOCK_START |
| 1016 | 08:aSoundPlay2D |
| 1017 | $$CHILD_BLOCK_START |
| 1018 | 10:12:0:Sound |
| 1019 | 10:9:1.000000:Volume |
| 1020 | $$CHILD_BLOCK_END |
| 1021 | 08:aTurnOnSpew |
| 1022 | $$CHILD_BLOCK_START |
| 1023 | 10:1:0:0:Object |
| 1024 | 10:4:-1:GunNum |
| 1025 | 10:10:0:7:SpewType |
| 1026 | 10:6:0.000000:Mass |
| 1027 | 10:6:0.000000:Drag |
| 1028 | 10:15:65536:PhysicsFlags |
| 1029 | 10:5:0:IsRealObject |
| 1030 | 10:6:0.750000:BlobLifetime |
| 1031 | 10:6:0.020000:BlobInterval |
| 1032 | 10:6:1.250000:SpewLife |
| 1033 | 10:6:1.250000:BlobSize |
| 1034 | 10:6:36.000000:BlobSpeed |
| 1035 | 10:5:1:Randomize |
| 1036 | 10:10:0:0:SpewHandle |
| 1037 | $$CHILD_BLOCK_END |
| 1038 | 08:aTurnOnSpew |
| 1039 | $$CHILD_BLOCK_START |
| 1040 | 10:1:0:1:Object |
| 1041 | 10:4:-1:GunNum |
| 1042 | 10:10:0:7:SpewType |
| 1043 | 10:6:0.000000:Mass |
| 1044 | 10:6:0.000000:Drag |
| 1045 | 10:15:65536:PhysicsFlags |
| 1046 | 10:5:0:IsRealObject |
| 1047 | 10:6:0.750000:BlobLifetime |
| 1048 | 10:6:0.020000:BlobInterval |
| 1049 | 10:6:1.250000:SpewLife |
| 1050 | 10:6:1.250000:BlobSize |
| 1051 | 10:6:36.000000:BlobSpeed |
| 1052 | 10:5:1:Randomize |
| 1053 | 10:10:0:0:SpewHandle |
| 1054 | $$CHILD_BLOCK_END |
| 1055 | 08:aTurnOnSpew |
| 1056 | $$CHILD_BLOCK_START |
| 1057 | 10:1:0:2:Object |
| 1058 | 10:4:-1:GunNum |
| 1059 | 10:10:0:7:SpewType |
| 1060 | 10:6:0.000000:Mass |
| 1061 | 10:6:0.000000:Drag |
| 1062 | 10:15:65536:PhysicsFlags |
| 1063 | 10:5:0:IsRealObject |
| 1064 | 10:6:0.750000:BlobLifetime |
| 1065 | 10:6:0.020000:BlobInterval |
| 1066 | 10:6:1.250000:SpewLife |
| 1067 | 10:6:1.250000:BlobSize |
| 1068 | 10:6:36.000000:BlobSpeed |
| 1069 | 10:5:1:Randomize |
| 1070 | 10:10:0:0:SpewHandle |
| 1071 | $$CHILD_BLOCK_END |
| 1072 | 08:aTurnOnSpew |
| 1073 | $$CHILD_BLOCK_START |
| 1074 | 10:1:0:3:Object |
| 1075 | 10:4:-1:GunNum |
| 1076 | 10:10:0:7:SpewType |
| 1077 | 10:6:0.000000:Mass |
| 1078 | 10:6:0.000000:Drag |
| 1079 | 10:15:65536:PhysicsFlags |
| 1080 | 10:5:0:IsRealObject |
| 1081 | 10:6:0.750000:BlobLifetime |
| 1082 | 10:6:0.020000:BlobInterval |
| 1083 | 10:6:1.250000:SpewLife |
| 1084 | 10:6:1.250000:BlobSize |
| 1085 | 10:6:36.000000:BlobSpeed |
| 1086 | 10:5:1:Randomize |
| 1087 | 10:10:0:0:SpewHandle |
| 1088 | $$CHILD_BLOCK_END |
| 1089 | 08:aTurnOnSpew |
| 1090 | $$CHILD_BLOCK_START |
| 1091 | 10:1:0:4:Object |
| 1092 | 10:4:-1:GunNum |
| 1093 | 10:10:0:7:SpewType |
| 1094 | 10:6:0.000000:Mass |
| 1095 | 10:6:0.000000:Drag |
| 1096 | 10:15:65536:PhysicsFlags |
| 1097 | 10:5:0:IsRealObject |
| 1098 | 10:6:0.750000:BlobLifetime |
| 1099 | 10:6:0.020000:BlobInterval |
| 1100 | 10:6:1.250000:SpewLife |
| 1101 | 10:6:1.250000:BlobSize |
| 1102 | 10:6:36.000000:BlobSpeed |
| 1103 | 10:5:1:Randomize |
| 1104 | 10:10:0:0:SpewHandle |
| 1105 | $$CHILD_BLOCK_END |
| 1106 | 08:aTurnOnSpew |
| 1107 | $$CHILD_BLOCK_START |
| 1108 | 10:1:0:5:Object |
| 1109 | 10:4:-1:GunNum |
| 1110 | 10:10:0:7:SpewType |
| 1111 | 10:6:0.000000:Mass |
| 1112 | 10:6:0.000000:Drag |
| 1113 | 10:15:65536:PhysicsFlags |
| 1114 | 10:5:0:IsRealObject |
| 1115 | 10:6:0.750000:BlobLifetime |
| 1116 | 10:6:0.020000:BlobInterval |
| 1117 | 10:6:1.250000:SpewLife |
| 1118 | 10:6:1.250000:BlobSize |
| 1119 | 10:6:36.000000:BlobSpeed |
| 1120 | 10:5:1:Randomize |
| 1121 | 10:10:0:0:SpewHandle |
| 1122 | $$CHILD_BLOCK_END |
| 1123 | 08:aTurnOnSpew |
| 1124 | $$CHILD_BLOCK_START |
| 1125 | 10:1:0:6:Object |
| 1126 | 10:4:-1:GunNum |
| 1127 | 10:10:0:7:SpewType |
| 1128 | 10:6:0.000000:Mass |
| 1129 | 10:6:0.000000:Drag |
| 1130 | 10:15:65536:PhysicsFlags |
| 1131 | 10:5:0:IsRealObject |
| 1132 | 10:6:0.750000:BlobLifetime |
| 1133 | 10:6:0.020000:BlobInterval |
| 1134 | 10:6:1.250000:SpewLife |
| 1135 | 10:6:1.250000:BlobSize |
| 1136 | 10:6:36.000000:BlobSpeed |
| 1137 | 10:5:1:Randomize |
| 1138 | 10:10:0:0:SpewHandle |
| 1139 | $$CHILD_BLOCK_END |
| 1140 | 08:aTurnOnSpew |
| 1141 | $$CHILD_BLOCK_START |
| 1142 | 10:1:0:7:Object |
| 1143 | 10:4:-1:GunNum |
| 1144 | 10:10:0:7:SpewType |
| 1145 | 10:6:0.000000:Mass |
| 1146 | 10:6:0.000000:Drag |
| 1147 | 10:15:65536:PhysicsFlags |
| 1148 | 10:5:0:IsRealObject |
| 1149 | 10:6:0.750000:BlobLifetime |
| 1150 | 10:6:0.020000:BlobInterval |
| 1151 | 10:6:1.250000:SpewLife |
| 1152 | 10:6:1.250000:BlobSize |
| 1153 | 10:6:36.000000:BlobSpeed |
| 1154 | 10:5:1:Randomize |
| 1155 | 10:10:0:0:SpewHandle |
| 1156 | $$CHILD_BLOCK_END |
| 1157 | 08:aTurnOnSpew |
| 1158 | $$CHILD_BLOCK_START |
| 1159 | 10:1:0:8:Object |
| 1160 | 10:4:-1:GunNum |
| 1161 | 10:10:0:7:SpewType |
| 1162 | 10:6:0.000000:Mass |
| 1163 | 10:6:0.000000:Drag |
| 1164 | 10:15:65536:PhysicsFlags |
| 1165 | 10:5:0:IsRealObject |
| 1166 | 10:6:0.750000:BlobLifetime |
| 1167 | 10:6:0.020000:BlobInterval |
| 1168 | 10:6:1.250000:SpewLife |
| 1169 | 10:6:1.250000:BlobSize |
| 1170 | 10:6:36.000000:BlobSpeed |
| 1171 | 10:5:1:Randomize |
| 1172 | 10:10:0:0:SpewHandle |
| 1173 | $$CHILD_BLOCK_END |
| 1174 | 08:aTurnOnSpew |
| 1175 | $$CHILD_BLOCK_START |
| 1176 | 10:1:0:9:Object |
| 1177 | 10:4:-1:GunNum |
| 1178 | 10:10:0:7:SpewType |
| 1179 | 10:6:0.000000:Mass |
| 1180 | 10:6:0.000000:Drag |
| 1181 | 10:15:65536:PhysicsFlags |
| 1182 | 10:5:0:IsRealObject |
| 1183 | 10:6:0.750000:BlobLifetime |
| 1184 | 10:6:0.020000:BlobInterval |
| 1185 | 10:6:1.250000:SpewLife |
| 1186 | 10:6:1.250000:BlobSize |
| 1187 | 10:6:36.000000:BlobSpeed |
| 1188 | 10:5:1:Randomize |
| 1189 | 10:10:0:0:SpewHandle |
| 1190 | $$CHILD_BLOCK_END |
| 1191 | 08:aTurnOnSpew |
| 1192 | $$CHILD_BLOCK_START |
| 1193 | 10:1:0:10:Object |
| 1194 | 10:4:-1:GunNum |
| 1195 | 10:10:0:7:SpewType |
| 1196 | 10:6:0.000000:Mass |
| 1197 | 10:6:0.000000:Drag |
| 1198 | 10:15:65536:PhysicsFlags |
| 1199 | 10:5:0:IsRealObject |
| 1200 | 10:6:0.750000:BlobLifetime |
| 1201 | 10:6:0.020000:BlobInterval |
| 1202 | 10:6:1.250000:SpewLife |
| 1203 | 10:6:1.250000:BlobSize |
| 1204 | 10:6:36.000000:BlobSpeed |
| 1205 | 10:5:1:Randomize |
| 1206 | 10:10:0:0:SpewHandle |
| 1207 | $$CHILD_BLOCK_END |
| 1208 | 08:aTurnOnSpew |
| 1209 | $$CHILD_BLOCK_START |
| 1210 | 10:1:0:11:Object |
| 1211 | 10:4:-1:GunNum |
| 1212 | 10:10:0:7:SpewType |
| 1213 | 10:6:0.000000:Mass |
| 1214 | 10:6:0.000000:Drag |
| 1215 | 10:15:65536:PhysicsFlags |
| 1216 | 10:5:0:IsRealObject |
| 1217 | 10:6:0.750000:BlobLifetime |
| 1218 | 10:6:0.020000:BlobInterval |
| 1219 | 10:6:1.250000:SpewLife |
| 1220 | 10:6:1.250000:BlobSize |
| 1221 | 10:6:36.000000:BlobSpeed |
| 1222 | 10:5:1:Randomize |
| 1223 | 10:10:0:0:SpewHandle |
| 1224 | $$CHILD_BLOCK_END |
| 1225 | 08:aTurnOnSpew |
| 1226 | $$CHILD_BLOCK_START |
| 1227 | 10:1:0:12:Object |
| 1228 | 10:4:-1:GunNum |
| 1229 | 10:10:0:7:SpewType |
| 1230 | 10:6:0.000000:Mass |
| 1231 | 10:6:0.000000:Drag |
| 1232 | 10:15:65536:PhysicsFlags |
| 1233 | 10:5:0:IsRealObject |
| 1234 | 10:6:0.750000:BlobLifetime |
| 1235 | 10:6:0.020000:BlobInterval |
| 1236 | 10:6:1.250000:SpewLife |
| 1237 | 10:6:1.250000:BlobSize |
| 1238 | 10:6:36.000000:BlobSpeed |
| 1239 | 10:5:1:Randomize |
| 1240 | 10:10:0:0:SpewHandle |
| 1241 | $$CHILD_BLOCK_END |
| 1242 | 08:aTurnOnSpew |
| 1243 | $$CHILD_BLOCK_START |
| 1244 | 10:1:0:13:Object |
| 1245 | 10:4:-1:GunNum |
| 1246 | 10:10:0:7:SpewType |
| 1247 | 10:6:0.000000:Mass |
| 1248 | 10:6:0.000000:Drag |
| 1249 | 10:15:65536:PhysicsFlags |
| 1250 | 10:5:0:IsRealObject |
| 1251 | 10:6:0.750000:BlobLifetime |
| 1252 | 10:6:0.020000:BlobInterval |
| 1253 | 10:6:1.250000:SpewLife |
| 1254 | 10:6:1.250000:BlobSize |
| 1255 | 10:6:36.000000:BlobSpeed |
| 1256 | 10:5:1:Randomize |
| 1257 | 10:10:0:0:SpewHandle |
| 1258 | $$CHILD_BLOCK_END |
| 1259 | 08:aTurnOnSpew |
| 1260 | $$CHILD_BLOCK_START |
| 1261 | 10:1:0:14:Object |
| 1262 | 10:4:-1:GunNum |
| 1263 | 10:10:0:7:SpewType |
| 1264 | 10:6:0.000000:Mass |
| 1265 | 10:6:0.000000:Drag |
| 1266 | 10:15:65536:PhysicsFlags |
| 1267 | 10:5:0:IsRealObject |
| 1268 | 10:6:0.750000:BlobLifetime |
| 1269 | 10:6:0.020000:BlobInterval |
| 1270 | 10:6:1.250000:SpewLife |
| 1271 | 10:6:1.250000:BlobSize |
| 1272 | 10:6:36.000000:BlobSpeed |
| 1273 | 10:5:1:Randomize |
| 1274 | 10:10:0:0:SpewHandle |
| 1275 | $$CHILD_BLOCK_END |
| 1276 | 08:aTurnOnSpew |
| 1277 | $$CHILD_BLOCK_START |
| 1278 | 10:1:0:15:Object |
| 1279 | 10:4:-1:GunNum |
| 1280 | 10:10:0:7:SpewType |
| 1281 | 10:6:0.000000:Mass |
| 1282 | 10:6:0.000000:Drag |
| 1283 | 10:15:65536:PhysicsFlags |
| 1284 | 10:5:0:IsRealObject |
| 1285 | 10:6:0.750000:BlobLifetime |
| 1286 | 10:6:0.020000:BlobInterval |
| 1287 | 10:6:1.250000:SpewLife |
| 1288 | 10:6:1.250000:BlobSize |
| 1289 | 10:6:36.000000:BlobSpeed |
| 1290 | 10:5:1:Randomize |
| 1291 | 10:10:0:0:SpewHandle |
| 1292 | $$CHILD_BLOCK_END |
| 1293 | 08:aTurnOnSpew |
| 1294 | $$CHILD_BLOCK_START |
| 1295 | 10:1:0:16:Object |
| 1296 | 10:4:-1:GunNum |
| 1297 | 10:10:0:7:SpewType |
| 1298 | 10:6:0.000000:Mass |
| 1299 | 10:6:0.000000:Drag |
| 1300 | 10:15:65536:PhysicsFlags |
| 1301 | 10:5:0:IsRealObject |
| 1302 | 10:6:0.750000:BlobLifetime |
| 1303 | 10:6:0.020000:BlobInterval |
| 1304 | 10:6:1.250000:SpewLife |
| 1305 | 10:6:1.250000:BlobSize |
| 1306 | 10:6:36.000000:BlobSpeed |
| 1307 | 10:5:1:Randomize |
| 1308 | 10:10:0:0:SpewHandle |
| 1309 | $$CHILD_BLOCK_END |
| 1310 | 08:aTurnOnSpew |
| 1311 | $$CHILD_BLOCK_START |
| 1312 | 10:1:0:17:Object |
| 1313 | 10:4:-1:GunNum |
| 1314 | 10:10:0:7:SpewType |
| 1315 | 10:6:0.000000:Mass |
| 1316 | 10:6:0.000000:Drag |
| 1317 | 10:15:65536:PhysicsFlags |
| 1318 | 10:5:0:IsRealObject |
| 1319 | 10:6:0.750000:BlobLifetime |
| 1320 | 10:6:0.020000:BlobInterval |
| 1321 | 10:6:1.250000:SpewLife |
| 1322 | 10:6:1.250000:BlobSize |
| 1323 | 10:6:36.000000:BlobSpeed |
| 1324 | 10:5:1:Randomize |
| 1325 | 10:10:0:0:SpewHandle |
| 1326 | $$CHILD_BLOCK_END |
| 1327 | 08:aTurnOnSpew |
| 1328 | $$CHILD_BLOCK_START |
| 1329 | 10:1:0:18:Object |
| 1330 | 10:4:-1:GunNum |
| 1331 | 10:10:0:7:SpewType |
| 1332 | 10:6:0.000000:Mass |
| 1333 | 10:6:0.000000:Drag |
| 1334 | 10:15:65536:PhysicsFlags |
| 1335 | 10:5:0:IsRealObject |
| 1336 | 10:6:0.750000:BlobLifetime |
| 1337 | 10:6:0.020000:BlobInterval |
| 1338 | 10:6:1.250000:SpewLife |
| 1339 | 10:6:1.250000:BlobSize |
| 1340 | 10:6:36.000000:BlobSpeed |
| 1341 | 10:5:1:Randomize |
| 1342 | 10:10:0:0:SpewHandle |
| 1343 | $$CHILD_BLOCK_END |
| 1344 | 08:aTurnOnSpew |
| 1345 | $$CHILD_BLOCK_START |
| 1346 | 10:1:0:19:Object |
| 1347 | 10:4:-1:GunNum |
| 1348 | 10:10:0:7:SpewType |
| 1349 | 10:6:0.000000:Mass |
| 1350 | 10:6:0.000000:Drag |
| 1351 | 10:15:65536:PhysicsFlags |
| 1352 | 10:5:0:IsRealObject |
| 1353 | 10:6:0.750000:BlobLifetime |
| 1354 | 10:6:0.020000:BlobInterval |
| 1355 | 10:6:1.250000:SpewLife |
| 1356 | 10:6:1.250000:BlobSize |
| 1357 | 10:6:36.000000:BlobSpeed |
| 1358 | 10:5:1:Randomize |
| 1359 | 10:10:0:0:SpewHandle |
| 1360 | $$CHILD_BLOCK_END |
| 1361 | 08:aTurnOnSpew |
| 1362 | $$CHILD_BLOCK_START |
| 1363 | 10:1:0:20:Object |
| 1364 | 10:4:-1:GunNum |
| 1365 | 10:10:0:7:SpewType |
| 1366 | 10:6:0.000000:Mass |
| 1367 | 10:6:0.000000:Drag |
| 1368 | 10:15:65536:PhysicsFlags |
| 1369 | 10:5:0:IsRealObject |
| 1370 | 10:6:0.750000:BlobLifetime |
| 1371 | 10:6:0.020000:BlobInterval |
| 1372 | 10:6:1.250000:SpewLife |
| 1373 | 10:6:1.250000:BlobSize |
| 1374 | 10:6:36.000000:BlobSpeed |
| 1375 | 10:5:1:Randomize |
| 1376 | 10:10:0:0:SpewHandle |
| 1377 | $$CHILD_BLOCK_END |
| 1378 | 08:aTurnOnSpew |
| 1379 | $$CHILD_BLOCK_START |
| 1380 | 10:1:0:21:Object |
| 1381 | 10:4:-1:GunNum |
| 1382 | 10:10:0:7:SpewType |
| 1383 | 10:6:0.000000:Mass |
| 1384 | 10:6:0.000000:Drag |
| 1385 | 10:15:65536:PhysicsFlags |
| 1386 | 10:5:0:IsRealObject |
| 1387 | 10:6:0.750000:BlobLifetime |
| 1388 | 10:6:0.020000:BlobInterval |
| 1389 | 10:6:1.250000:SpewLife |
| 1390 | 10:6:1.250000:BlobSize |
| 1391 | 10:6:36.000000:BlobSpeed |
| 1392 | 10:5:1:Randomize |
| 1393 | 10:10:0:0:SpewHandle |
| 1394 | $$CHILD_BLOCK_END |
| 1395 | 08:aTurnOnSpew |
| 1396 | $$CHILD_BLOCK_START |
| 1397 | 10:1:0:22:Object |
| 1398 | 10:4:-1:GunNum |
| 1399 | 10:10:0:7:SpewType |
| 1400 | 10:6:0.000000:Mass |
| 1401 | 10:6:0.000000:Drag |
| 1402 | 10:15:65536:PhysicsFlags |
| 1403 | 10:5:0:IsRealObject |
| 1404 | 10:6:0.750000:BlobLifetime |
| 1405 | 10:6:0.020000:BlobInterval |
| 1406 | 10:6:1.250000:SpewLife |
| 1407 | 10:6:5.250000:BlobSize |
| 1408 | 10:6:36.000000:BlobSpeed |
| 1409 | 10:5:1:Randomize |
| 1410 | 10:10:0:0:SpewHandle |
| 1411 | $$CHILD_BLOCK_END |
| 1412 | 08:aTurnOnSpew |
| 1413 | $$CHILD_BLOCK_START |
| 1414 | 10:1:0:23:Object |
| 1415 | 10:4:-1:GunNum |
| 1416 | 10:10:0:7:SpewType |
| 1417 | 10:6:0.000000:Mass |
| 1418 | 10:6:0.000000:Drag |
| 1419 | 10:15:65536:PhysicsFlags |
| 1420 | 10:5:0:IsRealObject |
| 1421 | 10:6:0.750000:BlobLifetime |
| 1422 | 10:6:0.020000:BlobInterval |
| 1423 | 10:6:1.250000:SpewLife |
| 1424 | 10:6:5.250000:BlobSize |
| 1425 | 10:6:36.000000:BlobSpeed |
| 1426 | 10:5:1:Randomize |
| 1427 | 10:10:0:0:SpewHandle |
| 1428 | $$CHILD_BLOCK_END |
| 1429 | 08:aTurnOnSpew |
| 1430 | $$CHILD_BLOCK_START |
| 1431 | 10:1:0:24:Object |
| 1432 | 10:4:-1:GunNum |
| 1433 | 10:10:0:7:SpewType |
| 1434 | 10:6:0.000000:Mass |
| 1435 | 10:6:0.000000:Drag |
| 1436 | 10:15:65536:PhysicsFlags |
| 1437 | 10:5:0:IsRealObject |
| 1438 | 10:6:0.750000:BlobLifetime |
| 1439 | 10:6:0.020000:BlobInterval |
| 1440 | 10:6:1.250000:SpewLife |
| 1441 | 10:6:5.250000:BlobSize |
| 1442 | 10:6:36.000000:BlobSpeed |
| 1443 | 10:5:1:Randomize |
| 1444 | 10:10:0:0:SpewHandle |
| 1445 | $$CHILD_BLOCK_END |
| 1446 | 08:aSetLevelTimer |
| 1447 | $$CHILD_BLOCK_START |
| 1448 | 10:6:20.000000:Time |
| 1449 | 10:10:0:10:TimerID |
| 1450 | $$CHILD_BLOCK_END |
| 1451 | $$CHILD_BLOCK_END |
| 1452 | $$CHILD_BLOCK_END |
| 1453 | 00:1:Repair Player Unit |
| 1454 | $$CHILD_BLOCK_START |
| 1455 | 01:1:25 |
| 1456 | 02:0 |
| 1457 | 03:0 |
| 1458 | $$CHILD_BLOCK_START |
| 1459 | 05:1 |
| 1460 | $$CHILD_BLOCK_START |
| 1461 | 06:qObjIsPlayer:Bool |
| 1462 | $$CHILD_BLOCK_START |
| 1463 | 10:1:1:-1:Object |
| 1464 | $$CHILD_BLOCK_END |
| 1465 | 07:0:6 |
| 1466 | $$CHILD_BLOCK_END |
| 1467 | $$CHILD_BLOCK_END |
| 1468 | 04:0:0:0 |
| 1469 | $$CHILD_BLOCK_START |
| 1470 | 08:aSoundPlayObject |
| 1471 | $$CHILD_BLOCK_START |
| 1472 | 10:12:1:Sound |
| 1473 | 10:1:2:-1:Object |
| 1474 | 10:9:1.000000:Volume |
| 1475 | $$CHILD_BLOCK_END |
| 1476 | 08:aObjSetShields |
| 1477 | $$CHILD_BLOCK_START |
| 1478 | 10:1:1:-1:Object |
| 1479 | 10:6:50.000000:Shields |
| 1480 | $$CHILD_BLOCK_END |
| 1481 | $$CHILD_BLOCK_END |
| 1482 | $$CHILD_BLOCK_END |
| 1483 | 00:6:SoundSource 1 |
| 1484 | $$CHILD_BLOCK_START |
| 1485 | 01:1:26 |
| 1486 | 02:2 |
| 1487 | 03:0 |
| 1488 | $$CHILD_BLOCK_START |
| 1489 | 05:0 |
| 1490 | $$CHILD_BLOCK_END |
| 1491 | 04:0:0:0 |
| 1492 | $$CHILD_BLOCK_START |
| 1493 | 08:aSoundPlayObject |
| 1494 | $$CHILD_BLOCK_START |
| 1495 | 10:12:2:Sound |
| 1496 | 10:1:2:-1:Object |
| 1497 | 10:9:1.000000:Volume |
| 1498 | $$CHILD_BLOCK_END |
| 1499 | $$CHILD_BLOCK_END |
| 1500 | $$CHILD_BLOCK_END |
| 1501 | 00:7:Level Start Spew Timer |
| 1502 | $$CHILD_BLOCK_START |
| 1503 | 01:2:0 |
| 1504 | 02:6 |
| 1505 | 03:0 |
| 1506 | $$CHILD_BLOCK_START |
| 1507 | 05:0 |
| 1508 | $$CHILD_BLOCK_END |
| 1509 | 04:0:0:0 |
| 1510 | $$CHILD_BLOCK_START |
| 1511 | 08:aSetLevelTimer |
| 1512 | $$CHILD_BLOCK_START |
| 1513 | 10:6:20.000000:Time |
| 1514 | 10:10:0:10:TimerID |
| 1515 | $$CHILD_BLOCK_END |
| 1516 | $$CHILD_BLOCK_END |
| 1517 | $$CHILD_BLOCK_END |
| 1518 | 00:5:Wind Tunnels |
| 1519 | $$CHILD_BLOCK_START |
| 1520 | 01:2:0 |
| 1521 | 02:6 |
| 1522 | 03:0 |
| 1523 | $$CHILD_BLOCK_START |
| 1524 | 05:0 |
| 1525 | $$CHILD_BLOCK_END |
| 1526 | 04:0:0:0 |
| 1527 | $$CHILD_BLOCK_START |
| 1528 | 08:aRoomSetWind |
| 1529 | $$CHILD_BLOCK_START |
| 1530 | 10:2:0:Room |
| 1531 | 10:6:-0.284000:X |
| 1532 | 10:6:-0.592000:Y |
| 1533 | 10:6:-0.753000:Z |
| 1534 | 10:6:33.000000:Speed |
| 1535 | $$CHILD_BLOCK_END |
| 1536 | 08:aRoomSetWind |
| 1537 | $$CHILD_BLOCK_START |
| 1538 | 10:2:1:Room |
| 1539 | 10:6:-0.704000:X |
| 1540 | 10:6:-0.472000:Y |
| 1541 | 10:6:-0.532000:Z |
| 1542 | 10:6:33.000000:Speed |
| 1543 | $$CHILD_BLOCK_END |
| 1544 | 08:aRoomSetWind |
| 1545 | $$CHILD_BLOCK_START |
| 1546 | 10:2:2:Room |
| 1547 | 10:6:0.633000:X |
| 1548 | 10:6:0.619000:Y |
| 1549 | 10:6:0.466000:Z |
| 1550 | 10:6:33.000000:Speed |
| 1551 | $$CHILD_BLOCK_END |
| 1552 | 08:aRoomSetWind |
| 1553 | $$CHILD_BLOCK_START |
| 1554 | 10:2:3:Room |
| 1555 | 10:6:0.283000:X |
| 1556 | 10:6:0.437000:Y |
| 1557 | 10:6:-0.854000:Z |
| 1558 | 10:6:33.000000:Speed |
| 1559 | $$CHILD_BLOCK_END |
| 1560 | 08:aRoomSetWind |
| 1561 | $$CHILD_BLOCK_START |
| 1562 | 10:2:4:Room |
| 1563 | 10:6:0.918000:X |
| 1564 | 10:6:-0.077000:Y |
| 1565 | 10:6:-0.389000:Z |
| 1566 | 10:6:33.000000:Speed |
| 1567 | $$CHILD_BLOCK_END |
| 1568 | 08:aRoomSetWind |
| 1569 | $$CHILD_BLOCK_START |
| 1570 | 10:2:5:Room |
| 1571 | 10:6:-0.087000:X |
| 1572 | 10:6:-0.047000:Y |
| 1573 | 10:6:-0.995000:Z |
| 1574 | 10:6:33.000000:Speed |
| 1575 | $$CHILD_BLOCK_END |
| 1576 | 08:aRoomSetWind |
| 1577 | $$CHILD_BLOCK_START |
| 1578 | 10:2:6:Room |
| 1579 | 10:6:-0.975000:X |
| 1580 | 10:6:-0.006000:Y |
| 1581 | 10:6:-0.219000:Z |
| 1582 | 10:6:33.000000:Speed |
| 1583 | $$CHILD_BLOCK_END |
| 1584 | 08:aRoomSetWind |
| 1585 | $$CHILD_BLOCK_START |
| 1586 | 10:2:7:Room |
| 1587 | 10:6:-0.516000:X |
| 1588 | 10:6:-0.028000:Y |
| 1589 | 10:6:0.856000:Z |
| 1590 | 10:6:33.000000:Speed |
| 1591 | $$CHILD_BLOCK_END |
| 1592 | 08:aRoomSetWind |
| 1593 | $$CHILD_BLOCK_START |
| 1594 | 10:2:8:Room |
| 1595 | 10:6:0.653000:X |
| 1596 | 10:6:-0.065000:Y |
| 1597 | 10:6:0.755000:Z |
| 1598 | 10:6:33.000000:Speed |
| 1599 | $$CHILD_BLOCK_END |
| 1600 | $$CHILD_BLOCK_END |
| 1601 | $$CHILD_BLOCK_END |
| 1602 | |
| 1603 | $$SCRIPT_BLOCK_END |
| 1604 | *********************************************************/ |