| 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: RudeAwakening.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/RudeAwakening.cpp:54:9`! 0x000 |
| 55 | |
| 56 | #define ID_CUSTOM_OBJECT_1017cxx . . $ `scripts/RudeAwakening.cpp:56:9`! 0x001 |
| 57 | #define ID_CUSTOM_OBJECT_101Acxx . . $ `scripts/RudeAwakening.cpp:57:9`! 0x002 |
| 58 | #define ID_CUSTOM_OBJECT_1019cxx . . $ `scripts/RudeAwakening.cpp:58:9`! 0x003 |
| 59 | #define ID_CUSTOM_OBJECT_1016cxx . . $ `scripts/RudeAwakening.cpp:59:9`! 0x004 |
| 60 | #define ID_CUSTOM_OBJECT_1015cxx . . $ `scripts/RudeAwakening.cpp:60:9`! 0x005 |
| 61 | #define ID_CUSTOM_OBJECT_1018cxx . . $ `scripts/RudeAwakening.cpp:61:9`! 0x006 |
| 62 | #define ID_CUSTOM_OBJECT_1813cxx . . $ `scripts/RudeAwakening.cpp:62:9`! 0x007 |
| 63 | #define ID_CUSTOM_OBJECT_1014cxx . . $ `scripts/RudeAwakening.cpp:63:9`! 0x008 |
| 64 | |
| 65 | // ======================== |
| 66 | // Script Class Definitions |
| 67 | // ======================== |
| 68 | |
| 69 | class BaseScriptcxx . . $ BaseScript# { |
| 70 | public: |
| 71 | BaseScriptcxx . . $ BaseScript#BaseScript(49f6e7a06ebc5aa8).(); |
| 72 | ~cxx . . $ BaseScript#`~BaseScript`(ced63f7c635d850d).BaseScriptcxx . . $ BaseScript#(); |
| 73 | virtual int16_t CallEventcxx . . $ BaseScript#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 74 | }; |
| 75 | |
| 76 | class LevelScript_0000cxx . . $ LevelScript_0000# : public BaseScriptcxx . . $ BaseScript# { |
| 77 | public: |
| 78 | int16_t CallEventcxx . . $ LevelScript_0000#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 79 | }; |
| 80 | |
| 81 | class CustomObjectScript_1017cxx . . $ CustomObjectScript_1017# : public BaseScriptcxx . . $ BaseScript# { |
| 82 | public: |
| 83 | int16_t CallEventcxx . . $ CustomObjectScript_1017#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 84 | }; |
| 85 | |
| 86 | class CustomObjectScript_101Acxx . . $ CustomObjectScript_101A# : public BaseScriptcxx . . $ BaseScript# { |
| 87 | public: |
| 88 | int16_t CallEventcxx . . $ CustomObjectScript_101A#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 89 | }; |
| 90 | |
| 91 | class CustomObjectScript_1019cxx . . $ CustomObjectScript_1019# : public BaseScriptcxx . . $ BaseScript# { |
| 92 | public: |
| 93 | int16_t CallEventcxx . . $ CustomObjectScript_1019#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 94 | }; |
| 95 | |
| 96 | class CustomObjectScript_1016cxx . . $ CustomObjectScript_1016# : public BaseScriptcxx . . $ BaseScript# { |
| 97 | public: |
| 98 | int16_t CallEventcxx . . $ CustomObjectScript_1016#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 99 | }; |
| 100 | |
| 101 | class CustomObjectScript_1015cxx . . $ CustomObjectScript_1015# : public BaseScriptcxx . . $ BaseScript# { |
| 102 | public: |
| 103 | int16_t CallEventcxx . . $ CustomObjectScript_1015#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 104 | }; |
| 105 | |
| 106 | class CustomObjectScript_1018cxx . . $ CustomObjectScript_1018# : public BaseScriptcxx . . $ BaseScript# { |
| 107 | public: |
| 108 | int16_t CallEventcxx . . $ CustomObjectScript_1018#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 109 | }; |
| 110 | |
| 111 | class CustomObjectScript_1813cxx . . $ CustomObjectScript_1813# : public BaseScriptcxx . . $ BaseScript# { |
| 112 | public: |
| 113 | int16_t CallEventcxx . . $ CustomObjectScript_1813#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 114 | }; |
| 115 | |
| 116 | class CustomObjectScript_1014cxx . . $ CustomObjectScript_1014# : public BaseScriptcxx . . $ BaseScript# { |
| 117 | public: |
| 118 | int16_t CallEventcxx . . $ CustomObjectScript_1014#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data); |
| 119 | }; |
| 120 | |
| 121 | // ====================== |
| 122 | // Global Action Counters |
| 123 | // ====================== |
| 124 | |
| 125 | #define MAX_ACTION_CTR_VALUEcxx . . $ `scripts/RudeAwakening.cpp:125:9`! 100000 |
| 126 | |
| 127 | int ScriptActionCtr_007cxx . . $ ScriptActionCtr_007. = 0; |
| 128 | int ScriptActionCtr_006cxx . . $ ScriptActionCtr_006. = 0; |
| 129 | int ScriptActionCtr_005cxx . . $ ScriptActionCtr_005. = 0; |
| 130 | int ScriptActionCtr_004cxx . . $ ScriptActionCtr_004. = 0; |
| 131 | int ScriptActionCtr_003cxx . . $ ScriptActionCtr_003. = 0; |
| 132 | int ScriptActionCtr_002cxx . . $ ScriptActionCtr_002. = 0; |
| 133 | int ScriptActionCtr_001cxx . . $ ScriptActionCtr_001. = 0; |
| 134 | int ScriptActionCtr_000cxx . . $ ScriptActionCtr_000. = 0; |
| 135 | int ScriptActionCtr_008cxx . . $ ScriptActionCtr_008. = 0; |
| 136 | |
| 137 | // ======================================== |
| 138 | // Function to Clear Global Action Counters |
| 139 | // ======================================== |
| 140 | void ClearGlobalActionCtrscxx . . $ ClearGlobalActionCtrs(49f6e7a06ebc5aa8).(void) { |
| 141 | ScriptActionCtr_007cxx . . $ ScriptActionCtr_007. = 0; |
| 142 | ScriptActionCtr_006cxx . . $ ScriptActionCtr_006. = 0; |
| 143 | ScriptActionCtr_005cxx . . $ ScriptActionCtr_005. = 0; |
| 144 | ScriptActionCtr_004cxx . . $ ScriptActionCtr_004. = 0; |
| 145 | ScriptActionCtr_003cxx . . $ ScriptActionCtr_003. = 0; |
| 146 | ScriptActionCtr_002cxx . . $ ScriptActionCtr_002. = 0; |
| 147 | ScriptActionCtr_001cxx . . $ ScriptActionCtr_001. = 0; |
| 148 | ScriptActionCtr_000cxx . . $ ScriptActionCtr_000. = 0; |
| 149 | ScriptActionCtr_008cxx . . $ ScriptActionCtr_008. = 0; |
| 150 | } |
| 151 | |
| 152 | // ======================================== |
| 153 | // Function to Save Global Action Counters |
| 154 | // ======================================== |
| 155 | void SaveGlobalActionCtrscxx . . $ SaveGlobalActionCtrs(5d22bdacc48458e8).(void *file_ptr) { |
| 156 | File_WriteIntcxx . . $ File_WriteInt.(ScriptActionCtr_007cxx . . $ ScriptActionCtr_007., file_ptr); |
| 157 | File_WriteIntcxx . . $ File_WriteInt.(ScriptActionCtr_006cxx . . $ ScriptActionCtr_006., file_ptr); |
| 158 | File_WriteIntcxx . . $ File_WriteInt.(ScriptActionCtr_005cxx . . $ ScriptActionCtr_005., file_ptr); |
| 159 | File_WriteIntcxx . . $ File_WriteInt.(ScriptActionCtr_004cxx . . $ ScriptActionCtr_004., file_ptr); |
| 160 | File_WriteIntcxx . . $ File_WriteInt.(ScriptActionCtr_003cxx . . $ ScriptActionCtr_003., file_ptr); |
| 161 | File_WriteIntcxx . . $ File_WriteInt.(ScriptActionCtr_002cxx . . $ ScriptActionCtr_002., file_ptr); |
| 162 | File_WriteIntcxx . . $ File_WriteInt.(ScriptActionCtr_001cxx . . $ ScriptActionCtr_001., file_ptr); |
| 163 | File_WriteIntcxx . . $ File_WriteInt.(ScriptActionCtr_000cxx . . $ ScriptActionCtr_000., file_ptr); |
| 164 | File_WriteIntcxx . . $ File_WriteInt.(ScriptActionCtr_008cxx . . $ ScriptActionCtr_008., file_ptr); |
| 165 | } |
| 166 | |
| 167 | // =========================================== |
| 168 | // Function to Restore Global Action Counters |
| 169 | // =========================================== |
| 170 | void RestoreGlobalActionCtrscxx . . $ RestoreGlobalActionCtrs(5d22bdacc48458e8).(void *file_ptr) { |
| 171 | ScriptActionCtr_007cxx . . $ ScriptActionCtr_007. = File_ReadIntcxx . . $ File_ReadInt.(file_ptr); |
| 172 | ScriptActionCtr_006cxx . . $ ScriptActionCtr_006. = File_ReadIntcxx . . $ File_ReadInt.(file_ptr); |
| 173 | ScriptActionCtr_005cxx . . $ ScriptActionCtr_005. = File_ReadIntcxx . . $ File_ReadInt.(file_ptr); |
| 174 | ScriptActionCtr_004cxx . . $ ScriptActionCtr_004. = File_ReadIntcxx . . $ File_ReadInt.(file_ptr); |
| 175 | ScriptActionCtr_003cxx . . $ ScriptActionCtr_003. = File_ReadIntcxx . . $ File_ReadInt.(file_ptr); |
| 176 | ScriptActionCtr_002cxx . . $ ScriptActionCtr_002. = File_ReadIntcxx . . $ File_ReadInt.(file_ptr); |
| 177 | ScriptActionCtr_001cxx . . $ ScriptActionCtr_001. = File_ReadIntcxx . . $ File_ReadInt.(file_ptr); |
| 178 | ScriptActionCtr_000cxx . . $ ScriptActionCtr_000. = File_ReadIntcxx . . $ File_ReadInt.(file_ptr); |
| 179 | ScriptActionCtr_008cxx . . $ ScriptActionCtr_008. = File_ReadIntcxx . . $ File_ReadInt.(file_ptr); |
| 180 | } |
| 181 | |
| 182 | // =============================================================== |
| 183 | // Start of Custom Script Block - DO NOT EDIT ANYTHING BEFORE THIS |
| 184 | // =============================================================== |
| 185 | /**{CUSTOM_SCRIPT_BLOCK_START}** DO NOT EDIT! **/ |
| 186 | |
| 187 | // Enter your custom script code here |
| 188 | |
| 189 | /**{CUSTOM_SCRIPT_BLOCK_END}**** DO NOT EDIT! **/ |
| 190 | // ============================================================ |
| 191 | // End of Custom Script Block - DO NOT EDIT ANYTHING AFTER THIS |
| 192 | // ============================================================ |
| 193 | |
| 194 | // ================= |
| 195 | // Message File Data |
| 196 | // ================= |
| 197 | |
| 198 | #define MAX_SCRIPT_MESSAGEScxx . . $ `scripts/RudeAwakening.cpp:198:9`! 256 |
| 199 | #define MAX_MSG_FILEBUF_LENcxx . . $ `scripts/RudeAwakening.cpp:199:9`! 1024 |
| 200 | #define NO_MESSAGE_STRINGcxx . . $ `scripts/RudeAwakening.cpp:200:9`! "*Message Not Found*" |
| 201 | #define INV_MSGNAME_STRINGcxx . . $ `scripts/RudeAwakening.cpp:201:9`! "*Message Name Invalid*" |
| 202 | #define WHITESPACE_CHARScxx . . $ `scripts/RudeAwakening.cpp:202:9`! " \t\r\n" |
| 203 | |
| 204 | // Structure for storing a script message |
| 205 | struct tScriptMessagecxx . . $ tScriptMessage# { |
| 206 | char *namecxx . . $ tScriptMessage#name.; // the name of the message |
| 207 | char *messagecxx . . $ tScriptMessage#message.; // the actual message text |
| 208 | }; |
| 209 | |
| 210 | // Global storage for level script messages |
| 211 | tScriptMessagecxx . . $ tScriptMessage# *message_listcxx . . $ message_list.[MAX_SCRIPT_MESSAGEScxx . . $ `scripts/RudeAwakening.cpp:198:9`!]; |
| 212 | int num_messagescxx . . $ num_messages.; |
| 213 | |
| 214 | // ====================== |
| 215 | // Message File Functions |
| 216 | // ====================== |
| 217 | |
| 218 | // Initializes the Message List |
| 219 | void InitMessageListcxx . . $ InitMessageList(49f6e7a06ebc5aa8).(void) { |
| 220 | for (int j = 0; j < MAX_SCRIPT_MESSAGEScxx . . $ `scripts/RudeAwakening.cpp:198:9`!; j++) |
| 221 | message_listcxx . . $ message_list.[j] = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 222 | num_messagescxx . . $ num_messages. = 0; |
| 223 | } |
| 224 | |
| 225 | // Clear the Message List |
| 226 | void ClearMessageListcxx . . $ ClearMessageList(49f6e7a06ebc5aa8).(void) { |
| 227 | for (int j = 0; j < num_messagescxx . . $ num_messages.; j++) { |
| 228 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[j]->namecxx . . $ tScriptMessage#name.); |
| 229 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[j]->messagecxx . . $ tScriptMessage#message.); |
| 230 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[j]); |
| 231 | message_listcxx . . $ message_list.[j] = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 232 | } |
| 233 | num_messagescxx . . $ num_messages. = 0; |
| 234 | } |
| 235 | |
| 236 | // Adds a message to the list |
| 237 | int AddMessageToListcxx . . $ AddMessageToList(e99f026884c896d5).(char *name, char *msg) { |
| 238 | int pos; |
| 239 | |
| 240 | // Make sure there is room in the list |
| 241 | if (num_messagescxx . . $ num_messages. >= MAX_SCRIPT_MESSAGEScxx . . $ `scripts/RudeAwakening.cpp:198:9`!) |
| 242 | return false; |
| 243 | |
| 244 | // Allocate memory for this message entry |
| 245 | pos = num_messagescxx . . $ num_messages.; |
| 246 | message_listcxx . . $ message_list.[pos] = (tScriptMessagecxx . . $ tScriptMessage# *)malloccxx . . $ malloc(9f008b2a9698428b).(sizeof(tScriptMessagecxx . . $ tScriptMessage#)); |
| 247 | if (message_listcxx . . $ message_list.[pos] == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 248 | return false; |
| 249 | |
| 250 | // Allocate memory for the message name |
| 251 | message_listcxx . . $ message_list.[pos]->namecxx . . $ tScriptMessage#name. = (char *)malloccxx . . $ malloc(9f008b2a9698428b).(strlen(name) + 1); |
| 252 | if (message_listcxx . . $ message_list.[pos]->namecxx . . $ tScriptMessage#name. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) { |
| 253 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[pos]); |
| 254 | return false; |
| 255 | } |
| 256 | strcpy(message_listcxx . . $ message_list.[pos]->namecxx . . $ tScriptMessage#name., name); |
| 257 | |
| 258 | // Allocate memory for the message name |
| 259 | message_listcxx . . $ message_list.[pos]->messagecxx . . $ tScriptMessage#message. = (char *)malloccxx . . $ malloc(9f008b2a9698428b).(strlen(msg) + 1); |
| 260 | if (message_listcxx . . $ message_list.[pos]->messagecxx . . $ tScriptMessage#message. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) { |
| 261 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[pos]->namecxx . . $ tScriptMessage#name.); |
| 262 | freecxx . . $ free(bd21765a0afc8e3c).(message_listcxx . . $ message_list.[pos]); |
| 263 | return false; |
| 264 | } |
| 265 | strcpy(message_listcxx . . $ message_list.[pos]->messagecxx . . $ tScriptMessage#message., msg); |
| 266 | num_messagescxx . . $ num_messages.++; |
| 267 | |
| 268 | return true; |
| 269 | } |
| 270 | |
| 271 | // Removes any whitespace padding from the end of a string |
| 272 | void RemoveTrailingWhitespacecxx . . $ RemoveTrailingWhitespace(fda57c8427c60377).(char *s) { |
| 273 | int last_char_pos; |
| 274 | |
| 275 | last_char_pos = strlen(s) - 1; |
| 276 | while (last_char_pos >= 0 && isspace(s[last_char_pos])) { |
| 277 | s[last_char_pos] = '\0'; |
| 278 | last_char_pos--; |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | // Returns a pointer to the first non-whitespace char in given string |
| 283 | char *SkipInitialWhitespacecxx . . $ SkipInitialWhitespace(7a9722d75b371431).(char *s) { |
| 284 | while ((*s) != '\0' && isspace(*s)) |
| 285 | s++; |
| 286 | |
| 287 | return (s); |
| 288 | } |
| 289 | |
| 290 | // Read in the Messages |
| 291 | int ReadMessageFilecxx . . $ ReadMessageFile(5c4306d8553b3696).(const char *filename) { |
| 292 | void *infile; |
| 293 | char filebuffer[MAX_MSG_FILEBUF_LENcxx . . $ `scripts/RudeAwakening.cpp:199:9`! + 1]; |
| 294 | char *line, *msg_start; |
| 295 | int line_num; |
| 296 | bool next_msgid_found; |
| 297 | |
| 298 | // Try to open the file for loading |
| 299 | infile = File_Opencxx . . $ File_Open.(filename, "rt"); |
| 300 | if (!infile) |
| 301 | return false; |
| 302 | |
| 303 | line_num = 0; |
| 304 | next_msgid_found = true; |
| 305 | |
| 306 | // Clear the message list |
| 307 | ClearMessageListcxx . . $ ClearMessageList(49f6e7a06ebc5aa8).(); |
| 308 | |
| 309 | // Read in and parse each line of the file |
| 310 | while (!File_eofcxx . . $ File_eof.(infile)) { |
| 311 | |
| 312 | // Clear the buffer |
| 313 | strcpy(filebuffer, ""); |
| 314 | |
| 315 | // Read in a line from the file |
| 316 | File_ReadStringcxx . . $ File_ReadString.(filebuffer, MAX_MSG_FILEBUF_LENcxx . . $ `scripts/RudeAwakening.cpp:199:9`!, infile); |
| 317 | line_num++; |
| 318 | |
| 319 | // Remove whitespace padding at start and end of line |
| 320 | RemoveTrailingWhitespacecxx . . $ RemoveTrailingWhitespace(fda57c8427c60377).(filebuffer); |
| 321 | line = SkipInitialWhitespacecxx . . $ SkipInitialWhitespace(7a9722d75b371431).(filebuffer); |
| 322 | |
| 323 | // If line is a comment, or empty, discard it |
| 324 | if (strlen(line) == 0 || strncmp(line, "//", 2) == 0) |
| 325 | continue; |
| 326 | |
| 327 | if (!next_msgid_found) { // Parse out the last message ID number |
| 328 | |
| 329 | // Grab the first keyword, make sure it's valid |
| 330 | line = strtok(line, WHITESPACE_CHARScxx . . $ `scripts/RudeAwakening.cpp:202:9`!); |
| 331 | if (line == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 332 | continue; |
| 333 | |
| 334 | // Grab the second keyword, and assign it as the next message ID |
| 335 | line = strtok(NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, WHITESPACE_CHARScxx . . $ `scripts/RudeAwakening.cpp:202:9`!); |
| 336 | if (line == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 337 | continue; |
| 338 | |
| 339 | next_msgid_found = true; |
| 340 | } else { // Parse line as a message line |
| 341 | |
| 342 | // Find the start of message, and mark it |
| 343 | msg_start = strchr(line, '='); |
| 344 | if (msg_start == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 345 | continue; |
| 346 | msg_start[0] = '\0'; |
| 347 | msg_start++; |
| 348 | |
| 349 | // Add the message to the list |
| 350 | AddMessageToListcxx . . $ AddMessageToList(e99f026884c896d5).(line, msg_start); |
| 351 | } |
| 352 | } |
| 353 | File_Closecxx . . $ File_Close.(infile); |
| 354 | |
| 355 | return true; |
| 356 | } |
| 357 | |
| 358 | // Find a message |
| 359 | const char *GetMessagecxx . . $ GetMessage(fb58d2e09a2a1ce6).(const char *name) { |
| 360 | // Make sure given name is valid |
| 361 | if (name == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 362 | return INV_MSGNAME_STRINGcxx . . $ `scripts/RudeAwakening.cpp:201:9`!; |
| 363 | |
| 364 | // Search message list for name |
| 365 | for (int j = 0; j < num_messagescxx . . $ num_messages.; j++) |
| 366 | if (strcmp(message_listcxx . . $ message_list.[j]->namecxx . . $ tScriptMessage#name., name) == 0) |
| 367 | return (message_listcxx . . $ message_list.[j]->messagecxx . . $ tScriptMessage#message.); |
| 368 | |
| 369 | // Couldn't find it |
| 370 | return NO_MESSAGE_STRINGcxx . . $ `scripts/RudeAwakening.cpp:200:9`!; |
| 371 | } |
| 372 | |
| 373 | //====================== |
| 374 | // Name List Arrays |
| 375 | //====================== |
| 376 | |
| 377 | #define NUM_DOOR_NAMEScxx . . $ `scripts/RudeAwakening.cpp:377:9`! 8 |
| 378 | const char *Door_namescxx . . $ Door_names.[NUM_DOOR_NAMEScxx . . $ `scripts/RudeAwakening.cpp:377:9`!] = {"DoorH", "DoorG", "DoorF", "DoorE", "DoorD", "DoorC", "DoorB", "DoorA"}; |
| 379 | int Door_handlescxx . . $ Door_handles.[NUM_DOOR_NAMEScxx . . $ `scripts/RudeAwakening.cpp:377:9`!]; |
| 380 | |
| 381 | #define NUM_OBJECT_NAMEScxx . . $ `scripts/RudeAwakening.cpp:381:9`! 15 |
| 382 | const char *Object_namescxx . . $ Object_names.[NUM_OBJECT_NAMEScxx . . $ `scripts/RudeAwakening.cpp:381:9`!] = {"SwitchH", "SwitchG", "SwitchF", "SwitchE", "SwitchD", |
| 383 | "SwitchC", "SwitchB", "SwitchA", "SewerSoundA", "SewerSoundB", |
| 384 | "SewerSoundC", "EnergySoundA", "EnergySoundB", "RedGoalSound", "BlueGoalSound"}; |
| 385 | int Object_handlescxx . . $ Object_handles.[NUM_OBJECT_NAMEScxx . . $ `scripts/RudeAwakening.cpp:381:9`!]; |
| 386 | |
| 387 | #define NUM_ROOM_NAMEScxx . . $ `scripts/RudeAwakening.cpp:387:9`! 0 |
| 388 | const char **Room_namescxx . . $ Room_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 389 | int *Room_indexescxx . . $ Room_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 390 | |
| 391 | #define NUM_TRIGGER_NAMEScxx . . $ `scripts/RudeAwakening.cpp:391:9`! 0 |
| 392 | const char **Trigger_namescxx . . $ Trigger_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 393 | int *Trigger_indexescxx . . $ Trigger_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 394 | int *Trigger_facescxx . . $ Trigger_faces. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 395 | int *Trigger_roomscxx . . $ Trigger_rooms. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 396 | |
| 397 | #define NUM_SOUND_NAMEScxx . . $ `scripts/RudeAwakening.cpp:397:9`! 5 |
| 398 | const char *Sound_namescxx . . $ Sound_names.[NUM_SOUND_NAMEScxx . . $ `scripts/RudeAwakening.cpp:397:9`!] = {"AmbSwitch21", "AmbSwitch11", "AmbDroneN", "AmbDroneL", "AmbDroneK"}; |
| 399 | int Sound_indexescxx . . $ Sound_indexes.[NUM_SOUND_NAMEScxx . . $ `scripts/RudeAwakening.cpp:397:9`!]; |
| 400 | |
| 401 | #define NUM_TEXTURE_NAMEScxx . . $ `scripts/RudeAwakening.cpp:401:9`! 0 |
| 402 | const char **Texture_namescxx . . $ Texture_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 403 | int *Texture_indexescxx . . $ Texture_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 404 | |
| 405 | #define NUM_PATH_NAMEScxx . . $ `scripts/RudeAwakening.cpp:405:9`! 0 |
| 406 | const char **Path_namescxx . . $ Path_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 407 | int *Path_indexescxx . . $ Path_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 408 | |
| 409 | #define NUM_MATCEN_NAMEScxx . . $ `scripts/RudeAwakening.cpp:409:9`! 0 |
| 410 | const char **Matcen_namescxx . . $ Matcen_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 411 | int *Matcen_indexescxx . . $ Matcen_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 412 | |
| 413 | #define NUM_GOAL_NAMEScxx . . $ `scripts/RudeAwakening.cpp:413:9`! 0 |
| 414 | const char **Goal_namescxx . . $ Goal_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 415 | int *Goal_indexescxx . . $ Goal_indexes. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 416 | |
| 417 | #define NUM_MESSAGE_NAMEScxx . . $ `scripts/RudeAwakening.cpp:417:9`! 0 |
| 418 | const char **Message_namescxx . . $ Message_names. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 419 | const char **Message_stringscxx . . $ Message_strings. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 420 | |
| 421 | // =============== |
| 422 | // InitializeDLL() |
| 423 | // =============== |
| 424 | char STDCALLcxx . . $ `lib/module.h:88:11`! InitializeDLLcxx . . $ InitializeDLL(f9aae224659b2173).(tOSIRISModuleInitcxx . . $ tOSIRISModuleInit# *func_list) { |
| 425 | osicommon_Initializecxx . . $ osicommon_Initialize(5a9437a4d944b175).((tOSIRISModuleInitcxx . . $ tOSIRISModuleInit# *)func_list); |
| 426 | if (func_list->game_checksumcxx . . $ tOSIRISModuleInit#game_checksum. != CHECKSUMcxx . . $ `<built-in>:476:9`!) { |
| 427 | mprintfcxx . . $ mprintf.(0, "Game-Checksum FAIL!!! (%ul!=%ul)\n", func_list->game_checksumcxx . . $ tOSIRISModuleInit#game_checksum., CHECKSUMcxx . . $ `<built-in>:476:9`!); |
| 428 | mprintfcxx . . $ mprintf.(0, "RECOMPILE YOUR SCRIPTS!!!\n"); |
| 429 | return 0; |
| 430 | } |
| 431 | |
| 432 | ClearGlobalActionCtrscxx . . $ ClearGlobalActionCtrs(49f6e7a06ebc5aa8).(); |
| 433 | dfInitcxx . . $ dfInit(49f6e7a06ebc5aa8).(); |
| 434 | InitMessageListcxx . . $ InitMessageList(49f6e7a06ebc5aa8).(); |
| 435 | |
| 436 | // Build the filename of the message file |
| 437 | char filename[_MAX_PATHcxx . . $ `linux/linux_fix.h:34:9`! + 32]; |
| 438 | int lang_type; |
| 439 | if (func_list->script_identifiercxx . . $ tOSIRISModuleInit#script_identifier. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) { |
| 440 | _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`!); |
| 441 | lang_type = Game_GetLanguagecxx . . $ Game_GetLanguage.(); |
| 442 | if (lang_type == LANGUAGE_FRENCHcxx . . $ `scripts/osiris_common.h:416:9`!) |
| 443 | strcat(filename, "_FRN"); |
| 444 | else if (lang_type == LANGUAGE_GERMANcxx . . $ `scripts/osiris_common.h:413:9`!) |
| 445 | strcat(filename, "_GER"); |
| 446 | else if (lang_type == LANGUAGE_ITALIANcxx . . $ `scripts/osiris_common.h:415:9`!) |
| 447 | strcat(filename, "_ITN"); |
| 448 | else if (lang_type == LANGUAGE_SPANISHcxx . . $ `scripts/osiris_common.h:414:9`!) |
| 449 | strcat(filename, "_SPN"); |
| 450 | strcat(filename, ".msg"); |
| 451 | } else { |
| 452 | strcpy(filename, "RudeAwakening.msg"); |
| 453 | lang_type = LANGUAGE_ENGLISHcxx . . $ `scripts/osiris_common.h:412:9`!; |
| 454 | } |
| 455 | if (!ReadMessageFilecxx . . $ ReadMessageFile(5c4306d8553b3696).(filename)) { |
| 456 | mprintfcxx . . $ mprintf.(0, "ERROR: Could not load message file - %s\n", filename); |
| 457 | } |
| 458 | |
| 459 | int j; |
| 460 | |
| 461 | // Do Door Index lookups |
| 462 | for (j = 0; j < NUM_DOOR_NAMEScxx . . $ `scripts/RudeAwakening.cpp:377:9`!; j++) |
| 463 | Door_handlescxx . . $ Door_handles.[j] = Scrpt_FindDoorNamecxx . . $ Scrpt_FindDoorName.(Door_namescxx . . $ Door_names.[j]); |
| 464 | |
| 465 | // Do Object Index lookups |
| 466 | for (j = 0; j < NUM_OBJECT_NAMEScxx . . $ `scripts/RudeAwakening.cpp:381:9`!; j++) |
| 467 | Object_handlescxx . . $ Object_handles.[j] = Scrpt_FindObjectNamecxx . . $ Scrpt_FindObjectName.(Object_namescxx . . $ Object_names.[j]); |
| 468 | |
| 469 | // Do Room Index lookups |
| 470 | for (j = 0; j < NUM_ROOM_NAMEScxx . . $ `scripts/RudeAwakening.cpp:387:9`!; j++) |
| 471 | Room_indexescxx . . $ Room_indexes.[j] = Scrpt_FindRoomNamecxx . . $ Scrpt_FindRoomName.(Room_namescxx . . $ Room_names.[j]); |
| 472 | |
| 473 | // Do Trigger Index lookups |
| 474 | for (j = 0; j < NUM_TRIGGER_NAMEScxx . . $ `scripts/RudeAwakening.cpp:391:9`!; j++) { |
| 475 | Trigger_indexescxx . . $ Trigger_indexes.[j] = Scrpt_FindTriggerNamecxx . . $ Scrpt_FindTriggerName.(Trigger_namescxx . . $ Trigger_names.[j]); |
| 476 | Trigger_facescxx . . $ Trigger_faces.[j] = Scrpt_GetTriggerFacecxx . . $ Scrpt_GetTriggerFace.(Trigger_indexescxx . . $ Trigger_indexes.[j]); |
| 477 | Trigger_roomscxx . . $ Trigger_rooms.[j] = Scrpt_GetTriggerRoomcxx . . $ Scrpt_GetTriggerRoom.(Trigger_indexescxx . . $ Trigger_indexes.[j]); |
| 478 | } |
| 479 | |
| 480 | // Do Sound Index lookups |
| 481 | for (j = 0; j < NUM_SOUND_NAMEScxx . . $ `scripts/RudeAwakening.cpp:397:9`!; j++) |
| 482 | Sound_indexescxx . . $ Sound_indexes.[j] = Scrpt_FindSoundNamecxx . . $ Scrpt_FindSoundName.(Sound_namescxx . . $ Sound_names.[j]); |
| 483 | |
| 484 | // Do Texture Index lookups |
| 485 | for (j = 0; j < NUM_TEXTURE_NAMEScxx . . $ `scripts/RudeAwakening.cpp:401:9`!; j++) |
| 486 | Texture_indexescxx . . $ Texture_indexes.[j] = Scrpt_FindTextureNamecxx . . $ Scrpt_FindTextureName.(Texture_namescxx . . $ Texture_names.[j]); |
| 487 | |
| 488 | // Do Path Index lookups |
| 489 | for (j = 0; j < NUM_PATH_NAMEScxx . . $ `scripts/RudeAwakening.cpp:405:9`!; j++) |
| 490 | Path_indexescxx . . $ Path_indexes.[j] = Scrpt_FindPathNamecxx . . $ Scrpt_FindPathName.(Path_namescxx . . $ Path_names.[j]); |
| 491 | |
| 492 | // Do Matcen Index lookups |
| 493 | for (j = 0; j < NUM_MATCEN_NAMEScxx . . $ `scripts/RudeAwakening.cpp:409:9`!; j++) |
| 494 | Matcen_indexescxx . . $ Matcen_indexes.[j] = Scrpt_FindMatcenNamecxx . . $ Scrpt_FindMatcenName.(Matcen_namescxx . . $ Matcen_names.[j]); |
| 495 | |
| 496 | // Do Goal Index lookups |
| 497 | for (j = 0; j < NUM_GOAL_NAMEScxx . . $ `scripts/RudeAwakening.cpp:413:9`!; j++) |
| 498 | Goal_indexescxx . . $ Goal_indexes.[j] = Scrpt_FindLevelGoalNamecxx . . $ Scrpt_FindLevelGoalName.(Goal_namescxx . . $ Goal_names.[j]); |
| 499 | |
| 500 | // Do Message Name lookups |
| 501 | for (j = 0; j < NUM_MESSAGE_NAMEScxx . . $ `scripts/RudeAwakening.cpp:417:9`!; j++) |
| 502 | Message_stringscxx . . $ Message_strings.[j] = GetMessagecxx . . $ GetMessage(fb58d2e09a2a1ce6).(Message_namescxx . . $ Message_names.[j]); |
| 503 | |
| 504 | return 1; |
| 505 | } |
| 506 | |
| 507 | // ============= |
| 508 | // ShutdownDLL() |
| 509 | // ============= |
| 510 | void STDCALLcxx . . $ `lib/module.h:88:11`! ShutdownDLLcxx . . $ ShutdownDLL(49f6e7a06ebc5aa8).(void) { ClearMessageListcxx . . $ ClearMessageList(49f6e7a06ebc5aa8).(); } |
| 511 | |
| 512 | // =============== |
| 513 | // GetGOScriptID() |
| 514 | // =============== |
| 515 | int STDCALLcxx . . $ `lib/module.h:88:11`! GetGOScriptIDcxx . . $ GetGOScriptID(a2648ab7e2ef960e).(const char *name, uint8_tcxx . . $ uint8_t# isdoor) { return -1; } |
| 516 | |
| 517 | // ================ |
| 518 | // CreateInstance() |
| 519 | // ================ |
| 520 | void STDCALLPTRcxx . . $ `lib/module.h:90:10`! CreateInstancecxx . . $ CreateInstance(d1680a912d714170).(int id) { |
| 521 | switch (id) { |
| 522 | case ID_LEVEL_0000cxx . . $ `scripts/RudeAwakening.cpp:54:9`!: |
| 523 | return new LevelScript_0000cxx . . $ LevelScript_0000#; |
| 524 | break; |
| 525 | case ID_CUSTOM_OBJECT_1017cxx . . $ `scripts/RudeAwakening.cpp:56:9`!: |
| 526 | return new CustomObjectScript_1017cxx . . $ CustomObjectScript_1017#; |
| 527 | break; |
| 528 | case ID_CUSTOM_OBJECT_101Acxx . . $ `scripts/RudeAwakening.cpp:57:9`!: |
| 529 | return new CustomObjectScript_101Acxx . . $ CustomObjectScript_101A#; |
| 530 | break; |
| 531 | case ID_CUSTOM_OBJECT_1019cxx . . $ `scripts/RudeAwakening.cpp:58:9`!: |
| 532 | return new CustomObjectScript_1019cxx . . $ CustomObjectScript_1019#; |
| 533 | break; |
| 534 | case ID_CUSTOM_OBJECT_1016cxx . . $ `scripts/RudeAwakening.cpp:59:9`!: |
| 535 | return new CustomObjectScript_1016cxx . . $ CustomObjectScript_1016#; |
| 536 | break; |
| 537 | case ID_CUSTOM_OBJECT_1015cxx . . $ `scripts/RudeAwakening.cpp:60:9`!: |
| 538 | return new CustomObjectScript_1015cxx . . $ CustomObjectScript_1015#; |
| 539 | break; |
| 540 | case ID_CUSTOM_OBJECT_1018cxx . . $ `scripts/RudeAwakening.cpp:61:9`!: |
| 541 | return new CustomObjectScript_1018cxx . . $ CustomObjectScript_1018#; |
| 542 | break; |
| 543 | case ID_CUSTOM_OBJECT_1813cxx . . $ `scripts/RudeAwakening.cpp:62:9`!: |
| 544 | return new CustomObjectScript_1813cxx . . $ CustomObjectScript_1813#; |
| 545 | break; |
| 546 | case ID_CUSTOM_OBJECT_1014cxx . . $ `scripts/RudeAwakening.cpp:63:9`!: |
| 547 | return new CustomObjectScript_1014cxx . . $ CustomObjectScript_1014#; |
| 548 | break; |
| 549 | default: |
| 550 | mprintfcxx . . $ mprintf.(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 551 | break; |
| 552 | } |
| 553 | return NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 554 | } |
| 555 | |
| 556 | // ================= |
| 557 | // DestroyInstance() |
| 558 | // ================= |
| 559 | void STDCALLcxx . . $ `lib/module.h:88:11`! DestroyInstancecxx . . $ DestroyInstance(6ca3d68f5c5f0975).(int id, void *ptr) { |
| 560 | switch (id) { |
| 561 | case ID_LEVEL_0000cxx . . $ `scripts/RudeAwakening.cpp:54:9`!: |
| 562 | delete ((LevelScript_0000cxx . . $ LevelScript_0000# *)ptr); |
| 563 | break; |
| 564 | case ID_CUSTOM_OBJECT_1017cxx . . $ `scripts/RudeAwakening.cpp:56:9`!: |
| 565 | delete ((CustomObjectScript_1017cxx . . $ CustomObjectScript_1017# *)ptr); |
| 566 | break; |
| 567 | case ID_CUSTOM_OBJECT_101Acxx . . $ `scripts/RudeAwakening.cpp:57:9`!: |
| 568 | delete ((CustomObjectScript_101Acxx . . $ CustomObjectScript_101A# *)ptr); |
| 569 | break; |
| 570 | case ID_CUSTOM_OBJECT_1019cxx . . $ `scripts/RudeAwakening.cpp:58:9`!: |
| 571 | delete ((CustomObjectScript_1019cxx . . $ CustomObjectScript_1019# *)ptr); |
| 572 | break; |
| 573 | case ID_CUSTOM_OBJECT_1016cxx . . $ `scripts/RudeAwakening.cpp:59:9`!: |
| 574 | delete ((CustomObjectScript_1016cxx . . $ CustomObjectScript_1016# *)ptr); |
| 575 | break; |
| 576 | case ID_CUSTOM_OBJECT_1015cxx . . $ `scripts/RudeAwakening.cpp:60:9`!: |
| 577 | delete ((CustomObjectScript_1015cxx . . $ CustomObjectScript_1015# *)ptr); |
| 578 | break; |
| 579 | case ID_CUSTOM_OBJECT_1018cxx . . $ `scripts/RudeAwakening.cpp:61:9`!: |
| 580 | delete ((CustomObjectScript_1018cxx . . $ CustomObjectScript_1018# *)ptr); |
| 581 | break; |
| 582 | case ID_CUSTOM_OBJECT_1813cxx . . $ `scripts/RudeAwakening.cpp:62:9`!: |
| 583 | delete ((CustomObjectScript_1813cxx . . $ CustomObjectScript_1813# *)ptr); |
| 584 | break; |
| 585 | case ID_CUSTOM_OBJECT_1014cxx . . $ `scripts/RudeAwakening.cpp:63:9`!: |
| 586 | delete ((CustomObjectScript_1014cxx . . $ CustomObjectScript_1014# *)ptr); |
| 587 | break; |
| 588 | default: |
| 589 | mprintfcxx . . $ mprintf.(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 590 | break; |
| 591 | } |
| 592 | } |
| 593 | |
| 594 | // =================== |
| 595 | // CallInstanceEvent() |
| 596 | // =================== |
| 597 | int16_t STDCALLcxx . . $ `lib/module.h:88:11`! CallInstanceEventcxx . . $ CallInstanceEvent(79be2a5a01598f29).(int id, void *ptr, int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 598 | switch (id) { |
| 599 | case ID_LEVEL_0000cxx . . $ `scripts/RudeAwakening.cpp:54:9`!: |
| 600 | case ID_CUSTOM_OBJECT_1017cxx . . $ `scripts/RudeAwakening.cpp:56:9`!: |
| 601 | case ID_CUSTOM_OBJECT_101Acxx . . $ `scripts/RudeAwakening.cpp:57:9`!: |
| 602 | case ID_CUSTOM_OBJECT_1019cxx . . $ `scripts/RudeAwakening.cpp:58:9`!: |
| 603 | case ID_CUSTOM_OBJECT_1016cxx . . $ `scripts/RudeAwakening.cpp:59:9`!: |
| 604 | case ID_CUSTOM_OBJECT_1015cxx . . $ `scripts/RudeAwakening.cpp:60:9`!: |
| 605 | case ID_CUSTOM_OBJECT_1018cxx . . $ `scripts/RudeAwakening.cpp:61:9`!: |
| 606 | case ID_CUSTOM_OBJECT_1813cxx . . $ `scripts/RudeAwakening.cpp:62:9`!: |
| 607 | case ID_CUSTOM_OBJECT_1014cxx . . $ `scripts/RudeAwakening.cpp:63:9`!: |
| 608 | return ((BaseScriptcxx . . $ BaseScript# *)ptr)->CallEventcxx . . $ BaseScript#CallEvent(585a6502c7945bab).(event, data); |
| 609 | break; |
| 610 | default: |
| 611 | mprintfcxx . . $ mprintf.(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 612 | break; |
| 613 | } |
| 614 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 615 | } |
| 616 | |
| 617 | // ================== |
| 618 | // SaveRestoreState() |
| 619 | // ================== |
| 620 | int STDCALLcxx . . $ `lib/module.h:88:11`! SaveRestoreStatecxx . . $ SaveRestoreState(5276b51c10b71c09).(void *file_ptr, uint8_tcxx . . $ uint8_t# saving_state) { return 0; } |
| 621 | |
| 622 | // ==================== |
| 623 | // GetTriggerScriptID() |
| 624 | // ==================== |
| 625 | int STDCALLcxx . . $ `lib/module.h:88:11`! GetTriggerScriptIDcxx . . $ GetTriggerScriptID(9b79fb6aee4c0440).(int trigger_room, int trigger_face) { return -1; } |
| 626 | |
| 627 | // ================= |
| 628 | // GetCOScriptList() |
| 629 | // ================= |
| 630 | int STDCALLcxx . . $ `lib/module.h:88:11`! GetCOScriptListcxx . . $ GetCOScriptList(4454eefbcea844d6).(int **list, int **id_list) { |
| 631 | static int cust_handle_list[8]; |
| 632 | static int cust_id_list[8] = {ID_CUSTOM_OBJECT_1017cxx . . $ `scripts/RudeAwakening.cpp:56:9`!, ID_CUSTOM_OBJECT_101Acxx . . $ `scripts/RudeAwakening.cpp:57:9`!, ID_CUSTOM_OBJECT_1019cxx . . $ `scripts/RudeAwakening.cpp:58:9`!, |
| 633 | ID_CUSTOM_OBJECT_1016cxx . . $ `scripts/RudeAwakening.cpp:59:9`!, ID_CUSTOM_OBJECT_1015cxx . . $ `scripts/RudeAwakening.cpp:60:9`!, ID_CUSTOM_OBJECT_1018cxx . . $ `scripts/RudeAwakening.cpp:61:9`!, |
| 634 | ID_CUSTOM_OBJECT_1813cxx . . $ `scripts/RudeAwakening.cpp:62:9`!, ID_CUSTOM_OBJECT_1014cxx . . $ `scripts/RudeAwakening.cpp:63:9`!}; |
| 635 | |
| 636 | // Fill in the custom handle list |
| 637 | cust_handle_list[0] = Object_handlescxx . . $ Object_handles.[0]; |
| 638 | cust_handle_list[1] = Object_handlescxx . . $ Object_handles.[1]; |
| 639 | cust_handle_list[2] = Object_handlescxx . . $ Object_handles.[2]; |
| 640 | cust_handle_list[3] = Object_handlescxx . . $ Object_handles.[3]; |
| 641 | cust_handle_list[4] = Object_handlescxx . . $ Object_handles.[4]; |
| 642 | cust_handle_list[5] = Object_handlescxx . . $ Object_handles.[5]; |
| 643 | cust_handle_list[6] = Object_handlescxx . . $ Object_handles.[6]; |
| 644 | cust_handle_list[7] = Object_handlescxx . . $ Object_handles.[7]; |
| 645 | |
| 646 | *list = cust_handle_list; |
| 647 | *id_list = cust_id_list; |
| 648 | |
| 649 | return 8; |
| 650 | } |
| 651 | |
| 652 | //======================= |
| 653 | // Script Implementation |
| 654 | //======================= |
| 655 | |
| 656 | BaseScriptcxx . . $ BaseScript#::BaseScriptcxx . . $ BaseScript#BaseScript(49f6e7a06ebc5aa8).() {} |
| 657 | |
| 658 | BaseScriptcxx . . $ BaseScript#::~cxx . . $ BaseScript#`~BaseScript`(ced63f7c635d850d).BaseScriptcxx . . $ BaseScript#() {} |
| 659 | |
| 660 | int16_t BaseScriptcxx . . $ BaseScript#::CallEventcxx . . $ BaseScript#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 661 | mprintfcxx . . $ mprintf.(0, "BaseScript::CallEvent()\n"); |
| 662 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 663 | } |
| 664 | |
| 665 | int16_t LevelScript_0000cxx . . $ LevelScript_0000#::CallEventcxx . . $ LevelScript_0000#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 666 | switch (event) { |
| 667 | case EVT_SAVESTATEcxx . . $ `scripts/osiris_common.h:376:9`!: { |
| 668 | tOSIRISEVTSAVESTATEcxx . . $ tOSIRISEVTSAVESTATE# *event_data = &data->evt_savestatecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_savestate.; |
| 669 | |
| 670 | SaveGlobalActionCtrscxx . . $ SaveGlobalActionCtrs(5d22bdacc48458e8).(event_data->fileptrcxx . . $ tOSIRISEVTSAVESTATE#fileptr.); |
| 671 | dfSavecxx . . $ dfSave(5d22bdacc48458e8).(event_data->fileptrcxx . . $ tOSIRISEVTSAVESTATE#fileptr.); |
| 672 | #ifdef ENABLE_CUSTOM_SAVE_AND_RESTORE |
| 673 | dsCustomSave(event_data->fileptr); |
| 674 | #endif |
| 675 | } break; |
| 676 | case EVT_RESTORESTATEcxx . . $ `scripts/osiris_common.h:377:9`!: { |
| 677 | tOSIRISEVTRESTORESTATEcxx . . $ tOSIRISEVTRESTORESTATE# *event_data = &data->evt_restorestatecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_restorestate.; |
| 678 | |
| 679 | RestoreGlobalActionCtrscxx . . $ RestoreGlobalActionCtrs(5d22bdacc48458e8).(event_data->fileptrcxx . . $ tOSIRISEVTRESTORESTATE#fileptr.); |
| 680 | dfRestorecxx . . $ dfRestore(5d22bdacc48458e8).(event_data->fileptrcxx . . $ tOSIRISEVTRESTORESTATE#fileptr.); |
| 681 | #ifdef ENABLE_CUSTOM_SAVE_AND_RESTORE |
| 682 | dsCustomRestore(event_data->fileptr); |
| 683 | #endif |
| 684 | } break; |
| 685 | case EVT_LEVELSTARTcxx . . $ `scripts/osiris_common.h:373:9`!: { |
| 686 | tOSIRISEVTLEVELSTARTcxx . . $ tOSIRISEVTLEVELSTART# *event_data = &data->evt_levelstartcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_levelstart.; |
| 687 | |
| 688 | ClearGlobalActionCtrscxx . . $ ClearGlobalActionCtrs(49f6e7a06ebc5aa8).(); |
| 689 | dfInitcxx . . $ dfInit(49f6e7a06ebc5aa8).(); |
| 690 | |
| 691 | // Script 008: Room Sounds Start |
| 692 | if (1) { |
| 693 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[2], Object_handlescxx . . $ Object_handles.[8], 1.000000f); |
| 694 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[2], Object_handlescxx . . $ Object_handles.[9], 1.000000f); |
| 695 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[2], Object_handlescxx . . $ Object_handles.[10], 1.000000f); |
| 696 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[3], Object_handlescxx . . $ Object_handles.[11], 1.000000f); |
| 697 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[3], Object_handlescxx . . $ Object_handles.[12], 1.000000f); |
| 698 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[4], Object_handlescxx . . $ Object_handles.[13], 1.000000f); |
| 699 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[4], Object_handlescxx . . $ Object_handles.[14], 1.000000f); |
| 700 | |
| 701 | // Increment the script action counter |
| 702 | if (ScriptActionCtr_008cxx . . $ ScriptActionCtr_008. < MAX_ACTION_CTR_VALUEcxx . . $ `scripts/RudeAwakening.cpp:125:9`!) |
| 703 | ScriptActionCtr_008cxx . . $ ScriptActionCtr_008.++; |
| 704 | } |
| 705 | } break; |
| 706 | } |
| 707 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 708 | } |
| 709 | |
| 710 | int16_t CustomObjectScript_1017cxx . . $ CustomObjectScript_1017#::CallEventcxx . . $ CustomObjectScript_1017#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 711 | switch (event) { |
| 712 | case EVT_COLLIDEcxx . . $ `scripts/osiris_common.h:366:9`!: { |
| 713 | tOSIRISEVTCOLLIDEcxx . . $ tOSIRISEVTCOLLIDE# *event_data = &data->evt_collidecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_collide.; |
| 714 | |
| 715 | // Script 007: Door H Switch |
| 716 | if (qObjIsPlayerWeaponcxx . . $ qObjIsPlayerWeapon(83c267b20bac841a).(event_data->it_handlecxx . . $ tOSIRISEVTCOLLIDE#it_handle.) == true) { |
| 717 | if (qUserFlagcxx . . $ qUserFlag(83c267b20bac841a).(7) == false) { |
| 718 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(1, Door_handlescxx . . $ Door_handles.[0]); |
| 719 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[0], 0, 1, 1.000000f, 0); |
| 720 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(7, 1); |
| 721 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[0], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 722 | } else { |
| 723 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(0, Door_handlescxx . . $ Door_handles.[0]); |
| 724 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[0], 1, 2, 1.000000f, 0); |
| 725 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(7, 0); |
| 726 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[1], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 727 | } |
| 728 | |
| 729 | // Increment the script action counter |
| 730 | if (ScriptActionCtr_007cxx . . $ ScriptActionCtr_007. < MAX_ACTION_CTR_VALUEcxx . . $ `scripts/RudeAwakening.cpp:125:9`!) |
| 731 | ScriptActionCtr_007cxx . . $ ScriptActionCtr_007.++; |
| 732 | } |
| 733 | } break; |
| 734 | } |
| 735 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 736 | } |
| 737 | |
| 738 | int16_t CustomObjectScript_101Acxx . . $ CustomObjectScript_101A#::CallEventcxx . . $ CustomObjectScript_101A#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 739 | switch (event) { |
| 740 | case EVT_COLLIDEcxx . . $ `scripts/osiris_common.h:366:9`!: { |
| 741 | tOSIRISEVTCOLLIDEcxx . . $ tOSIRISEVTCOLLIDE# *event_data = &data->evt_collidecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_collide.; |
| 742 | |
| 743 | // Script 006: Door G Switch |
| 744 | if (qObjIsPlayerWeaponcxx . . $ qObjIsPlayerWeapon(83c267b20bac841a).(event_data->it_handlecxx . . $ tOSIRISEVTCOLLIDE#it_handle.) == true) { |
| 745 | if (qUserFlagcxx . . $ qUserFlag(83c267b20bac841a).(6) == false) { |
| 746 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(1, Door_handlescxx . . $ Door_handles.[1]); |
| 747 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[1], 0, 1, 1.000000f, 0); |
| 748 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(6, 1); |
| 749 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[0], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 750 | } else { |
| 751 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(0, Door_handlescxx . . $ Door_handles.[1]); |
| 752 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[1], 1, 2, 1.000000f, 0); |
| 753 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(6, 0); |
| 754 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[1], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 755 | } |
| 756 | |
| 757 | // Increment the script action counter |
| 758 | if (ScriptActionCtr_006cxx . . $ ScriptActionCtr_006. < MAX_ACTION_CTR_VALUEcxx . . $ `scripts/RudeAwakening.cpp:125:9`!) |
| 759 | ScriptActionCtr_006cxx . . $ ScriptActionCtr_006.++; |
| 760 | } |
| 761 | } break; |
| 762 | } |
| 763 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 764 | } |
| 765 | |
| 766 | int16_t CustomObjectScript_1019cxx . . $ CustomObjectScript_1019#::CallEventcxx . . $ CustomObjectScript_1019#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 767 | switch (event) { |
| 768 | case EVT_COLLIDEcxx . . $ `scripts/osiris_common.h:366:9`!: { |
| 769 | tOSIRISEVTCOLLIDEcxx . . $ tOSIRISEVTCOLLIDE# *event_data = &data->evt_collidecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_collide.; |
| 770 | |
| 771 | // Script 005: Door F Switch |
| 772 | if (qObjIsPlayerWeaponcxx . . $ qObjIsPlayerWeapon(83c267b20bac841a).(event_data->it_handlecxx . . $ tOSIRISEVTCOLLIDE#it_handle.) == true) { |
| 773 | if (qUserFlagcxx . . $ qUserFlag(83c267b20bac841a).(5) == false) { |
| 774 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(1, Door_handlescxx . . $ Door_handles.[2]); |
| 775 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[2], 0, 1, 1.000000f, 0); |
| 776 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(5, 1); |
| 777 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[0], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 778 | } else { |
| 779 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(0, Door_handlescxx . . $ Door_handles.[2]); |
| 780 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[2], 1, 2, 1.000000f, 0); |
| 781 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(5, 0); |
| 782 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[1], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 783 | } |
| 784 | |
| 785 | // Increment the script action counter |
| 786 | if (ScriptActionCtr_005cxx . . $ ScriptActionCtr_005. < MAX_ACTION_CTR_VALUEcxx . . $ `scripts/RudeAwakening.cpp:125:9`!) |
| 787 | ScriptActionCtr_005cxx . . $ ScriptActionCtr_005.++; |
| 788 | } |
| 789 | } break; |
| 790 | } |
| 791 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 792 | } |
| 793 | |
| 794 | int16_t CustomObjectScript_1016cxx . . $ CustomObjectScript_1016#::CallEventcxx . . $ CustomObjectScript_1016#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 795 | switch (event) { |
| 796 | case EVT_COLLIDEcxx . . $ `scripts/osiris_common.h:366:9`!: { |
| 797 | tOSIRISEVTCOLLIDEcxx . . $ tOSIRISEVTCOLLIDE# *event_data = &data->evt_collidecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_collide.; |
| 798 | |
| 799 | // Script 004: Door E Switch |
| 800 | if (qObjIsPlayerWeaponcxx . . $ qObjIsPlayerWeapon(83c267b20bac841a).(event_data->it_handlecxx . . $ tOSIRISEVTCOLLIDE#it_handle.) == true) { |
| 801 | if (qUserFlagcxx . . $ qUserFlag(83c267b20bac841a).(4) == false) { |
| 802 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(1, Door_handlescxx . . $ Door_handles.[3]); |
| 803 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[3], 0, 1, 1.000000f, 0); |
| 804 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(4, 1); |
| 805 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[0], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 806 | } else { |
| 807 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(0, Door_handlescxx . . $ Door_handles.[3]); |
| 808 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[3], 1, 2, 1.000000f, 0); |
| 809 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(4, 0); |
| 810 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[1], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 811 | } |
| 812 | |
| 813 | // Increment the script action counter |
| 814 | if (ScriptActionCtr_004cxx . . $ ScriptActionCtr_004. < MAX_ACTION_CTR_VALUEcxx . . $ `scripts/RudeAwakening.cpp:125:9`!) |
| 815 | ScriptActionCtr_004cxx . . $ ScriptActionCtr_004.++; |
| 816 | } |
| 817 | } break; |
| 818 | } |
| 819 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 820 | } |
| 821 | |
| 822 | int16_t CustomObjectScript_1015cxx . . $ CustomObjectScript_1015#::CallEventcxx . . $ CustomObjectScript_1015#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 823 | switch (event) { |
| 824 | case EVT_COLLIDEcxx . . $ `scripts/osiris_common.h:366:9`!: { |
| 825 | tOSIRISEVTCOLLIDEcxx . . $ tOSIRISEVTCOLLIDE# *event_data = &data->evt_collidecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_collide.; |
| 826 | |
| 827 | // Script 003: Door D Switch |
| 828 | if (qObjIsPlayerWeaponcxx . . $ qObjIsPlayerWeapon(83c267b20bac841a).(event_data->it_handlecxx . . $ tOSIRISEVTCOLLIDE#it_handle.) == true) { |
| 829 | if (qUserFlagcxx . . $ qUserFlag(83c267b20bac841a).(3) == false) { |
| 830 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(1, Door_handlescxx . . $ Door_handles.[4]); |
| 831 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[4], 0, 1, 1.000000f, 0); |
| 832 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(3, 1); |
| 833 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[0], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 834 | } else { |
| 835 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(0, Door_handlescxx . . $ Door_handles.[4]); |
| 836 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[4], 1, 2, 1.000000f, 0); |
| 837 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(3, 0); |
| 838 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[1], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 839 | } |
| 840 | |
| 841 | // Increment the script action counter |
| 842 | if (ScriptActionCtr_003cxx . . $ ScriptActionCtr_003. < MAX_ACTION_CTR_VALUEcxx . . $ `scripts/RudeAwakening.cpp:125:9`!) |
| 843 | ScriptActionCtr_003cxx . . $ ScriptActionCtr_003.++; |
| 844 | } |
| 845 | } break; |
| 846 | } |
| 847 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 848 | } |
| 849 | |
| 850 | int16_t CustomObjectScript_1018cxx . . $ CustomObjectScript_1018#::CallEventcxx . . $ CustomObjectScript_1018#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 851 | switch (event) { |
| 852 | case EVT_COLLIDEcxx . . $ `scripts/osiris_common.h:366:9`!: { |
| 853 | tOSIRISEVTCOLLIDEcxx . . $ tOSIRISEVTCOLLIDE# *event_data = &data->evt_collidecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_collide.; |
| 854 | |
| 855 | // Script 002: Door C Switch |
| 856 | if (qObjIsPlayerWeaponcxx . . $ qObjIsPlayerWeapon(83c267b20bac841a).(event_data->it_handlecxx . . $ tOSIRISEVTCOLLIDE#it_handle.) == true) { |
| 857 | if (qUserFlagcxx . . $ qUserFlag(83c267b20bac841a).(2) == false) { |
| 858 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(1, Door_handlescxx . . $ Door_handles.[5]); |
| 859 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[5], 0, 1, 1.000000f, 0); |
| 860 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(2, 1); |
| 861 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[0], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 862 | } else { |
| 863 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(0, Door_handlescxx . . $ Door_handles.[5]); |
| 864 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[5], 1, 2, 1.000000f, 0); |
| 865 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(2, 0); |
| 866 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[1], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 867 | } |
| 868 | |
| 869 | // Increment the script action counter |
| 870 | if (ScriptActionCtr_002cxx . . $ ScriptActionCtr_002. < MAX_ACTION_CTR_VALUEcxx . . $ `scripts/RudeAwakening.cpp:125:9`!) |
| 871 | ScriptActionCtr_002cxx . . $ ScriptActionCtr_002.++; |
| 872 | } |
| 873 | } break; |
| 874 | } |
| 875 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 876 | } |
| 877 | |
| 878 | int16_t CustomObjectScript_1813cxx . . $ CustomObjectScript_1813#::CallEventcxx . . $ CustomObjectScript_1813#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 879 | switch (event) { |
| 880 | case EVT_COLLIDEcxx . . $ `scripts/osiris_common.h:366:9`!: { |
| 881 | tOSIRISEVTCOLLIDEcxx . . $ tOSIRISEVTCOLLIDE# *event_data = &data->evt_collidecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_collide.; |
| 882 | |
| 883 | // Script 001: Door B Switch |
| 884 | if (qObjIsPlayerWeaponcxx . . $ qObjIsPlayerWeapon(83c267b20bac841a).(event_data->it_handlecxx . . $ tOSIRISEVTCOLLIDE#it_handle.) == true) { |
| 885 | if (qUserFlagcxx . . $ qUserFlag(83c267b20bac841a).(1) == false) { |
| 886 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(1, Door_handlescxx . . $ Door_handles.[6]); |
| 887 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[6], 0, 1, 1.000000f, 0); |
| 888 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(1, 1); |
| 889 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[0], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 890 | } else { |
| 891 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(0, Door_handlescxx . . $ Door_handles.[6]); |
| 892 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[6], 1, 2, 1.000000f, 0); |
| 893 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(1, 0); |
| 894 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[1], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 895 | } |
| 896 | |
| 897 | // Increment the script action counter |
| 898 | if (ScriptActionCtr_001cxx . . $ ScriptActionCtr_001. < MAX_ACTION_CTR_VALUEcxx . . $ `scripts/RudeAwakening.cpp:125:9`!) |
| 899 | ScriptActionCtr_001cxx . . $ ScriptActionCtr_001.++; |
| 900 | } |
| 901 | } break; |
| 902 | } |
| 903 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 904 | } |
| 905 | |
| 906 | int16_t CustomObjectScript_1014cxx . . $ CustomObjectScript_1014#::CallEventcxx . . $ CustomObjectScript_1014#CallEvent(585a6502c7945bab).(int event, tOSIRISEventInfocxx . . $ tOSIRISEventInfo# *data) { |
| 907 | switch (event) { |
| 908 | case EVT_COLLIDEcxx . . $ `scripts/osiris_common.h:366:9`!: { |
| 909 | tOSIRISEVTCOLLIDEcxx . . $ tOSIRISEVTCOLLIDE# *event_data = &data->evt_collidecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_collide.; |
| 910 | |
| 911 | // Script 000: Door A Switch |
| 912 | if (qObjIsPlayerWeaponcxx . . $ qObjIsPlayerWeapon(83c267b20bac841a).(event_data->it_handlecxx . . $ tOSIRISEVTCOLLIDE#it_handle.) == true) { |
| 913 | if (qUserFlagcxx . . $ qUserFlag(83c267b20bac841a).(0) == false) { |
| 914 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(1, Door_handlescxx . . $ Door_handles.[7]); |
| 915 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[7], 0, 1, 1.000000f, 0); |
| 916 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(0, 1); |
| 917 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[0], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 918 | } else { |
| 919 | aDoorLockUnlockcxx . . $ aDoorLockUnlock(3e454b8ccf442868).(0, Door_handlescxx . . $ Door_handles.[7]); |
| 920 | aObjPlayAnimcxx . . $ aObjPlayAnim(db8fec34dcd7c607).(Object_handlescxx . . $ Object_handles.[7], 1, 2, 1.000000f, 0); |
| 921 | aUserFlagSetcxx . . $ aUserFlagSet(918ebd27a9ddbad3).(0, 0); |
| 922 | aSoundPlayObjectcxx . . $ aSoundPlayObject(c2f439e40e2f19ed).(Sound_indexescxx . . $ Sound_indexes.[1], data->me_handlecxx . . $ tOSIRISEventInfo#me_handle., 1.000000f); |
| 923 | } |
| 924 | |
| 925 | // Increment the script action counter |
| 926 | if (ScriptActionCtr_000cxx . . $ ScriptActionCtr_000. < MAX_ACTION_CTR_VALUEcxx . . $ `scripts/RudeAwakening.cpp:125:9`!) |
| 927 | ScriptActionCtr_000cxx . . $ ScriptActionCtr_000.++; |
| 928 | } |
| 929 | } break; |
| 930 | } |
| 931 | return CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! | CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`!; |
| 932 | } |
| 933 | |
| 934 | /********************************************************* |
| 935 | Script Save Block: DO NOT TOUCH ANYTHING IN THIS BLOCK!!! |
| 936 | ********************************************************** |
| 937 | $$SCRIPT_BLOCK_START |
| 938 | |
| 939 | VERSION 3 |
| 940 | NEXT_ID 10 |
| 941 | |
| 942 | // UserType value blocks |
| 943 | $$UTYPE_VALS_START UserVar |
| 944 | $$UTYPE_VALS_END |
| 945 | |
| 946 | $$UTYPE_VALS_START UserFlag |
| 947 | 0:DoorALOCKED |
| 948 | 1:DoorBLOCKED |
| 949 | 2:DoorCLOCKED |
| 950 | 3:DoorDLOCKED |
| 951 | 4:DoorELOCKED |
| 952 | 5:DoorFLOCKED |
| 953 | 6:DoorGLOCKED |
| 954 | 7:DoorHLOCKED |
| 955 | $$UTYPE_VALS_END |
| 956 | |
| 957 | $$UTYPE_VALS_START SpewHandle |
| 958 | $$UTYPE_VALS_END |
| 959 | |
| 960 | $$UTYPE_VALS_START TimerID |
| 961 | $$UTYPE_VALS_END |
| 962 | |
| 963 | $$UTYPE_VALS_START SavedObjectSlot |
| 964 | $$UTYPE_VALS_END |
| 965 | |
| 966 | $$UTYPE_VALS_START GoalID |
| 967 | $$UTYPE_VALS_END |
| 968 | |
| 969 | |
| 970 | // Name Lists |
| 971 | $$DOOR_LIST_START |
| 972 | DoorH |
| 973 | DoorG |
| 974 | DoorF |
| 975 | DoorE |
| 976 | DoorD |
| 977 | DoorC |
| 978 | DoorB |
| 979 | DoorA |
| 980 | $$DOOR_LIST_END |
| 981 | |
| 982 | $$OBJECT_LIST_START |
| 983 | SwitchH |
| 984 | SwitchG |
| 985 | SwitchF |
| 986 | SwitchE |
| 987 | SwitchD |
| 988 | SwitchC |
| 989 | SwitchB |
| 990 | SwitchA |
| 991 | SewerSoundA |
| 992 | SewerSoundB |
| 993 | SewerSoundC |
| 994 | EnergySoundA |
| 995 | EnergySoundB |
| 996 | RedGoalSound |
| 997 | BlueGoalSound |
| 998 | $$OBJECT_LIST_END |
| 999 | |
| 1000 | $$ROOM_LIST_START |
| 1001 | $$ROOM_LIST_END |
| 1002 | |
| 1003 | $$TRIGGER_LIST_START |
| 1004 | $$TRIGGER_LIST_END |
| 1005 | |
| 1006 | $$SOUND_LIST_START |
| 1007 | AmbSwitch21 |
| 1008 | AmbSwitch11 |
| 1009 | AmbDroneN |
| 1010 | AmbDroneL |
| 1011 | AmbDroneK |
| 1012 | $$SOUND_LIST_END |
| 1013 | |
| 1014 | $$TEXTURE_LIST_START |
| 1015 | $$TEXTURE_LIST_END |
| 1016 | |
| 1017 | $$SPECNAME_LIST_START |
| 1018 | $$SPECNAME_LIST_END |
| 1019 | |
| 1020 | $$PATH_LIST_START |
| 1021 | $$PATH_LIST_END |
| 1022 | |
| 1023 | $$MATCEN_LIST_START |
| 1024 | $$MATCEN_LIST_END |
| 1025 | |
| 1026 | $$GOAL_LIST_START |
| 1027 | $$GOAL_LIST_END |
| 1028 | |
| 1029 | $$STRM_AUDIO_LIST_START |
| 1030 | $$STRM_AUDIO_LIST_END |
| 1031 | |
| 1032 | |
| 1033 | // Script Tree Dump |
| 1034 | 00:7:Door H Switch |
| 1035 | $$CHILD_BLOCK_START |
| 1036 | 01:1:0 |
| 1037 | 02:0 |
| 1038 | 03:0 |
| 1039 | $$CHILD_BLOCK_START |
| 1040 | 05:1 |
| 1041 | $$CHILD_BLOCK_START |
| 1042 | 06:qObjIsPlayerWeapon:Bool |
| 1043 | $$CHILD_BLOCK_START |
| 1044 | 10:1:1:-1:Object |
| 1045 | $$CHILD_BLOCK_END |
| 1046 | 07:0:6 |
| 1047 | $$CHILD_BLOCK_END |
| 1048 | $$CHILD_BLOCK_END |
| 1049 | 04:0:0:0 |
| 1050 | $$CHILD_BLOCK_START |
| 1051 | 03:1 |
| 1052 | $$CHILD_BLOCK_START |
| 1053 | 05:1 |
| 1054 | $$CHILD_BLOCK_START |
| 1055 | 06:qUserFlag:Bool |
| 1056 | $$CHILD_BLOCK_START |
| 1057 | 10:10:0:7:UserFlag |
| 1058 | $$CHILD_BLOCK_END |
| 1059 | 07:0:7 |
| 1060 | $$CHILD_BLOCK_END |
| 1061 | $$CHILD_BLOCK_END |
| 1062 | 04:1:0:0 |
| 1063 | $$CHILD_BLOCK_START |
| 1064 | 08:aDoorLockUnlock |
| 1065 | $$CHILD_BLOCK_START |
| 1066 | 10:10:0:1:Lock/Unlock |
| 1067 | 10:0:0:0:DoorName |
| 1068 | $$CHILD_BLOCK_END |
| 1069 | 08:aObjPlayAnim |
| 1070 | $$CHILD_BLOCK_START |
| 1071 | 10:1:0:0:Object |
| 1072 | 10:4:0:StartFrame |
| 1073 | 10:4:1:EndFrame |
| 1074 | 10:6:1.000000:CycleTime |
| 1075 | 10:5:0:Looping |
| 1076 | $$CHILD_BLOCK_END |
| 1077 | 08:aUserFlagSet |
| 1078 | $$CHILD_BLOCK_START |
| 1079 | 10:10:0:7:UserFlag |
| 1080 | 10:5:1:True/False |
| 1081 | $$CHILD_BLOCK_END |
| 1082 | 08:aSoundPlayObject |
| 1083 | $$CHILD_BLOCK_START |
| 1084 | 10:12:0:Sound |
| 1085 | 10:1:2:-1:Object |
| 1086 | 10:9:1.000000:Volume |
| 1087 | $$CHILD_BLOCK_END |
| 1088 | $$CHILD_BLOCK_END |
| 1089 | 04:1:0:1 |
| 1090 | $$CHILD_BLOCK_START |
| 1091 | 08:aDoorLockUnlock |
| 1092 | $$CHILD_BLOCK_START |
| 1093 | 10:10:0:0:Lock/Unlock |
| 1094 | 10:0:0:0:DoorName |
| 1095 | $$CHILD_BLOCK_END |
| 1096 | 08:aObjPlayAnim |
| 1097 | $$CHILD_BLOCK_START |
| 1098 | 10:1:0:0:Object |
| 1099 | 10:4:1:StartFrame |
| 1100 | 10:4:2:EndFrame |
| 1101 | 10:6:1.000000:CycleTime |
| 1102 | 10:5:0:Looping |
| 1103 | $$CHILD_BLOCK_END |
| 1104 | 08:aUserFlagSet |
| 1105 | $$CHILD_BLOCK_START |
| 1106 | 10:10:0:7:UserFlag |
| 1107 | 10:5:0:True/False |
| 1108 | $$CHILD_BLOCK_END |
| 1109 | 08:aSoundPlayObject |
| 1110 | $$CHILD_BLOCK_START |
| 1111 | 10:12:1:Sound |
| 1112 | 10:1:2:-1:Object |
| 1113 | 10:9:1.000000:Volume |
| 1114 | $$CHILD_BLOCK_END |
| 1115 | $$CHILD_BLOCK_END |
| 1116 | $$CHILD_BLOCK_END |
| 1117 | $$CHILD_BLOCK_END |
| 1118 | 00:6:Door G Switch |
| 1119 | $$CHILD_BLOCK_START |
| 1120 | 01:1:1 |
| 1121 | 02:0 |
| 1122 | 03:0 |
| 1123 | $$CHILD_BLOCK_START |
| 1124 | 05:1 |
| 1125 | $$CHILD_BLOCK_START |
| 1126 | 06:qObjIsPlayerWeapon:Bool |
| 1127 | $$CHILD_BLOCK_START |
| 1128 | 10:1:1:-1:Object |
| 1129 | $$CHILD_BLOCK_END |
| 1130 | 07:0:6 |
| 1131 | $$CHILD_BLOCK_END |
| 1132 | $$CHILD_BLOCK_END |
| 1133 | 04:0:0:0 |
| 1134 | $$CHILD_BLOCK_START |
| 1135 | 03:1 |
| 1136 | $$CHILD_BLOCK_START |
| 1137 | 05:1 |
| 1138 | $$CHILD_BLOCK_START |
| 1139 | 06:qUserFlag:Bool |
| 1140 | $$CHILD_BLOCK_START |
| 1141 | 10:10:0:6:UserFlag |
| 1142 | $$CHILD_BLOCK_END |
| 1143 | 07:0:7 |
| 1144 | $$CHILD_BLOCK_END |
| 1145 | $$CHILD_BLOCK_END |
| 1146 | 04:1:0:0 |
| 1147 | $$CHILD_BLOCK_START |
| 1148 | 08:aDoorLockUnlock |
| 1149 | $$CHILD_BLOCK_START |
| 1150 | 10:10:0:1:Lock/Unlock |
| 1151 | 10:0:0:1:DoorName |
| 1152 | $$CHILD_BLOCK_END |
| 1153 | 08:aObjPlayAnim |
| 1154 | $$CHILD_BLOCK_START |
| 1155 | 10:1:0:1:Object |
| 1156 | 10:4:0:StartFrame |
| 1157 | 10:4:1:EndFrame |
| 1158 | 10:6:1.000000:CycleTime |
| 1159 | 10:5:0:Looping |
| 1160 | $$CHILD_BLOCK_END |
| 1161 | 08:aUserFlagSet |
| 1162 | $$CHILD_BLOCK_START |
| 1163 | 10:10:0:6:UserFlag |
| 1164 | 10:5:1:True/False |
| 1165 | $$CHILD_BLOCK_END |
| 1166 | 08:aSoundPlayObject |
| 1167 | $$CHILD_BLOCK_START |
| 1168 | 10:12:0:Sound |
| 1169 | 10:1:2:-1:Object |
| 1170 | 10:9:1.000000:Volume |
| 1171 | $$CHILD_BLOCK_END |
| 1172 | $$CHILD_BLOCK_END |
| 1173 | 04:1:0:1 |
| 1174 | $$CHILD_BLOCK_START |
| 1175 | 08:aDoorLockUnlock |
| 1176 | $$CHILD_BLOCK_START |
| 1177 | 10:10:0:0:Lock/Unlock |
| 1178 | 10:0:0:1:DoorName |
| 1179 | $$CHILD_BLOCK_END |
| 1180 | 08:aObjPlayAnim |
| 1181 | $$CHILD_BLOCK_START |
| 1182 | 10:1:0:1:Object |
| 1183 | 10:4:1:StartFrame |
| 1184 | 10:4:2:EndFrame |
| 1185 | 10:6:1.000000:CycleTime |
| 1186 | 10:5:0:Looping |
| 1187 | $$CHILD_BLOCK_END |
| 1188 | 08:aUserFlagSet |
| 1189 | $$CHILD_BLOCK_START |
| 1190 | 10:10:0:6:UserFlag |
| 1191 | 10:5:0:True/False |
| 1192 | $$CHILD_BLOCK_END |
| 1193 | 08:aSoundPlayObject |
| 1194 | $$CHILD_BLOCK_START |
| 1195 | 10:12:1:Sound |
| 1196 | 10:1:2:-1:Object |
| 1197 | 10:9:1.000000:Volume |
| 1198 | $$CHILD_BLOCK_END |
| 1199 | $$CHILD_BLOCK_END |
| 1200 | $$CHILD_BLOCK_END |
| 1201 | $$CHILD_BLOCK_END |
| 1202 | 00:5:Door F Switch |
| 1203 | $$CHILD_BLOCK_START |
| 1204 | 01:1:2 |
| 1205 | 02:0 |
| 1206 | 03:0 |
| 1207 | $$CHILD_BLOCK_START |
| 1208 | 05:1 |
| 1209 | $$CHILD_BLOCK_START |
| 1210 | 06:qObjIsPlayerWeapon:Bool |
| 1211 | $$CHILD_BLOCK_START |
| 1212 | 10:1:1:-1:Object |
| 1213 | $$CHILD_BLOCK_END |
| 1214 | 07:0:6 |
| 1215 | $$CHILD_BLOCK_END |
| 1216 | $$CHILD_BLOCK_END |
| 1217 | 04:0:0:0 |
| 1218 | $$CHILD_BLOCK_START |
| 1219 | 03:1 |
| 1220 | $$CHILD_BLOCK_START |
| 1221 | 05:1 |
| 1222 | $$CHILD_BLOCK_START |
| 1223 | 06:qUserFlag:Bool |
| 1224 | $$CHILD_BLOCK_START |
| 1225 | 10:10:0:5:UserFlag |
| 1226 | $$CHILD_BLOCK_END |
| 1227 | 07:0:7 |
| 1228 | $$CHILD_BLOCK_END |
| 1229 | $$CHILD_BLOCK_END |
| 1230 | 04:1:0:0 |
| 1231 | $$CHILD_BLOCK_START |
| 1232 | 08:aDoorLockUnlock |
| 1233 | $$CHILD_BLOCK_START |
| 1234 | 10:10:0:1:Lock/Unlock |
| 1235 | 10:0:0:2:DoorName |
| 1236 | $$CHILD_BLOCK_END |
| 1237 | 08:aObjPlayAnim |
| 1238 | $$CHILD_BLOCK_START |
| 1239 | 10:1:0:2:Object |
| 1240 | 10:4:0:StartFrame |
| 1241 | 10:4:1:EndFrame |
| 1242 | 10:6:1.000000:CycleTime |
| 1243 | 10:5:0:Looping |
| 1244 | $$CHILD_BLOCK_END |
| 1245 | 08:aUserFlagSet |
| 1246 | $$CHILD_BLOCK_START |
| 1247 | 10:10:0:5:UserFlag |
| 1248 | 10:5:1:True/False |
| 1249 | $$CHILD_BLOCK_END |
| 1250 | 08:aSoundPlayObject |
| 1251 | $$CHILD_BLOCK_START |
| 1252 | 10:12:0:Sound |
| 1253 | 10:1:2:-1:Object |
| 1254 | 10:9:1.000000:Volume |
| 1255 | $$CHILD_BLOCK_END |
| 1256 | $$CHILD_BLOCK_END |
| 1257 | 04:1:0:1 |
| 1258 | $$CHILD_BLOCK_START |
| 1259 | 08:aDoorLockUnlock |
| 1260 | $$CHILD_BLOCK_START |
| 1261 | 10:10:0:0:Lock/Unlock |
| 1262 | 10:0:0:2:DoorName |
| 1263 | $$CHILD_BLOCK_END |
| 1264 | 08:aObjPlayAnim |
| 1265 | $$CHILD_BLOCK_START |
| 1266 | 10:1:0:2:Object |
| 1267 | 10:4:1:StartFrame |
| 1268 | 10:4:2:EndFrame |
| 1269 | 10:6:1.000000:CycleTime |
| 1270 | 10:5:0:Looping |
| 1271 | $$CHILD_BLOCK_END |
| 1272 | 08:aUserFlagSet |
| 1273 | $$CHILD_BLOCK_START |
| 1274 | 10:10:0:5:UserFlag |
| 1275 | 10:5:0:True/False |
| 1276 | $$CHILD_BLOCK_END |
| 1277 | 08:aSoundPlayObject |
| 1278 | $$CHILD_BLOCK_START |
| 1279 | 10:12:1:Sound |
| 1280 | 10:1:2:-1:Object |
| 1281 | 10:9:1.000000:Volume |
| 1282 | $$CHILD_BLOCK_END |
| 1283 | $$CHILD_BLOCK_END |
| 1284 | $$CHILD_BLOCK_END |
| 1285 | $$CHILD_BLOCK_END |
| 1286 | 00:4:Door E Switch |
| 1287 | $$CHILD_BLOCK_START |
| 1288 | 01:1:3 |
| 1289 | 02:0 |
| 1290 | 03:0 |
| 1291 | $$CHILD_BLOCK_START |
| 1292 | 05:1 |
| 1293 | $$CHILD_BLOCK_START |
| 1294 | 06:qObjIsPlayerWeapon:Bool |
| 1295 | $$CHILD_BLOCK_START |
| 1296 | 10:1:1:-1:Object |
| 1297 | $$CHILD_BLOCK_END |
| 1298 | 07:0:6 |
| 1299 | $$CHILD_BLOCK_END |
| 1300 | $$CHILD_BLOCK_END |
| 1301 | 04:0:0:0 |
| 1302 | $$CHILD_BLOCK_START |
| 1303 | 03:1 |
| 1304 | $$CHILD_BLOCK_START |
| 1305 | 05:1 |
| 1306 | $$CHILD_BLOCK_START |
| 1307 | 06:qUserFlag:Bool |
| 1308 | $$CHILD_BLOCK_START |
| 1309 | 10:10:0:4:UserFlag |
| 1310 | $$CHILD_BLOCK_END |
| 1311 | 07:0:7 |
| 1312 | $$CHILD_BLOCK_END |
| 1313 | $$CHILD_BLOCK_END |
| 1314 | 04:1:0:0 |
| 1315 | $$CHILD_BLOCK_START |
| 1316 | 08:aDoorLockUnlock |
| 1317 | $$CHILD_BLOCK_START |
| 1318 | 10:10:0:1:Lock/Unlock |
| 1319 | 10:0:0:3:DoorName |
| 1320 | $$CHILD_BLOCK_END |
| 1321 | 08:aObjPlayAnim |
| 1322 | $$CHILD_BLOCK_START |
| 1323 | 10:1:0:3:Object |
| 1324 | 10:4:0:StartFrame |
| 1325 | 10:4:1:EndFrame |
| 1326 | 10:6:1.000000:CycleTime |
| 1327 | 10:5:0:Looping |
| 1328 | $$CHILD_BLOCK_END |
| 1329 | 08:aUserFlagSet |
| 1330 | $$CHILD_BLOCK_START |
| 1331 | 10:10:0:4:UserFlag |
| 1332 | 10:5:1:True/False |
| 1333 | $$CHILD_BLOCK_END |
| 1334 | 08:aSoundPlayObject |
| 1335 | $$CHILD_BLOCK_START |
| 1336 | 10:12:0:Sound |
| 1337 | 10:1:2:-1:Object |
| 1338 | 10:9:1.000000:Volume |
| 1339 | $$CHILD_BLOCK_END |
| 1340 | $$CHILD_BLOCK_END |
| 1341 | 04:1:0:1 |
| 1342 | $$CHILD_BLOCK_START |
| 1343 | 08:aDoorLockUnlock |
| 1344 | $$CHILD_BLOCK_START |
| 1345 | 10:10:0:0:Lock/Unlock |
| 1346 | 10:0:0:3:DoorName |
| 1347 | $$CHILD_BLOCK_END |
| 1348 | 08:aObjPlayAnim |
| 1349 | $$CHILD_BLOCK_START |
| 1350 | 10:1:0:3:Object |
| 1351 | 10:4:1:StartFrame |
| 1352 | 10:4:2:EndFrame |
| 1353 | 10:6:1.000000:CycleTime |
| 1354 | 10:5:0:Looping |
| 1355 | $$CHILD_BLOCK_END |
| 1356 | 08:aUserFlagSet |
| 1357 | $$CHILD_BLOCK_START |
| 1358 | 10:10:0:4:UserFlag |
| 1359 | 10:5:0:True/False |
| 1360 | $$CHILD_BLOCK_END |
| 1361 | 08:aSoundPlayObject |
| 1362 | $$CHILD_BLOCK_START |
| 1363 | 10:12:1:Sound |
| 1364 | 10:1:2:-1:Object |
| 1365 | 10:9:1.000000:Volume |
| 1366 | $$CHILD_BLOCK_END |
| 1367 | $$CHILD_BLOCK_END |
| 1368 | $$CHILD_BLOCK_END |
| 1369 | $$CHILD_BLOCK_END |
| 1370 | 00:3:Door D Switch |
| 1371 | $$CHILD_BLOCK_START |
| 1372 | 01:1:4 |
| 1373 | 02:0 |
| 1374 | 03:0 |
| 1375 | $$CHILD_BLOCK_START |
| 1376 | 05:1 |
| 1377 | $$CHILD_BLOCK_START |
| 1378 | 06:qObjIsPlayerWeapon:Bool |
| 1379 | $$CHILD_BLOCK_START |
| 1380 | 10:1:1:-1:Object |
| 1381 | $$CHILD_BLOCK_END |
| 1382 | 07:0:6 |
| 1383 | $$CHILD_BLOCK_END |
| 1384 | $$CHILD_BLOCK_END |
| 1385 | 04:0:0:0 |
| 1386 | $$CHILD_BLOCK_START |
| 1387 | 03:1 |
| 1388 | $$CHILD_BLOCK_START |
| 1389 | 05:1 |
| 1390 | $$CHILD_BLOCK_START |
| 1391 | 06:qUserFlag:Bool |
| 1392 | $$CHILD_BLOCK_START |
| 1393 | 10:10:0:3:UserFlag |
| 1394 | $$CHILD_BLOCK_END |
| 1395 | 07:0:7 |
| 1396 | $$CHILD_BLOCK_END |
| 1397 | $$CHILD_BLOCK_END |
| 1398 | 04:1:0:0 |
| 1399 | $$CHILD_BLOCK_START |
| 1400 | 08:aDoorLockUnlock |
| 1401 | $$CHILD_BLOCK_START |
| 1402 | 10:10:0:1:Lock/Unlock |
| 1403 | 10:0:0:4:DoorName |
| 1404 | $$CHILD_BLOCK_END |
| 1405 | 08:aObjPlayAnim |
| 1406 | $$CHILD_BLOCK_START |
| 1407 | 10:1:0:4:Object |
| 1408 | 10:4:0:StartFrame |
| 1409 | 10:4:1:EndFrame |
| 1410 | 10:6:1.000000:CycleTime |
| 1411 | 10:5:0:Looping |
| 1412 | $$CHILD_BLOCK_END |
| 1413 | 08:aUserFlagSet |
| 1414 | $$CHILD_BLOCK_START |
| 1415 | 10:10:0:3:UserFlag |
| 1416 | 10:5:1:True/False |
| 1417 | $$CHILD_BLOCK_END |
| 1418 | 08:aSoundPlayObject |
| 1419 | $$CHILD_BLOCK_START |
| 1420 | 10:12:0:Sound |
| 1421 | 10:1:2:-1:Object |
| 1422 | 10:9:1.000000:Volume |
| 1423 | $$CHILD_BLOCK_END |
| 1424 | $$CHILD_BLOCK_END |
| 1425 | 04:1:0:1 |
| 1426 | $$CHILD_BLOCK_START |
| 1427 | 08:aDoorLockUnlock |
| 1428 | $$CHILD_BLOCK_START |
| 1429 | 10:10:0:0:Lock/Unlock |
| 1430 | 10:0:0:4:DoorName |
| 1431 | $$CHILD_BLOCK_END |
| 1432 | 08:aObjPlayAnim |
| 1433 | $$CHILD_BLOCK_START |
| 1434 | 10:1:0:4:Object |
| 1435 | 10:4:1:StartFrame |
| 1436 | 10:4:2:EndFrame |
| 1437 | 10:6:1.000000:CycleTime |
| 1438 | 10:5:0:Looping |
| 1439 | $$CHILD_BLOCK_END |
| 1440 | 08:aUserFlagSet |
| 1441 | $$CHILD_BLOCK_START |
| 1442 | 10:10:0:3:UserFlag |
| 1443 | 10:5:0:True/False |
| 1444 | $$CHILD_BLOCK_END |
| 1445 | 08:aSoundPlayObject |
| 1446 | $$CHILD_BLOCK_START |
| 1447 | 10:12:1:Sound |
| 1448 | 10:1:2:-1:Object |
| 1449 | 10:9:1.000000:Volume |
| 1450 | $$CHILD_BLOCK_END |
| 1451 | $$CHILD_BLOCK_END |
| 1452 | $$CHILD_BLOCK_END |
| 1453 | $$CHILD_BLOCK_END |
| 1454 | 00:2:Door C Switch |
| 1455 | $$CHILD_BLOCK_START |
| 1456 | 01:1:5 |
| 1457 | 02:0 |
| 1458 | 03:0 |
| 1459 | $$CHILD_BLOCK_START |
| 1460 | 05:1 |
| 1461 | $$CHILD_BLOCK_START |
| 1462 | 06:qObjIsPlayerWeapon:Bool |
| 1463 | $$CHILD_BLOCK_START |
| 1464 | 10:1:1:-1:Object |
| 1465 | $$CHILD_BLOCK_END |
| 1466 | 07:0:6 |
| 1467 | $$CHILD_BLOCK_END |
| 1468 | $$CHILD_BLOCK_END |
| 1469 | 04:0:0:0 |
| 1470 | $$CHILD_BLOCK_START |
| 1471 | 03:1 |
| 1472 | $$CHILD_BLOCK_START |
| 1473 | 05:1 |
| 1474 | $$CHILD_BLOCK_START |
| 1475 | 06:qUserFlag:Bool |
| 1476 | $$CHILD_BLOCK_START |
| 1477 | 10:10:0:2:UserFlag |
| 1478 | $$CHILD_BLOCK_END |
| 1479 | 07:0:7 |
| 1480 | $$CHILD_BLOCK_END |
| 1481 | $$CHILD_BLOCK_END |
| 1482 | 04:1:0:0 |
| 1483 | $$CHILD_BLOCK_START |
| 1484 | 08:aDoorLockUnlock |
| 1485 | $$CHILD_BLOCK_START |
| 1486 | 10:10:0:1:Lock/Unlock |
| 1487 | 10:0:0:5:DoorName |
| 1488 | $$CHILD_BLOCK_END |
| 1489 | 08:aObjPlayAnim |
| 1490 | $$CHILD_BLOCK_START |
| 1491 | 10:1:0:5:Object |
| 1492 | 10:4:0:StartFrame |
| 1493 | 10:4:1:EndFrame |
| 1494 | 10:6:1.000000:CycleTime |
| 1495 | 10:5:0:Looping |
| 1496 | $$CHILD_BLOCK_END |
| 1497 | 08:aUserFlagSet |
| 1498 | $$CHILD_BLOCK_START |
| 1499 | 10:10:0:2:UserFlag |
| 1500 | 10:5:1:True/False |
| 1501 | $$CHILD_BLOCK_END |
| 1502 | 08:aSoundPlayObject |
| 1503 | $$CHILD_BLOCK_START |
| 1504 | 10:12:0:Sound |
| 1505 | 10:1:2:-1:Object |
| 1506 | 10:9:1.000000:Volume |
| 1507 | $$CHILD_BLOCK_END |
| 1508 | $$CHILD_BLOCK_END |
| 1509 | 04:1:0:1 |
| 1510 | $$CHILD_BLOCK_START |
| 1511 | 08:aDoorLockUnlock |
| 1512 | $$CHILD_BLOCK_START |
| 1513 | 10:10:0:0:Lock/Unlock |
| 1514 | 10:0:0:5:DoorName |
| 1515 | $$CHILD_BLOCK_END |
| 1516 | 08:aObjPlayAnim |
| 1517 | $$CHILD_BLOCK_START |
| 1518 | 10:1:0:5:Object |
| 1519 | 10:4:1:StartFrame |
| 1520 | 10:4:2:EndFrame |
| 1521 | 10:6:1.000000:CycleTime |
| 1522 | 10:5:0:Looping |
| 1523 | $$CHILD_BLOCK_END |
| 1524 | 08:aUserFlagSet |
| 1525 | $$CHILD_BLOCK_START |
| 1526 | 10:10:0:2:UserFlag |
| 1527 | 10:5:0:True/False |
| 1528 | $$CHILD_BLOCK_END |
| 1529 | 08:aSoundPlayObject |
| 1530 | $$CHILD_BLOCK_START |
| 1531 | 10:12:1:Sound |
| 1532 | 10:1:2:-1:Object |
| 1533 | 10:9:1.000000:Volume |
| 1534 | $$CHILD_BLOCK_END |
| 1535 | $$CHILD_BLOCK_END |
| 1536 | $$CHILD_BLOCK_END |
| 1537 | $$CHILD_BLOCK_END |
| 1538 | 00:1:Door B Switch |
| 1539 | $$CHILD_BLOCK_START |
| 1540 | 01:1:6 |
| 1541 | 02:0 |
| 1542 | 03:0 |
| 1543 | $$CHILD_BLOCK_START |
| 1544 | 05:1 |
| 1545 | $$CHILD_BLOCK_START |
| 1546 | 06:qObjIsPlayerWeapon:Bool |
| 1547 | $$CHILD_BLOCK_START |
| 1548 | 10:1:1:-1:Object |
| 1549 | $$CHILD_BLOCK_END |
| 1550 | 07:0:6 |
| 1551 | $$CHILD_BLOCK_END |
| 1552 | $$CHILD_BLOCK_END |
| 1553 | 04:0:0:0 |
| 1554 | $$CHILD_BLOCK_START |
| 1555 | 03:1 |
| 1556 | $$CHILD_BLOCK_START |
| 1557 | 05:1 |
| 1558 | $$CHILD_BLOCK_START |
| 1559 | 06:qUserFlag:Bool |
| 1560 | $$CHILD_BLOCK_START |
| 1561 | 10:10:0:1:UserFlag |
| 1562 | $$CHILD_BLOCK_END |
| 1563 | 07:0:7 |
| 1564 | $$CHILD_BLOCK_END |
| 1565 | $$CHILD_BLOCK_END |
| 1566 | 04:1:0:0 |
| 1567 | $$CHILD_BLOCK_START |
| 1568 | 08:aDoorLockUnlock |
| 1569 | $$CHILD_BLOCK_START |
| 1570 | 10:10:0:1:Lock/Unlock |
| 1571 | 10:0:0:6:DoorName |
| 1572 | $$CHILD_BLOCK_END |
| 1573 | 08:aObjPlayAnim |
| 1574 | $$CHILD_BLOCK_START |
| 1575 | 10:1:0:6:Object |
| 1576 | 10:4:0:StartFrame |
| 1577 | 10:4:1:EndFrame |
| 1578 | 10:6:1.000000:CycleTime |
| 1579 | 10:5:0:Looping |
| 1580 | $$CHILD_BLOCK_END |
| 1581 | 08:aUserFlagSet |
| 1582 | $$CHILD_BLOCK_START |
| 1583 | 10:10:0:1:UserFlag |
| 1584 | 10:5:1:True/False |
| 1585 | $$CHILD_BLOCK_END |
| 1586 | 08:aSoundPlayObject |
| 1587 | $$CHILD_BLOCK_START |
| 1588 | 10:12:0:Sound |
| 1589 | 10:1:2:-1:Object |
| 1590 | 10:9:1.000000:Volume |
| 1591 | $$CHILD_BLOCK_END |
| 1592 | $$CHILD_BLOCK_END |
| 1593 | 04:1:0:1 |
| 1594 | $$CHILD_BLOCK_START |
| 1595 | 08:aDoorLockUnlock |
| 1596 | $$CHILD_BLOCK_START |
| 1597 | 10:10:0:0:Lock/Unlock |
| 1598 | 10:0:0:6:DoorName |
| 1599 | $$CHILD_BLOCK_END |
| 1600 | 08:aObjPlayAnim |
| 1601 | $$CHILD_BLOCK_START |
| 1602 | 10:1:0:6:Object |
| 1603 | 10:4:1:StartFrame |
| 1604 | 10:4:2:EndFrame |
| 1605 | 10:6:1.000000:CycleTime |
| 1606 | 10:5:0:Looping |
| 1607 | $$CHILD_BLOCK_END |
| 1608 | 08:aUserFlagSet |
| 1609 | $$CHILD_BLOCK_START |
| 1610 | 10:10:0:1:UserFlag |
| 1611 | 10:5:0:True/False |
| 1612 | $$CHILD_BLOCK_END |
| 1613 | 08:aSoundPlayObject |
| 1614 | $$CHILD_BLOCK_START |
| 1615 | 10:12:1:Sound |
| 1616 | 10:1:2:-1:Object |
| 1617 | 10:9:1.000000:Volume |
| 1618 | $$CHILD_BLOCK_END |
| 1619 | $$CHILD_BLOCK_END |
| 1620 | $$CHILD_BLOCK_END |
| 1621 | $$CHILD_BLOCK_END |
| 1622 | 00:0:Door A Switch |
| 1623 | $$CHILD_BLOCK_START |
| 1624 | 01:1:7 |
| 1625 | 02:0 |
| 1626 | 03:0 |
| 1627 | $$CHILD_BLOCK_START |
| 1628 | 05:1 |
| 1629 | $$CHILD_BLOCK_START |
| 1630 | 06:qObjIsPlayerWeapon:Bool |
| 1631 | $$CHILD_BLOCK_START |
| 1632 | 10:1:1:-1:Object |
| 1633 | $$CHILD_BLOCK_END |
| 1634 | 07:0:6 |
| 1635 | $$CHILD_BLOCK_END |
| 1636 | $$CHILD_BLOCK_END |
| 1637 | 04:0:0:0 |
| 1638 | $$CHILD_BLOCK_START |
| 1639 | 03:1 |
| 1640 | $$CHILD_BLOCK_START |
| 1641 | 05:1 |
| 1642 | $$CHILD_BLOCK_START |
| 1643 | 06:qUserFlag:Bool |
| 1644 | $$CHILD_BLOCK_START |
| 1645 | 10:10:0:0:UserFlag |
| 1646 | $$CHILD_BLOCK_END |
| 1647 | 07:0:7 |
| 1648 | $$CHILD_BLOCK_END |
| 1649 | $$CHILD_BLOCK_END |
| 1650 | 04:1:0:0 |
| 1651 | $$CHILD_BLOCK_START |
| 1652 | 08:aDoorLockUnlock |
| 1653 | $$CHILD_BLOCK_START |
| 1654 | 10:10:0:1:Lock/Unlock |
| 1655 | 10:0:0:7:DoorName |
| 1656 | $$CHILD_BLOCK_END |
| 1657 | 08:aObjPlayAnim |
| 1658 | $$CHILD_BLOCK_START |
| 1659 | 10:1:0:7:Object |
| 1660 | 10:4:0:StartFrame |
| 1661 | 10:4:1:EndFrame |
| 1662 | 10:6:1.000000:CycleTime |
| 1663 | 10:5:0:Looping |
| 1664 | $$CHILD_BLOCK_END |
| 1665 | 08:aUserFlagSet |
| 1666 | $$CHILD_BLOCK_START |
| 1667 | 10:10:0:0:UserFlag |
| 1668 | 10:5:1:True/False |
| 1669 | $$CHILD_BLOCK_END |
| 1670 | 08:aSoundPlayObject |
| 1671 | $$CHILD_BLOCK_START |
| 1672 | 10:12:0:Sound |
| 1673 | 10:1:2:-1:Object |
| 1674 | 10:9:1.000000:Volume |
| 1675 | $$CHILD_BLOCK_END |
| 1676 | $$CHILD_BLOCK_END |
| 1677 | 04:1:0:1 |
| 1678 | $$CHILD_BLOCK_START |
| 1679 | 08:aDoorLockUnlock |
| 1680 | $$CHILD_BLOCK_START |
| 1681 | 10:10:0:0:Lock/Unlock |
| 1682 | 10:0:0:7:DoorName |
| 1683 | $$CHILD_BLOCK_END |
| 1684 | 08:aObjPlayAnim |
| 1685 | $$CHILD_BLOCK_START |
| 1686 | 10:1:0:7:Object |
| 1687 | 10:4:1:StartFrame |
| 1688 | 10:4:2:EndFrame |
| 1689 | 10:6:1.000000:CycleTime |
| 1690 | 10:5:0:Looping |
| 1691 | $$CHILD_BLOCK_END |
| 1692 | 08:aUserFlagSet |
| 1693 | $$CHILD_BLOCK_START |
| 1694 | 10:10:0:0:UserFlag |
| 1695 | 10:5:0:True/False |
| 1696 | $$CHILD_BLOCK_END |
| 1697 | 08:aSoundPlayObject |
| 1698 | $$CHILD_BLOCK_START |
| 1699 | 10:12:1:Sound |
| 1700 | 10:1:2:-1:Object |
| 1701 | 10:9:1.000000:Volume |
| 1702 | $$CHILD_BLOCK_END |
| 1703 | $$CHILD_BLOCK_END |
| 1704 | $$CHILD_BLOCK_END |
| 1705 | $$CHILD_BLOCK_END |
| 1706 | 00:8:Room Sounds Start |
| 1707 | $$CHILD_BLOCK_START |
| 1708 | 01:2:0 |
| 1709 | 02:6 |
| 1710 | 03:0 |
| 1711 | $$CHILD_BLOCK_START |
| 1712 | 05:0 |
| 1713 | $$CHILD_BLOCK_END |
| 1714 | 04:0:0:0 |
| 1715 | $$CHILD_BLOCK_START |
| 1716 | 08:aSoundPlayObject |
| 1717 | $$CHILD_BLOCK_START |
| 1718 | 10:12:2:Sound |
| 1719 | 10:1:0:8:Object |
| 1720 | 10:9:1.000000:Volume |
| 1721 | $$CHILD_BLOCK_END |
| 1722 | 08:aSoundPlayObject |
| 1723 | $$CHILD_BLOCK_START |
| 1724 | 10:12:2:Sound |
| 1725 | 10:1:0:9:Object |
| 1726 | 10:9:1.000000:Volume |
| 1727 | $$CHILD_BLOCK_END |
| 1728 | 08:aSoundPlayObject |
| 1729 | $$CHILD_BLOCK_START |
| 1730 | 10:12:2:Sound |
| 1731 | 10:1:0:10:Object |
| 1732 | 10:9:1.000000:Volume |
| 1733 | $$CHILD_BLOCK_END |
| 1734 | 08:aSoundPlayObject |
| 1735 | $$CHILD_BLOCK_START |
| 1736 | 10:12:3:Sound |
| 1737 | 10:1:0:11:Object |
| 1738 | 10:9:1.000000:Volume |
| 1739 | $$CHILD_BLOCK_END |
| 1740 | 08:aSoundPlayObject |
| 1741 | $$CHILD_BLOCK_START |
| 1742 | 10:12:3:Sound |
| 1743 | 10:1:0:12:Object |
| 1744 | 10:9:1.000000:Volume |
| 1745 | $$CHILD_BLOCK_END |
| 1746 | 08:aSoundPlayObject |
| 1747 | $$CHILD_BLOCK_START |
| 1748 | 10:12:4:Sound |
| 1749 | 10:1:0:13:Object |
| 1750 | 10:9:1.000000:Volume |
| 1751 | $$CHILD_BLOCK_END |
| 1752 | 08:aSoundPlayObject |
| 1753 | $$CHILD_BLOCK_START |
| 1754 | 10:12:4:Sound |
| 1755 | 10:1:0:14:Object |
| 1756 | 10:9:1.000000:Volume |
| 1757 | $$CHILD_BLOCK_END |
| 1758 | $$CHILD_BLOCK_END |
| 1759 | $$CHILD_BLOCK_END |
| 1760 | |
| 1761 | $$SCRIPT_BLOCK_END |
| 1762 | *********************************************************/ |