| 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 | --- HISTORICAL COMMENTS FOLLOW --- |
| 19 | |
| 20 | * $Logfile: /DescentIII/data/scripts/osiris_common.h $ |
| 21 | * $Revision: 1.2 $ |
| 22 | * $Date: 2004/02/09 04:14:52 $ |
| 23 | * $Author: kevinb $ |
| 24 | * |
| 25 | * Contains code that is common along all modules. Mostly defines, flags, etc. |
| 26 | * |
| 27 | * $Log: osiris_common.h,v $ |
| 28 | * Revision 1.2 2004/02/09 04:14:52 kevinb |
| 29 | * Added newlines to all headers to reduce number of warnings printed |
| 30 | * |
| 31 | * Made some small changes to get everything compiling. |
| 32 | * |
| 33 | * All Ready to merge the 1.5 tree. |
| 34 | * |
| 35 | * Revision 1.1 2000/05/29 05:48:29 icculus |
| 36 | * initial import. |
| 37 | * |
| 38 | * Revision 1.1 2000/04/18 01:45:56 icculus |
| 39 | * Needed for compilation. |
| 40 | * |
| 41 | * |
| 42 | * 146 11/03/99 10:20a Chris |
| 43 | * Added the ability to find out if a room is volatile |
| 44 | * |
| 45 | * 145 11/02/99 12:16p Chris |
| 46 | * More Merc code - added support for ignore_obj_lists for the Osiris |
| 47 | * RayCast function |
| 48 | * |
| 49 | * 144 10/27/99 4:18p 3dsmax |
| 50 | * added cloak flag for Obj_Value |
| 51 | * |
| 52 | * 143 10/23/99 6:16p Nate |
| 53 | * Added define for Polish Language |
| 54 | * |
| 55 | * 142 10/16/99 8:44p Jeff |
| 56 | * created defines to remove player weapons and all powerups from a room |
| 57 | * |
| 58 | * 141 10/12/99 4:50p Jeff |
| 59 | * |
| 60 | * 140 9/10/99 11:03a Samir |
| 61 | * added command to get object's name from Obj_Value. |
| 62 | * |
| 63 | * 139 6/23/99 12:49p Samir |
| 64 | * fixed for Linux builds |
| 65 | * |
| 66 | * 138 5/21/99 7:29a Chris |
| 67 | * More tweaking... |
| 68 | * |
| 69 | * 137 5/19/99 11:25a Matt |
| 70 | * Added multisafe functions & Dallas actions for showing a timer on the |
| 71 | * screen and adding custom HUD messages. |
| 72 | * |
| 73 | * 136 5/17/99 6:22p Jeff |
| 74 | * added filtered HUD messages |
| 75 | * |
| 76 | * 135 5/10/99 9:36p Ardussi |
| 77 | * changes to compile on Mac |
| 78 | * |
| 79 | * 134 5/10/99 12:23a Chris |
| 80 | * Fixed another hearing/seeing case. :) Buddy bot now is in the player |
| 81 | * ship at respawn |
| 82 | * |
| 83 | * 133 5/06/99 6:38a Chris |
| 84 | * |
| 85 | * 132 5/06/99 4:11a Jeff |
| 86 | * created multisafe function to destroy robots in the level (helps boss |
| 87 | * fights) |
| 88 | * |
| 89 | * 131 5/04/99 6:53p Jeff |
| 90 | * added event for when a player dies |
| 91 | * |
| 92 | * 130 5/04/99 12:13p Matt |
| 93 | * Renamed fire-flare symbol to fire-weapon. |
| 94 | * |
| 95 | * 129 4/30/99 4:32p Matt |
| 96 | * Added a Dallas action to fire a flare from an object. |
| 97 | * |
| 98 | * 128 4/29/99 3:25p Chris |
| 99 | * Added support to find out if an object has wbs |
| 100 | * |
| 101 | * 127 4/29/99 1:59a Chris |
| 102 | * Added the portal blockage support |
| 103 | * |
| 104 | * 126 4/27/99 4:27p Jeff |
| 105 | * added player respawn osiris event |
| 106 | * |
| 107 | * 125 4/27/99 4:40a Jeff |
| 108 | * added msafe member to set/get guidebot name |
| 109 | * |
| 110 | * 124 4/26/99 4:27a Jeff |
| 111 | * added multisafe functions to check a player's weapons, and add/remove |
| 112 | * weapons from a player |
| 113 | * |
| 114 | * 123 4/24/99 6:44p Jeff |
| 115 | * added functions for theif so he can steal things other than weapons |
| 116 | * |
| 117 | * 122 4/24/99 12:09a Jeff |
| 118 | * added path value functions |
| 119 | * |
| 120 | * 121 4/22/99 4:58p Kevin |
| 121 | * fixed bad merge |
| 122 | * |
| 123 | * 120 4/22/99 4:44p Jason |
| 124 | * fixed level goal stuff for multiplayer |
| 125 | * |
| 126 | * 118 4/20/99 7:28p Jeff |
| 127 | * added guidebot name |
| 128 | * |
| 129 | * 117 4/20/99 12:00a Jeff |
| 130 | * Linux compile |
| 131 | * |
| 132 | * 116 4/06/99 11:44p Matt |
| 133 | * Added action to create a lighting bolt between two gunpoints on the |
| 134 | * same object, and queries to return an object's original shields and to |
| 135 | * multiply a percent times a float. |
| 136 | * |
| 137 | * 115 4/06/99 8:44p Matt |
| 138 | * Added a couple actions for Mark's energy/shield collector |
| 139 | * |
| 140 | * 114 4/04/99 8:21p Matt |
| 141 | * Fixed include problems with osiris vector stuff. Osiris headers now |
| 142 | * include vecmat_external.h, instead of defining the typedefs, structs, |
| 143 | * and inlines on the Osiris side. |
| 144 | * |
| 145 | * 113 4/04/99 6:20p Matt |
| 146 | * Added distance-based shake Dallas action. |
| 147 | * |
| 148 | * 112 4/04/99 4:55p Jeff |
| 149 | * gamecinematics_external.h was missing for some reason |
| 150 | * |
| 151 | * 111 4/03/99 1:13a Jeff |
| 152 | * added multisafe/dallas actions to set an object on fire |
| 153 | * |
| 154 | * 110 4/02/99 10:12p Jeff |
| 155 | * made ship permissions multi safe |
| 156 | * |
| 157 | * 109 4/02/99 10:18a Chris |
| 158 | * We can now mess with the Object_info anim stuff |
| 159 | * |
| 160 | * 108 3/31/99 11:11a Luke |
| 161 | * fixed another bad merge (Jeff) |
| 162 | * |
| 163 | * 107 3/30/99 8:15p Jeff |
| 164 | * bad merge |
| 165 | * |
| 166 | * 106 3/30/99 7:25p Chris |
| 167 | * Make the weath_lightning stuff more flexable |
| 168 | * |
| 169 | * 104 3/30/99 4:32p Chris |
| 170 | * Moved subtype to the main goal sturct (from goal_info). Made move |
| 171 | * relative object vec finishable. (Like get behind player) |
| 172 | * |
| 173 | * 103 3/28/99 5:56p Matt |
| 174 | * Added Dallas action to turn on object sparking |
| 175 | * |
| 176 | * 102 3/27/99 12:29p Chris |
| 177 | * Fixed problems with assigned lower priority goals that used paths (it |
| 178 | * would confuse the bot because the .path field was getting updated for |
| 179 | * the new goal even though it was lower priority) |
| 180 | * |
| 181 | * 101 3/26/99 12:38p Jeff |
| 182 | * added cloak predefs |
| 183 | * |
| 184 | * 100 3/22/99 6:35p Matt |
| 185 | * Added Dallas action to create a lightning bolt between two objects. |
| 186 | * Jason will implement this. |
| 187 | * |
| 188 | * 99 3/22/99 1:59p Matt |
| 189 | * Added break glass Dallas action |
| 190 | * |
| 191 | * 98 3/22/99 10:56a Chris |
| 192 | * Awareness code was tweaked. Multisafe stuff added for objects. |
| 193 | * |
| 194 | * 97 3/17/99 3:55p Nate |
| 195 | * Added language defines |
| 196 | * |
| 197 | * 96 3/16/99 11:26a Chris |
| 198 | * Buddy is now smarter -- gets to trigger level goals |
| 199 | * |
| 200 | * 95 3/10/99 1:33p Chris |
| 201 | * Fixes for multi-line gb messages |
| 202 | * |
| 203 | * 94 3/04/99 6:13p Matt |
| 204 | * Added message2 buffer to msafe_struct, and made the message longer. |
| 205 | * |
| 206 | * 93 3/03/99 3:34p Chris |
| 207 | * |
| 208 | * 92 3/03/99 3:02p Matt |
| 209 | * Added Game Message action in Dallas |
| 210 | * |
| 211 | * 91 3/03/99 3:01a Chris |
| 212 | * Exported the difficulty stuff to OSIRIS |
| 213 | * |
| 214 | * 90 2/28/99 11:30p Chris |
| 215 | * FindObjOfType and OSIRIS controllable deaths |
| 216 | * |
| 217 | * 89 2/25/99 8:54p Jeff |
| 218 | * Inventory supports level change persistant items. Inventory supports |
| 219 | * time-out objects. Inventory Reset changed (takes a level of reset |
| 220 | * now). Quad lasers stay across level change (single player). Guidebot |
| 221 | * bug fixed (now back in ship on level start). Quads time out when |
| 222 | * spewed. Invulnerability and cloak powerups no longer use game |
| 223 | * event/callbacks, so they can be saved in game saves (moved to |
| 224 | * MakePlayerInvulnerable and MakeObjectInvisible) |
| 225 | * |
| 226 | * 88 2/25/99 5:43p Chris |
| 227 | * Massive improvement to BOA and AI (again) |
| 228 | * |
| 229 | * 87 2/22/99 5:59p Chris |
| 230 | * Level Goals are now in OSIRIS. :) |
| 231 | * |
| 232 | * 86 2/22/99 1:20a Jeff |
| 233 | * added support for inventory (simple) in dallas. Moved end-level |
| 234 | * sequence to use IGC. Add position clipboard stuff for dallas. Fixed |
| 235 | * some inventory bug with storing object handles |
| 236 | * |
| 237 | * 85 2/21/99 7:16p Chris |
| 238 | * Added the EVT_LEVEL_GOAL_ITEM_COMPLETE event |
| 239 | * |
| 240 | * 84 2/21/99 5:51p Chris |
| 241 | * FIxed a bug with OBJV_C_TYPE (It should have been OBJV_I_TYPE). Added |
| 242 | * Obj_FindType() |
| 243 | * |
| 244 | * 83 2/21/99 5:49p Matt |
| 245 | * Added Dallas action to set an object's volume |
| 246 | * |
| 247 | * 82 2/20/99 4:28p Chris |
| 248 | * SOme updates to the system, not done |
| 249 | * |
| 250 | * 81 2/19/99 5:16p Chris |
| 251 | * Added the child died event |
| 252 | * |
| 253 | * 80 2/17/99 3:25a Jeff |
| 254 | * added checksum member to init struct |
| 255 | * |
| 256 | * 79 2/15/99 11:09a Matt |
| 257 | * Added function to count the number of a certain type of object in the |
| 258 | * level. (Also added HUD actions to print an int and float.) |
| 259 | * |
| 260 | * 78 2/11/99 2:54a Jeff |
| 261 | * improvements to introcam |
| 262 | * |
| 263 | * 77 2/09/99 12:43p Matt |
| 264 | * Added function to check for players in a room |
| 265 | * |
| 266 | * 76 2/08/99 2:53p Jeff |
| 267 | * added matcen event data |
| 268 | * |
| 269 | * 75 2/08/99 2:47p Jeff |
| 270 | * new events |
| 271 | * |
| 272 | * 74 2/08/99 3:10a Jeff |
| 273 | * added a multisafe type for player control type setting. Improved intro |
| 274 | * cinematic action function, player now follows path. |
| 275 | * |
| 276 | * 73 2/06/99 10:03p Matt |
| 277 | * Added keys system |
| 278 | * |
| 279 | * 72 2/06/99 1:52a Matt |
| 280 | * Added a bunch of Dallas funcs, mostly for Sean |
| 281 | * |
| 282 | * 71 2/05/99 9:06p Jeff |
| 283 | * added aux events for a couple new ainotify's |
| 284 | * |
| 285 | * 70 2/03/99 5:48p Matt |
| 286 | * Added room damage system |
| 287 | * |
| 288 | * 69 1/31/99 11:05p Matt |
| 289 | * Added music region set |
| 290 | * |
| 291 | * 68 1/31/99 8:53p Jeff |
| 292 | * new in game cinematics system finished |
| 293 | * |
| 294 | * 67 1/30/99 3:19p Matt |
| 295 | * Made Dallas spews work from object centers in addition to gunpoints |
| 296 | * |
| 297 | * 66 1/29/99 12:47p Matt |
| 298 | * Rewrote the doorway system |
| 299 | * |
| 300 | * 65 1/27/99 11:41p Jeff |
| 301 | * added dll identifier |
| 302 | * |
| 303 | * 64 1/26/99 5:16p Matt |
| 304 | * Added STOP_SOUND_OBJ |
| 305 | * |
| 306 | * 63 1/25/99 7:06p Matt |
| 307 | * Ripped out doorway index stuff, since doors are referred to by their |
| 308 | * door objects. |
| 309 | * |
| 310 | * 62 1/25/99 8:13a Chris |
| 311 | * Made the AUX goal remap more obvious... |
| 312 | * |
| 313 | * 61 1/24/99 8:17p Chris |
| 314 | * Updated AI and OSIRIS. Externalized fireball constants for spew and |
| 315 | * sparks. Added CreateRandomSparks to OSIRIS, renamed a bunch of AI |
| 316 | * Notify names to use underscores. Fixed a memory access leak in the |
| 317 | * matcen effect code. |
| 318 | * |
| 319 | * 60 1/23/99 2:56a Jeff |
| 320 | * added target field to boss intro struct |
| 321 | * |
| 322 | * 59 1/22/99 6:53p Chris |
| 323 | * Fixed LoadandBind Aux notify problems, fixed static path problems, |
| 324 | * fixed AIF_FORCE_AWARE Problems, improved path code |
| 325 | * |
| 326 | * 58 1/22/99 3:34p Kevin |
| 327 | * Increased the MSAFE_MESSAGE_LENGTH to 200 bytes |
| 328 | * |
| 329 | * 57 1/20/99 6:26p Matt |
| 330 | * Added several actions |
| 331 | * |
| 332 | */ |
| 333 | |
| 334 | #ifndef __OSIRIS_COMMON_H_ |
| 335 | #define __OSIRIS_COMMON_H_cxx . . $ `scripts/osiris_common.h:335:9`! |
| 336 | |
| 337 | #include <cstdint> |
| 338 | |
| 339 | #include "vecmat_external.h"cxx . . $ `<file>/lib/vecmat_external.h`/ |
| 340 | #include "aistruct_external.h"cxx . . $ `<file>/Descent3/aistruct_external.h`/ |
| 341 | #include "object_external.h"cxx . . $ `<file>/Descent3/object_external.h`/ |
| 342 | #include "matcen_external.h"cxx . . $ `<file>/Descent3/matcen_external.h`/ |
| 343 | #include "robotfirestruct_external.h"cxx . . $ `<file>/lib/robotfirestruct_external.h`/ |
| 344 | #include "findintersection_external.h"cxx . . $ `<file>/lib/findintersection_external.h`/ |
| 345 | #include "weapon_external.h"cxx . . $ `<file>/Descent3/weapon_external.h`/ |
| 346 | #include "damage_external.h"cxx . . $ `<file>/Descent3/damage_external.h`/ |
| 347 | #include "fireball_external.h"cxx . . $ `<file>/Descent3/fireball_external.h`/ |
| 348 | #include "levelgoal_external.h"cxx . . $ `<file>/Descent3/levelgoal_external.h`/ |
| 349 | #include "deathinfo_external.h"cxx . . $ `<file>/Descent3/deathinfo_external.h`/ |
| 350 | #include "difficulty_external.h"cxx . . $ `<file>/Descent3/difficulty_external.h`/ |
| 351 | #include "gamecinematics_external.h"cxx . . $ `<file>/Descent3/gamecinematics_external.h`/ |
| 352 | #include "player_external.h"cxx . . $ `<file>/Descent3/player_external.h`/ |
| 353 | |
| 354 | // ======================================================================= |
| 355 | // Event return values (OR these if needed) |
| 356 | // ======================================================================= |
| 357 | #define CONTINUE_CHAINcxx . . $ `scripts/osiris_common.h:357:9`! 0x0100 // continue executing the chain of scripts |
| 358 | #define CONTINUE_DEFAULTcxx . . $ `scripts/osiris_common.h:358:9`! 0x0001 // continue executing the 'in-code' action |
| 359 | |
| 360 | // ======================================================================= |
| 361 | // Events that OSIRIS handles |
| 362 | // ======================================================================= |
| 363 | #define EVT_INTERVALcxx . . $ `scripts/osiris_common.h:363:9`! 0x100 // called every frame |
| 364 | #define EVT_AI_FRAMEcxx . . $ `scripts/osiris_common.h:364:9`! 0x101 // called every frame for AI info |
| 365 | #define EVT_DAMAGEDcxx . . $ `scripts/osiris_common.h:365:9`! 0x102 // called when object is damaged |
| 366 | #define EVT_COLLIDEcxx . . $ `scripts/osiris_common.h:366:9`! 0x103 // called when object collides with something |
| 367 | #define EVT_CREATEDcxx . . $ `scripts/osiris_common.h:367:9`! 0x104 // called when object created |
| 368 | #define EVT_DESTROYcxx . . $ `scripts/osiris_common.h:368:9`! 0x105 // called when object destroyed |
| 369 | #define EVT_TIMERcxx . . $ `scripts/osiris_common.h:369:9`! 0x106 // called when a timer event is signalled |
| 370 | #define EVT_USEcxx . . $ `scripts/osiris_common.h:370:9`! 0x107 // called when item is selected for use from inventory |
| 371 | #define EVT_AI_NOTIFYcxx . . $ `scripts/osiris_common.h:371:9`! 0x110 // called when an AI gets notified |
| 372 | #define EVT_AI_INITcxx . . $ `scripts/osiris_common.h:372:9`! 0x111 // called to initialize SCRIPT AI stuff |
| 373 | #define EVT_LEVELSTARTcxx . . $ `scripts/osiris_common.h:373:9`! EVT_CREATED // |
| 374 | #define EVT_LEVELENDcxx . . $ `scripts/osiris_common.h:374:9`! EVT_DESTROY // called when level is started and ended. |
| 375 | #define EVT_CHANGESEGcxx . . $ `scripts/osiris_common.h:375:9`! 0x115 // called when object changes room |
| 376 | #define EVT_SAVESTATEcxx . . $ `scripts/osiris_common.h:376:9`! 0x117 // called when the script should save it's state |
| 377 | #define EVT_RESTORESTATEcxx . . $ `scripts/osiris_common.h:377:9`! 0x118 // called when the script should restore it's state |
| 378 | #define EVT_MEMRESTOREcxx . . $ `scripts/osiris_common.h:378:9`! \ |
| 379 | 0x119 // called when the script should restore a pointer to the special auto-save memory it allocated |
| 380 | #define EVT_TIMERCANCELcxx . . $ `scripts/osiris_common.h:380:9`! 0x11A // called when a timer is cancels (either by function call or from it's object detonator) |
| 381 | #define EVT_AIN_OBJKILLEDcxx . . $ `scripts/osiris_common.h:381:9`! 0x11B // child event of EVT_AI_NOTIFY |
| 382 | #define EVT_AIN_SEEPLAYERcxx . . $ `scripts/osiris_common.h:382:9`! 0x11C // child event of EVT_AI_NOTIFY |
| 383 | #define EVT_AIN_WHITOBJECTcxx . . $ `scripts/osiris_common.h:383:9`! 0x11D // child event of EVT_AI_NOTIFY |
| 384 | #define EVT_AIN_GOALCOMPLETEcxx . . $ `scripts/osiris_common.h:384:9`! 0x11E // child event of EVT_AI_NOTIFY |
| 385 | #define EVT_AIN_GOALFAILcxx . . $ `scripts/osiris_common.h:385:9`! 0x11F // child event of EVT_AI_NOTIFY |
| 386 | #define EVT_AIN_MELEE_HITcxx . . $ `scripts/osiris_common.h:386:9`! 0x120 // child event of EVT_AI_NOTIFY |
| 387 | #define EVT_AIN_MELEE_ATTACK_FRAMEcxx . . $ `scripts/osiris_common.h:387:9`! 0x121 // child event of EVT_AI_NOTIFY |
| 388 | #define EVT_AIN_MOVIE_STARTcxx . . $ `scripts/osiris_common.h:388:9`! 0x122 // child event of EVT_AI_NOTIFY |
| 389 | #define EVT_AIN_MOVIE_ENDcxx . . $ `scripts/osiris_common.h:389:9`! 0x123 // child event of EVT_AI_NOTIFY |
| 390 | #define EVT_MATCEN_CREATEcxx . . $ `scripts/osiris_common.h:390:9`! 0x124 // level event that a matcen created an object |
| 391 | #define EVT_DOOR_ACTIVATEcxx . . $ `scripts/osiris_common.h:391:9`! 0x125 // event to when a door is opening |
| 392 | #define EVT_DOOR_CLOSEcxx . . $ `scripts/osiris_common.h:392:9`! 0x126 // event to when a door is closing |
| 393 | #define EVT_CHILD_DIEDcxx . . $ `scripts/osiris_common.h:393:9`! 0x127 |
| 394 | #define EVT_LEVEL_GOAL_COMPLETEcxx . . $ `scripts/osiris_common.h:394:9`! 0x128 |
| 395 | #define EVT_ALL_LEVEL_GOALS_COMPLETEcxx . . $ `scripts/osiris_common.h:395:9`! 0x129 |
| 396 | #define EVT_LEVEL_GOAL_ITEM_COMPLETEcxx . . $ `scripts/osiris_common.h:396:9`! 0x12A |
| 397 | #define EVT_PLAYER_MOVIE_STARTcxx . . $ `scripts/osiris_common.h:397:9`! 0x12B // event when a IGC focusing on the player starts |
| 398 | #define EVT_PLAYER_MOVIE_ENDcxx . . $ `scripts/osiris_common.h:398:9`! 0x12C // event when a IGC focusing on the player ends |
| 399 | #define EVT_PLAYER_RESPAWNcxx . . $ `scripts/osiris_common.h:399:9`! 0x12D // event when a player respawns |
| 400 | #define EVT_PLAYER_DIEScxx . . $ `scripts/osiris_common.h:400:9`! 0x12E // event when a player dies |
| 401 | |
| 402 | // ======================================================================= |
| 403 | // General defines |
| 404 | // ======================================================================= |
| 405 | #define MAX_MODULEFUNCScxx . . $ `scripts/osiris_common.h:405:9`! 256 // maximum number of functions imported to OSIRIS |
| 406 | |
| 407 | typedef int OMMSHANDLEcxx . . $ OMMSHANDLE#; |
| 408 | |
| 409 | // ======================================================================= |
| 410 | // Language defines |
| 411 | // ======================================================================= |
| 412 | #define LANGUAGE_ENGLISHcxx . . $ `scripts/osiris_common.h:412:9`! 0 |
| 413 | #define LANGUAGE_GERMANcxx . . $ `scripts/osiris_common.h:413:9`! 1 |
| 414 | #define LANGUAGE_SPANISHcxx . . $ `scripts/osiris_common.h:414:9`! 2 |
| 415 | #define LANGUAGE_ITALIANcxx . . $ `scripts/osiris_common.h:415:9`! 3 |
| 416 | #define LANGUAGE_FRENCHcxx . . $ `scripts/osiris_common.h:416:9`! 4 |
| 417 | #define LANGUAGE_POLISHcxx . . $ `scripts/osiris_common.h:417:9`! 5 |
| 418 | |
| 419 | // Player Accessories indices (for Player_Value function) |
| 420 | #define ACCESSORY_CLOAKcxx . . $ `scripts/osiris_common.h:420:9`! 0 |
| 421 | #define ACCESSORY_INVULNERABILITYcxx . . $ `scripts/osiris_common.h:421:9`! 1 |
| 422 | #define ACCESSORY_AFTERBURNERcxx . . $ `scripts/osiris_common.h:422:9`! 2 |
| 423 | #define ACCESSORY_HEADLIGHTcxx . . $ `scripts/osiris_common.h:423:9`! 3 |
| 424 | #define ACCESSORY_QUADcxx . . $ `scripts/osiris_common.h:424:9`! 4 |
| 425 | #define ACCESSORY_RAPID_FIREcxx . . $ `scripts/osiris_common.h:425:9`! 5 |
| 426 | #define ACCESSORY_MAPcxx . . $ `scripts/osiris_common.h:426:9`! 6 |
| 427 | |
| 428 | #define MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! 0 |
| 429 | #define MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! 20 |
| 430 | #define MSAFE_WEATHERcxx . . $ `scripts/osiris_common.h:430:9`! 100 |
| 431 | #define MSAFE_SOUNDcxx . . $ `scripts/osiris_common.h:431:9`! 110 |
| 432 | #define MSAFE_MATCENcxx . . $ `scripts/osiris_common.h:432:9`! 130 |
| 433 | #define MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! 150 |
| 434 | #define MSAFE_DOORcxx . . $ `scripts/osiris_common.h:434:9`! 170 |
| 435 | #define MSAFE_MISSIONcxx . . $ `scripts/osiris_common.h:435:9`! 180 |
| 436 | #define MSAFE_TRIGGERcxx . . $ `scripts/osiris_common.h:436:9`! 190 |
| 437 | #define MSAFE_INVENcxx . . $ `scripts/osiris_common.h:437:9`! 200 |
| 438 | #define MSAFE_COUNTERMEASUREcxx . . $ `scripts/osiris_common.h:438:9`! 210 |
| 439 | #define MSAFE_WEAPONcxx . . $ `scripts/osiris_common.h:439:9`! 250 |
| 440 | |
| 441 | #define SPEW_RAND_SPEEDcxx . . $ `scripts/osiris_common.h:441:9`! 2 |
| 442 | #define SPEW_RAND_SIZEcxx . . $ `scripts/osiris_common.h:442:9`! 4 |
| 443 | #define SPEW_RAND_LIFETIMEcxx . . $ `scripts/osiris_common.h:443:9`! 16 |
| 444 | |
| 445 | // ======================================================================= |
| 446 | // Value Functions |
| 447 | // ======================================================================= |
| 448 | |
| 449 | #define VF_SETcxx . . $ `scripts/osiris_common.h:449:9`! 0 |
| 450 | #define VF_GETcxx . . $ `scripts/osiris_common.h:450:9`! 1 |
| 451 | #define VF_SET_FLAGScxx . . $ `scripts/osiris_common.h:451:9`! 2 |
| 452 | #define VF_CLEAR_FLAGScxx . . $ `scripts/osiris_common.h:452:9`! 3 |
| 453 | |
| 454 | // ======================================================================= |
| 455 | // Value - Player only values |
| 456 | // ======================================================================= |
| 457 | |
| 458 | #define PLYV_F_ENERGYcxx . . $ `scripts/osiris_common.h:458:9`! 0 |
| 459 | #define PLYV_F_MOVEMENT_SCALARcxx . . $ `scripts/osiris_common.h:459:9`! 1 |
| 460 | #define PLYV_F_RECHARGE_SCALARcxx . . $ `scripts/osiris_common.h:460:9`! 2 |
| 461 | #define PLYV_F_WSPEED_SCALARcxx . . $ `scripts/osiris_common.h:461:9`! 3 |
| 462 | #define PLYV_F_DAMAGE_SCALARcxx . . $ `scripts/osiris_common.h:462:9`! 4 |
| 463 | #define PLYV_F_ARMOR_SCALARcxx . . $ `scripts/osiris_common.h:463:9`! 5 |
| 464 | #define PLYV_I_BUDDY_HANDLEcxx . . $ `scripts/osiris_common.h:464:9`! 6 |
| 465 | |
| 466 | // These work off the weapon index |
| 467 | #define PLYSV_I_WEAPONcxx . . $ `scripts/osiris_common.h:467:9`! 7 |
| 468 | #define PLYSV_I_WEAPON_AMMOcxx . . $ `scripts/osiris_common.h:468:9`! 8 |
| 469 | #define PLYSV_US_WEAPON_POWERUP_IDcxx . . $ `scripts/osiris_common.h:469:9`! 9 |
| 470 | |
| 471 | // These work off the accessory index |
| 472 | #define PLYSV_F_ACCESSORYcxx . . $ `scripts/osiris_common.h:472:9`! 10 |
| 473 | |
| 474 | // This is for setting and getting the guidebot name |
| 475 | #define PLYV_CS_GUIDEBOTNAMEcxx . . $ `scripts/osiris_common.h:475:9`! 11 |
| 476 | |
| 477 | // this is for thief access |
| 478 | #define PLYV_B_THIEF_PLAYERHASITEMcxx . . $ `scripts/osiris_common.h:478:9`! 12 // VF_GET only (takes a bool for ptr, int for index..which item..see THIEFITEM_) |
| 479 | #define PLYV_I_THIEF_STEALPLAYERITEMcxx . . $ `scripts/osiris_common.h:479:9`! 13 // VF_SET only (takes an int for index, ptr is ignored) |
| 480 | |
| 481 | #define PLYV_I_FLAGScxx . . $ `scripts/osiris_common.h:481:9`! 14 // Player flags |
| 482 | #define PLYV_I_STRIP_WEAPONScxx . . $ `scripts/osiris_common.h:482:9`! 15 // VF_SET only (removes all weapons but lasers, sets energy to 0) |
| 483 | |
| 484 | // These are used to mask out various controls, put in initially for the training system |
| 485 | #define PLYV_CMASK_FORWARDcxx . . $ `scripts/osiris_common.h:485:9`! 1 |
| 486 | #define PLYV_CMASK_REVERSEcxx . . $ `scripts/osiris_common.h:486:9`! 2 |
| 487 | #define PLYV_CMASK_LEFTcxx . . $ `scripts/osiris_common.h:487:9`! 4 |
| 488 | #define PLYV_CMASK_RIGHTcxx . . $ `scripts/osiris_common.h:488:9`! 8 |
| 489 | #define PLYV_CMASK_UPcxx . . $ `scripts/osiris_common.h:489:9`! 16 |
| 490 | #define PLYV_CMASK_DOWNcxx . . $ `scripts/osiris_common.h:490:9`! 32 |
| 491 | #define PLYV_CMASK_PITCHUPcxx . . $ `scripts/osiris_common.h:491:9`! 64 |
| 492 | #define PLYV_CMASK_PITCHDOWNcxx . . $ `scripts/osiris_common.h:492:9`! 128 |
| 493 | #define PLYV_CMASK_HEADINGLEFTcxx . . $ `scripts/osiris_common.h:493:9`! 256 |
| 494 | #define PLYV_CMASK_HEADINGRIGHTcxx . . $ `scripts/osiris_common.h:494:9`! 512 |
| 495 | #define PLYV_CMASK_BANKLEFTcxx . . $ `scripts/osiris_common.h:495:9`! 1024 |
| 496 | #define PLYV_CMASK_BANKRIGHTcxx . . $ `scripts/osiris_common.h:496:9`! 2048 |
| 497 | #define PLYV_CMASK_PRIMARYcxx . . $ `scripts/osiris_common.h:497:9`! 4096 |
| 498 | #define PLYV_CMASK_SECONDARYcxx . . $ `scripts/osiris_common.h:498:9`! 8192 |
| 499 | #define PLYV_CMASK_AFTERBURNERcxx . . $ `scripts/osiris_common.h:499:9`! 16384 |
| 500 | |
| 501 | // ======================================================================= |
| 502 | // Value - AI Values |
| 503 | // ======================================================================= |
| 504 | |
| 505 | #define AIV_F_MAX_SPEEDcxx . . $ `scripts/osiris_common.h:505:9`! 0 |
| 506 | #define AIV_F_MAX_DELTA_SPEEDcxx . . $ `scripts/osiris_common.h:506:9`! 1 |
| 507 | #define AIV_F_MAX_TURN_RATEcxx . . $ `scripts/osiris_common.h:507:9`! 2 |
| 508 | #define AIV_F_MAX_DELTA_TURN_RATEcxx . . $ `scripts/osiris_common.h:508:9`! 3 |
| 509 | #define AIV_F_ATTACK_VEL_PERCENTcxx . . $ `scripts/osiris_common.h:509:9`! 4 |
| 510 | #define AIV_F_FLEE_VEL_PERCENTcxx . . $ `scripts/osiris_common.h:510:9`! 5 |
| 511 | #define AIV_F_DODGE_VEL_PERCENTcxx . . $ `scripts/osiris_common.h:511:9`! 6 |
| 512 | #define AIV_F_CIRCLE_DISTcxx . . $ `scripts/osiris_common.h:512:9`! 7 |
| 513 | #define AIV_F_DODGE_PERCENTcxx . . $ `scripts/osiris_common.h:513:9`! 8 |
| 514 | #define AIV_F_MELEE_DAMAGE1cxx . . $ `scripts/osiris_common.h:514:9`! 9 |
| 515 | #define AIV_F_MELEE_DAMAGE2cxx . . $ `scripts/osiris_common.h:515:9`! 10 |
| 516 | #define AIV_F_MELEE_LATENCY1cxx . . $ `scripts/osiris_common.h:516:9`! 11 |
| 517 | #define AIV_F_MELEE_LATENCY2cxx . . $ `scripts/osiris_common.h:517:9`! 12 |
| 518 | #define AIV_C_MOVEMENT_TYPEcxx . . $ `scripts/osiris_common.h:518:9`! 13 |
| 519 | #define AIV_C_MOVEMENT_SUBTYPEcxx . . $ `scripts/osiris_common.h:519:9`! 14 |
| 520 | #define AIV_C_ANIMATION_TYPEcxx . . $ `scripts/osiris_common.h:520:9`! 15 |
| 521 | #define AIV_C_NEXT_ANIMATION_TYPEcxx . . $ `scripts/osiris_common.h:521:9`! 16 |
| 522 | #define AIV_C_NEXT_MOVEMENTcxx . . $ `scripts/osiris_common.h:522:9`! 17 |
| 523 | #define AIV_C_CURRENT_WB_FIRINGcxx . . $ `scripts/osiris_common.h:523:9`! 18 |
| 524 | #define AIV_I_TARGET_HANDLEcxx . . $ `scripts/osiris_common.h:524:9`! 19 |
| 525 | #define AIV_F_NEXT_TARGET_UPDATE_TIMEcxx . . $ `scripts/osiris_common.h:525:9`! 20 |
| 526 | #define AIV_F_DIST_TO_TARGETcxx . . $ `scripts/osiris_common.h:526:9`! 21 |
| 527 | #define AIV_V_VEC_TO_TARGETcxx . . $ `scripts/osiris_common.h:527:9`! 22 |
| 528 | #define AIV_F_NEXT_CHECK_SEE_TARGET_TIMEcxx . . $ `scripts/osiris_common.h:528:9`! 23 |
| 529 | #define AIV_V_LAST_SEE_TARGET_POScxx . . $ `scripts/osiris_common.h:529:9`! 24 |
| 530 | #define AIV_F_LAST_SEE_TARGET_TIMEcxx . . $ `scripts/osiris_common.h:530:9`! 25 |
| 531 | #define AIV_F_WEAPON_SPEEDcxx . . $ `scripts/osiris_common.h:531:9`! 26 |
| 532 | #define AIV_F_NEXT_MELEE_TIMEcxx . . $ `scripts/osiris_common.h:532:9`! 27 |
| 533 | #define AIV_F_LAST_RENDER_TIMEcxx . . $ `scripts/osiris_common.h:533:9`! 28 |
| 534 | #define AIV_F_NEXT_FLINCH_TIMEcxx . . $ `scripts/osiris_common.h:534:9`! 29 |
| 535 | #define AIV_V_MOVEMENT_DIRcxx . . $ `scripts/osiris_common.h:535:9`! 30 |
| 536 | #define AIV_V_ROT_THRUST_VECTORcxx . . $ `scripts/osiris_common.h:536:9`! 31 |
| 537 | #define AIV_F_FOVcxx . . $ `scripts/osiris_common.h:537:9`! 32 |
| 538 | #define AIV_F_AVOID_FRIENDS_DISTcxx . . $ `scripts/osiris_common.h:538:9`! 33 |
| 539 | #define AIV_F_FRUSTRATIONcxx . . $ `scripts/osiris_common.h:539:9`! 34 |
| 540 | #define AIV_F_CURIOUSITYcxx . . $ `scripts/osiris_common.h:540:9`! 35 |
| 541 | #define AIV_F_FIRE_SPREADcxx . . $ `scripts/osiris_common.h:541:9`! 36 |
| 542 | #define AIV_F_AGRESSIONcxx . . $ `scripts/osiris_common.h:542:9`! 37 |
| 543 | #define AIV_F_NIGHT_VISIONcxx . . $ `scripts/osiris_common.h:543:9`! 38 |
| 544 | #define AIV_F_FOG_VISIONcxx . . $ `scripts/osiris_common.h:544:9`! 39 |
| 545 | #define AIV_F_LEAD_ACCURACYcxx . . $ `scripts/osiris_common.h:545:9`! 40 |
| 546 | #define AIV_F_LEAD_VARIENCEcxx . . $ `scripts/osiris_common.h:546:9`! 41 |
| 547 | #define AIV_F_FIGHT_TEAMcxx . . $ `scripts/osiris_common.h:547:9`! 42 |
| 548 | #define AIV_F_FIGHT_SAMEcxx . . $ `scripts/osiris_common.h:548:9`! 43 |
| 549 | #define AIV_F_HEARINGcxx . . $ `scripts/osiris_common.h:549:9`! 44 |
| 550 | #define AIV_F_ROAMINGcxx . . $ `scripts/osiris_common.h:550:9`! 45 |
| 551 | #define AIV_F_LIFE_PRESERVATIONcxx . . $ `scripts/osiris_common.h:551:9`! 46 |
| 552 | #define AIV_F_BIASED_FLIGHT_IMPORTANCEcxx . . $ `scripts/osiris_common.h:552:9`! 47 |
| 553 | #define AIV_F_BIASED_FLIGHT_MINcxx . . $ `scripts/osiris_common.h:553:9`! 48 |
| 554 | #define AIV_F_BIASED_FLIGHT_MAXcxx . . $ `scripts/osiris_common.h:554:9`! 49 |
| 555 | #define AIV_F_AWARENESScxx . . $ `scripts/osiris_common.h:555:9`! 50 |
| 556 | #define AIV_I_FLAGScxx . . $ `scripts/osiris_common.h:556:9`! 51 |
| 557 | #define AIV_I_STATUS_REGcxx . . $ `scripts/osiris_common.h:557:9`! 52 |
| 558 | #define AIV_F_LAST_HEAR_TARGET_TIMEcxx . . $ `scripts/osiris_common.h:558:9`! 53 |
| 559 | |
| 560 | // ======================================================================= |
| 561 | // Value - AI Values |
| 562 | // ======================================================================= |
| 563 | |
| 564 | #define AIGV_I_TYPEcxx . . $ `scripts/osiris_common.h:564:9`! 0 |
| 565 | #define AIGV_C_ACTIVATION_LEVELcxx . . $ `scripts/osiris_common.h:565:9`! 1 |
| 566 | #define AIGV_F_MIN_INFLUENCEcxx . . $ `scripts/osiris_common.h:566:9`! 2 |
| 567 | #define AIGV_F_MAX_INFLUENCEcxx . . $ `scripts/osiris_common.h:567:9`! 3 |
| 568 | |
| 569 | #define AIGSV_F_INFLUENCE_DISTcxx . . $ `scripts/osiris_common.h:569:9`! 4 |
| 570 | |
| 571 | #define AIGV_I_HANDLEcxx . . $ `scripts/osiris_common.h:571:9`! 5 |
| 572 | #define AIGV_I_ROOMNUMcxx . . $ `scripts/osiris_common.h:572:9`! 6 |
| 573 | #define AIGV_I_F_ACTIONScxx . . $ `scripts/osiris_common.h:573:9`! 7 |
| 574 | #define AIGV_I_IDcxx . . $ `scripts/osiris_common.h:574:9`! 8 |
| 575 | #define AIGV_C_SUBTYPEcxx . . $ `scripts/osiris_common.h:575:9`! 9 |
| 576 | #define AIGV_F_TIMEcxx . . $ `scripts/osiris_common.h:576:9`! 10 |
| 577 | #define AIGV_V_VECcxx . . $ `scripts/osiris_common.h:577:9`! 11 |
| 578 | #define AIGV_V_POScxx . . $ `scripts/osiris_common.h:578:9`! 12 |
| 579 | #define AIGV_F_STEER_MIN_DISTcxx . . $ `scripts/osiris_common.h:579:9`! 13 |
| 580 | #define AIGV_F_STEER_MAX_DISTcxx . . $ `scripts/osiris_common.h:580:9`! 14 |
| 581 | #define AIGV_F_STEER_MAX_STRENGTHcxx . . $ `scripts/osiris_common.h:581:9`! 15 |
| 582 | #define AIGV_B_ATTACH_F_ALIGNEDcxx . . $ `scripts/osiris_common.h:582:9`! 16 |
| 583 | #define AIGV_B_ATTACH_F_SPHEREcxx . . $ `scripts/osiris_common.h:583:9`! 17 |
| 584 | #define AIGV_F_ATTACH_RADcxx . . $ `scripts/osiris_common.h:584:9`! 18 |
| 585 | #define AIGV_C_ATTACH_CHILD_APcxx . . $ `scripts/osiris_common.h:585:9`! 19 |
| 586 | #define AIGV_C_ATTACH_PARENT_APcxx . . $ `scripts/osiris_common.h:586:9`! 20 |
| 587 | #define AIGV_I_WANDER_AVOID_HANDLEcxx . . $ `scripts/osiris_common.h:587:9`! 21 |
| 588 | #define AIGV_C_WANDER_MIN_ROOMScxx . . $ `scripts/osiris_common.h:588:9`! 22 |
| 589 | #define AIGV_C_WANDER_MAX_ROOMScxx . . $ `scripts/osiris_common.h:589:9`! 23 |
| 590 | #define AIGV_C_WANDER_FLAGScxx . . $ `scripts/osiris_common.h:590:9`! 24 |
| 591 | #define AIGV_C_WANDER_MINE_INDEXcxx . . $ `scripts/osiris_common.h:591:9`! 25 |
| 592 | #define AIGV_F_CIRCLE_DISTcxx . . $ `scripts/osiris_common.h:592:9`! 26 |
| 593 | #define AIGV_I_STATUS_REGcxx . . $ `scripts/osiris_common.h:593:9`! 27 |
| 594 | #define AIGV_F_START_TIMEcxx . . $ `scripts/osiris_common.h:594:9`! 28 |
| 595 | #define AIGV_F_NEXT_PATH_TIMEcxx . . $ `scripts/osiris_common.h:595:9`! 29 |
| 596 | #define AIGV_F_DIST_TO_GOALcxx . . $ `scripts/osiris_common.h:596:9`! 30 |
| 597 | #define AIGV_V_VEC_TO_TARGETcxx . . $ `scripts/osiris_common.h:597:9`! 31 |
| 598 | #define AIGV_F_NEXT_CHECK_SEE_TARGET_TIMEcxx . . $ `scripts/osiris_common.h:598:9`! 32 |
| 599 | #define AIGV_V_LAST_SEE_TARGET_POScxx . . $ `scripts/osiris_common.h:599:9`! 33 |
| 600 | #define AIGV_F_LAST_SEE_TARGET_TIMEcxx . . $ `scripts/osiris_common.h:600:9`! 34 |
| 601 | #define AIGV_F_NEXT_TARGET_UPDATE_TIMEcxx . . $ `scripts/osiris_common.h:601:9`! 35 |
| 602 | #define AIGV_I_FLAGScxx . . $ `scripts/osiris_common.h:602:9`! 36 |
| 603 | #define AIGV_V_ORIENT_FVECcxx . . $ `scripts/osiris_common.h:603:9`! 37 |
| 604 | #define AIGV_V_ORIENT_UVECcxx . . $ `scripts/osiris_common.h:604:9`! 38 |
| 605 | |
| 606 | #define AIGV_C_NUM_ENABLERScxx . . $ `scripts/osiris_common.h:606:9`! 39 |
| 607 | #define AIGSV_C_ENABLER_TYPEcxx . . $ `scripts/osiris_common.h:607:9`! 40 |
| 608 | #define AIGSV_F_ENABLER_TIMEcxx . . $ `scripts/osiris_common.h:608:9`! 41 |
| 609 | #define AIGSV_C_ENABLER_MTYPEcxx . . $ `scripts/osiris_common.h:609:9`! 42 |
| 610 | #define AIGSV_F_ENABLER_FLOAT_VALUEcxx . . $ `scripts/osiris_common.h:610:9`! 43 |
| 611 | #define AIGSV_I_ENABLER_FLAGScxx . . $ `scripts/osiris_common.h:611:9`! 44 |
| 612 | #define AIGSV_F_ENABLER_DISTcxx . . $ `scripts/osiris_common.h:612:9`! 45 |
| 613 | #define AIGSV_F_ENABLER_PERCENTcxx . . $ `scripts/osiris_common.h:613:9`! 46 |
| 614 | #define AIGSV_F_ENABLER_CHECK_INTERVALcxx . . $ `scripts/osiris_common.h:614:9`! 47 |
| 615 | #define AIGSV_F_ENABLER_LAST_CHECK_TIMEcxx . . $ `scripts/osiris_common.h:615:9`! 48 |
| 616 | #define AIGSV_C_ENABLER_NEXT_ENABLER_OPcxx . . $ `scripts/osiris_common.h:616:9`! 49 |
| 617 | |
| 618 | #define AIGV_B_USEDcxx . . $ `scripts/osiris_common.h:618:9`! 50 |
| 619 | #define AIGV_I_SCRIPTED_DATA_PTRcxx . . $ `scripts/osiris_common.h:619:9`! 51 |
| 620 | |
| 621 | // ======================================================================= |
| 622 | // Value - Object Values |
| 623 | // ======================================================================= |
| 624 | |
| 625 | #define OBJV_F_SHIELDScxx . . $ `scripts/osiris_common.h:625:9`! 0 |
| 626 | #define OBJV_I_TYPEcxx . . $ `scripts/osiris_common.h:626:9`! 1 |
| 627 | #define OBJV_US_IDcxx . . $ `scripts/osiris_common.h:627:9`! 2 |
| 628 | #define OBJV_V_POScxx . . $ `scripts/osiris_common.h:628:9`! 3 |
| 629 | #define OBJV_M_ORIENTcxx . . $ `scripts/osiris_common.h:629:9`! 4 |
| 630 | #define OBJV_I_ROOMNUMcxx . . $ `scripts/osiris_common.h:630:9`! 5 |
| 631 | #define OBJV_V_VELOCITYcxx . . $ `scripts/osiris_common.h:631:9`! 6 |
| 632 | #define OBJV_V_ROTVELOCITYcxx . . $ `scripts/osiris_common.h:632:9`! 7 |
| 633 | #define OBJV_V_THRUSTcxx . . $ `scripts/osiris_common.h:633:9`! 8 |
| 634 | #define OBJV_V_ROTTHRUSTcxx . . $ `scripts/osiris_common.h:634:9`! 9 |
| 635 | #define OBJV_I_FLAGScxx . . $ `scripts/osiris_common.h:635:9`! 10 |
| 636 | #define OBJV_F_SIZEcxx . . $ `scripts/osiris_common.h:636:9`! 11 |
| 637 | #define OBJV_C_CONTROL_TYPEcxx . . $ `scripts/osiris_common.h:637:9`! 12 |
| 638 | #define OBJV_C_MOVEMENT_TYPEcxx . . $ `scripts/osiris_common.h:638:9`! 13 |
| 639 | #define OBJV_F_CREATION_TIMEcxx . . $ `scripts/osiris_common.h:639:9`! 14 |
| 640 | #define OBJV_F_ROTDRAGcxx . . $ `scripts/osiris_common.h:640:9`! 15 |
| 641 | #define OBJV_I_PHYSICS_FLAGScxx . . $ `scripts/osiris_common.h:641:9`! 16 |
| 642 | #define OBJV_I_PARENT_HANDLEcxx . . $ `scripts/osiris_common.h:642:9`! 17 |
| 643 | #define OBJV_F_ANIM_FRAMEcxx . . $ `scripts/osiris_common.h:643:9`! 18 |
| 644 | #define OBJV_F_MAX_SHIELDScxx . . $ `scripts/osiris_common.h:644:9`! 19 |
| 645 | #define OBJV_PC_MARKER_MESSAGEcxx . . $ `scripts/osiris_common.h:645:9`! 20 |
| 646 | #define OBJSV_F_ANIM_STARTcxx . . $ `scripts/osiris_common.h:646:9`! 21 |
| 647 | #define OBJSV_F_ANIM_ENDcxx . . $ `scripts/osiris_common.h:647:9`! 22 |
| 648 | #define OBJSV_F_ANIM_TIMEcxx . . $ `scripts/osiris_common.h:648:9`! 23 |
| 649 | #define OBJV_S_NAMEcxx . . $ `scripts/osiris_common.h:649:9`! 24 // object's name |
| 650 | #define OBJV_C_VIRUS_INFECTEDcxx . . $ `scripts/osiris_common.h:650:9`! 25 // the object show signs of virus infection |
| 651 | #define OBJV_C_NEGATIVE_LIGHTcxx . . $ `scripts/osiris_common.h:651:9`! 26 // the object casts negative light (black hole) |
| 652 | #define OBJV_C_IS_CLOAKEDcxx . . $ `scripts/osiris_common.h:652:9`! 27 // is object cloaked? |
| 653 | #define OBJV_PI_HACK_FVI_IGNORE_LISTcxx . . $ `scripts/osiris_common.h:653:9`! 28 |
| 654 | |
| 655 | // ======================================================================= |
| 656 | // Value - Object Weapon Battery Values |
| 657 | // ======================================================================= |
| 658 | |
| 659 | #define WBV_F_ANIM_FRAMEcxx . . $ `scripts/osiris_common.h:659:9`! 0 |
| 660 | #define WBV_F_LAST_FIRE_TIMEcxx . . $ `scripts/osiris_common.h:660:9`! 1 |
| 661 | #define WBV_I_DYNAMIC_FLAGScxx . . $ `scripts/osiris_common.h:661:9`! 2 |
| 662 | |
| 663 | // WBSV values use the index parameter of Obj_WBValue() for the gun point index |
| 664 | #define WBV_C_NUM_GUNPTScxx . . $ `scripts/osiris_common.h:664:9`! 3 |
| 665 | #define WBSV_US_GUNPT_WEAPON_IDcxx . . $ `scripts/osiris_common.h:665:9`! 4 |
| 666 | #define WBSV_V_GUNPT_POScxx . . $ `scripts/osiris_common.h:666:9`! 5 |
| 667 | |
| 668 | // WBSV values use the index parameter of Obj_WBValue() for the firing mask index |
| 669 | #define WBV_C_NUM_MASKScxx . . $ `scripts/osiris_common.h:669:9`! 6 |
| 670 | #define WBSV_C_MASKcxx . . $ `scripts/osiris_common.h:670:9`! 7 |
| 671 | #define WBSV_I_FIRE_SOUNDcxx . . $ `scripts/osiris_common.h:671:9`! 8 |
| 672 | #define WBSV_F_LATENCYcxx . . $ `scripts/osiris_common.h:672:9`! 9 |
| 673 | #define WBSV_F_ANIM_TIMEcxx . . $ `scripts/osiris_common.h:673:9`! 10 |
| 674 | #define WBSV_F_ANIM_STARTcxx . . $ `scripts/osiris_common.h:674:9`! 11 |
| 675 | #define WBSV_F_ANIM_FIREcxx . . $ `scripts/osiris_common.h:675:9`! 12 |
| 676 | #define WBSV_F_ANIM_ENDcxx . . $ `scripts/osiris_common.h:676:9`! 13 |
| 677 | |
| 678 | #define WBV_C_NUM_WBScxx . . $ `scripts/osiris_common.h:678:9`! 14 |
| 679 | |
| 680 | // ======================================================================= |
| 681 | // Value - Room Values |
| 682 | // ======================================================================= |
| 683 | |
| 684 | #define RMV_I_FLAGScxx . . $ `scripts/osiris_common.h:684:9`! 0 |
| 685 | #define RMV_V_WINDcxx . . $ `scripts/osiris_common.h:685:9`! 1 |
| 686 | #define RMV_C_USEDcxx . . $ `scripts/osiris_common.h:686:9`! 2 |
| 687 | |
| 688 | #define RMV_I_NUM_PATH_PNTScxx . . $ `scripts/osiris_common.h:688:9`! 3 |
| 689 | #define RMSV_V_PATH_PNTcxx . . $ `scripts/osiris_common.h:689:9`! 4 |
| 690 | |
| 691 | #define RMV_I_NUM_FACEScxx . . $ `scripts/osiris_common.h:691:9`! 5 |
| 692 | #define RMSV_I_FACE_TEXTURE_IDcxx . . $ `scripts/osiris_common.h:692:9`! 6 |
| 693 | #define RMSV_I_FACE_FLAGScxx . . $ `scripts/osiris_common.h:693:9`! 7 |
| 694 | #define RMSV_V_FACE_NORMALcxx . . $ `scripts/osiris_common.h:694:9`! 8 |
| 695 | #define RMSV_V_FACE_CENTER_PNTcxx . . $ `scripts/osiris_common.h:695:9`! 14 // I didn't want to reorder the other ones as it is late in the build process |
| 696 | |
| 697 | #define RMV_I_NUM_PORTALScxx . . $ `scripts/osiris_common.h:697:9`! 9 |
| 698 | #define RMSV_V_PORTAL_PATH_PNTcxx . . $ `scripts/osiris_common.h:698:9`! 10 |
| 699 | #define RMSV_I_PORTAL_CONNECT_ROOMcxx . . $ `scripts/osiris_common.h:699:9`! 11 |
| 700 | #define RMSV_I_PORTAL_CONNECT_PORTALcxx . . $ `scripts/osiris_common.h:700:9`! 12 |
| 701 | #define RMSV_I_PORTAL_FACEcxx . . $ `scripts/osiris_common.h:701:9`! 13 |
| 702 | #define RMSV_I_PORTAL_FLAGScxx . . $ `scripts/osiris_common.h:702:9`! 15 |
| 703 | |
| 704 | #define RMV_F_DAMAGEcxx . . $ `scripts/osiris_common.h:704:9`! 16 |
| 705 | |
| 706 | // ======================================================================= |
| 707 | // Value - Level Goal Values |
| 708 | // ======================================================================= |
| 709 | |
| 710 | #define LGV_I_STATUScxx . . $ `scripts/osiris_common.h:710:9`! 0 |
| 711 | |
| 712 | #define LGV_I_NUM_ACTIVE_PRIMARIEScxx . . $ `scripts/osiris_common.h:712:9`! 1 |
| 713 | #define LGSV_I_ACTIVE_PRIMARY_GOALcxx . . $ `scripts/osiris_common.h:713:9`! 2 |
| 714 | |
| 715 | #define LGV_I_NUM_ACTIVE_SECONDARIEScxx . . $ `scripts/osiris_common.h:715:9`! 3 |
| 716 | #define LGSV_I_ACTIVE_SECONDARY_GOALcxx . . $ `scripts/osiris_common.h:716:9`! 4 |
| 717 | |
| 718 | #define LGV_I_NUM_GOALScxx . . $ `scripts/osiris_common.h:718:9`! 5 |
| 719 | #define LGSV_PC_GOAL_NAMEcxx . . $ `scripts/osiris_common.h:719:9`! 6 |
| 720 | #define LGSV_PC_LOCATION_NAMEcxx . . $ `scripts/osiris_common.h:720:9`! 7 |
| 721 | #define LGSV_PC_DESCRIPTIONcxx . . $ `scripts/osiris_common.h:721:9`! 8 |
| 722 | #define LGSV_PC_COMPLETION_MESSAGEcxx . . $ `scripts/osiris_common.h:722:9`! 9 |
| 723 | #define LGSV_I_PRIORITYcxx . . $ `scripts/osiris_common.h:723:9`! 10 |
| 724 | #define LGSV_C_GOAL_LISTcxx . . $ `scripts/osiris_common.h:724:9`! 11 |
| 725 | #define LGSV_I_STATUScxx . . $ `scripts/osiris_common.h:725:9`! 12 |
| 726 | |
| 727 | #define LGSV_I_NUM_ITEMScxx . . $ `scripts/osiris_common.h:727:9`! 13 |
| 728 | #define LGSSV_C_ITEM_TYPEcxx . . $ `scripts/osiris_common.h:728:9`! 14 |
| 729 | #define LGSSV_I_ITEM_HANDLEcxx . . $ `scripts/osiris_common.h:729:9`! 15 |
| 730 | #define LGSSV_B_ITEM_DONEcxx . . $ `scripts/osiris_common.h:730:9`! 16 |
| 731 | |
| 732 | // ======================================================================= |
| 733 | // Value - Matcen Values |
| 734 | // ======================================================================= |
| 735 | |
| 736 | #define MTNV_C_ATTACH_TYPEcxx . . $ `scripts/osiris_common.h:736:9`! 0 |
| 737 | #define MTNV_C_CONTROL_TYPEcxx . . $ `scripts/osiris_common.h:737:9`! 1 |
| 738 | #define MTNV_I_ATTACHcxx . . $ `scripts/osiris_common.h:738:9`! 2 |
| 739 | #define MTNV_V_CREATE_POINTcxx . . $ `scripts/osiris_common.h:739:9`! 3 |
| 740 | #define MTNV_I_CREATE_ROOMcxx . . $ `scripts/osiris_common.h:740:9`! 4 |
| 741 | #define MTNV_PC_NAMEcxx . . $ `scripts/osiris_common.h:741:9`! 5 |
| 742 | #define MTNV_I_MAX_PRODcxx . . $ `scripts/osiris_common.h:742:9`! 6 |
| 743 | #define MTNV_F_PROD_MULTIPLIERcxx . . $ `scripts/osiris_common.h:743:9`! 7 |
| 744 | #define MTNV_I_STATUScxx . . $ `scripts/osiris_common.h:744:9`! 8 |
| 745 | #define MTNV_C_CREATION_EFFECTcxx . . $ `scripts/osiris_common.h:745:9`! 9 |
| 746 | #define MTNV_I_MAX_ALIVE_CHILDRENcxx . . $ `scripts/osiris_common.h:746:9`! 10 |
| 747 | #define MTNV_F_PRE_PROD_TIMEcxx . . $ `scripts/osiris_common.h:747:9`! 11 |
| 748 | #define MTNV_F_POST_PROD_TIMEcxx . . $ `scripts/osiris_common.h:748:9`! 12 |
| 749 | #define MTNV_S_CREATION_TEXTUREcxx . . $ `scripts/osiris_common.h:749:9`! 13 |
| 750 | |
| 751 | #define MTNSV_I_SOUNDcxx . . $ `scripts/osiris_common.h:751:9`! 14 |
| 752 | |
| 753 | #define MTNV_C_NUM_SPAWN_PTScxx . . $ `scripts/osiris_common.h:753:9`! 15 |
| 754 | #define MTNSV_I_SPAWN_POINTcxx . . $ `scripts/osiris_common.h:754:9`! 16 |
| 755 | |
| 756 | #define MTNV_C_NUM_PROD_TYPEScxx . . $ `scripts/osiris_common.h:756:9`! 17 |
| 757 | #define MTNSV_I_PROD_ITEM_IDcxx . . $ `scripts/osiris_common.h:757:9`! 18 |
| 758 | #define MTNSV_I_PROD_ITEM_PRIORITYcxx . . $ `scripts/osiris_common.h:758:9`! 19 |
| 759 | #define MTNSV_F_PROD_ITEM_TIMEcxx . . $ `scripts/osiris_common.h:759:9`! 20 |
| 760 | #define MTNSV_I_PROD_ITEM_MAX_PRODcxx . . $ `scripts/osiris_common.h:760:9`! 21 |
| 761 | |
| 762 | // ======================================================================= |
| 763 | // inventory add flags |
| 764 | // ======================================================================= |
| 765 | #define INVAF_NOTSPEWABLEcxx . . $ `scripts/osiris_common.h:765:9`! 0x0001 |
| 766 | #define INVAF_TIMEOUTONSPEWcxx . . $ `scripts/osiris_common.h:766:9`! 0x0002 |
| 767 | #define INVAF_LEVELLASTcxx . . $ `scripts/osiris_common.h:767:9`! 0x0004 |
| 768 | |
| 769 | // ======================================================================= |
| 770 | // thief stealable items (see PLYV_ actions) |
| 771 | // ======================================================================= |
| 772 | #define THIEFITEM_AUTOMAPcxx . . $ `scripts/osiris_common.h:772:9`! 1 |
| 773 | #define THIEFITEM_HEADLIGHTcxx . . $ `scripts/osiris_common.h:773:9`! 2 |
| 774 | #define THIEFITEM_ETOSCONVcxx . . $ `scripts/osiris_common.h:774:9`! 3 |
| 775 | #define THIEFITEM_CLOAKcxx . . $ `scripts/osiris_common.h:775:9`! 4 |
| 776 | #define THIEFITEM_INVULNcxx . . $ `scripts/osiris_common.h:776:9`! 5 |
| 777 | #define THIEFITEM_RAPIDFIREcxx . . $ `scripts/osiris_common.h:777:9`! 6 |
| 778 | #define THIEFITEM_QUADFIREcxx . . $ `scripts/osiris_common.h:778:9`! 7 |
| 779 | #define THIEFITEM_MAXCOUNTcxx . . $ `scripts/osiris_common.h:779:9`! 8 |
| 780 | |
| 781 | // ======================================================================= |
| 782 | // Multiplayer safe function type defines |
| 783 | // ======================================================================= |
| 784 | |
| 785 | #define MSAFE_ROOM_TEXTUREcxx . . $ `scripts/osiris_common.h:785:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 0 |
| 786 | #define MSAFE_ROOM_WINDcxx . . $ `scripts/osiris_common.h:786:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 1 |
| 787 | #define MSAFE_ROOM_FOGcxx . . $ `scripts/osiris_common.h:787:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 2 |
| 788 | #define MSAFE_ROOM_LIGHT_PULSEcxx . . $ `scripts/osiris_common.h:788:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 3 |
| 789 | #define MSAFE_ROOM_PORTAL_RENDERcxx . . $ `scripts/osiris_common.h:789:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 4 |
| 790 | #define MSAFE_ROOM_FOG_STATEcxx . . $ `scripts/osiris_common.h:790:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 5 |
| 791 | #define MSAFE_ROOM_CHANGING_FOGcxx . . $ `scripts/osiris_common.h:791:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 6 |
| 792 | #define MSAFE_ROOM_CHANGING_WINDcxx . . $ `scripts/osiris_common.h:792:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 7 |
| 793 | #define MSAFE_ROOM_DAMAGEcxx . . $ `scripts/osiris_common.h:793:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 8 |
| 794 | #define MSAFE_ROOM_LIGHT_FLICKERcxx . . $ `scripts/osiris_common.h:794:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 9 |
| 795 | #define MSAFE_ROOM_LIGHT_STROBEcxx . . $ `scripts/osiris_common.h:795:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 10 |
| 796 | #define MSAFE_ROOM_REFUELcxx . . $ `scripts/osiris_common.h:796:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 11 |
| 797 | #define MSAFE_ROOM_HAS_PLAYERcxx . . $ `scripts/osiris_common.h:797:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 12 |
| 798 | #define MSAFE_ROOM_BREAK_GLASScxx . . $ `scripts/osiris_common.h:798:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 13 |
| 799 | #define MSAFE_ROOM_PORTAL_BLOCKcxx . . $ `scripts/osiris_common.h:799:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 14 |
| 800 | #define MSAFE_ROOM_REMOVE_ALL_POWERUPScxx . . $ `scripts/osiris_common.h:800:9`! MSAFE_ROOMcxx . . $ `scripts/osiris_common.h:428:9`! + 15 |
| 801 | |
| 802 | #define MSAFE_OBJECT_SHIELDScxx . . $ `scripts/osiris_common.h:802:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 0 |
| 803 | #define MSAFE_OBJECT_ENERGYcxx . . $ `scripts/osiris_common.h:803:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 1 |
| 804 | #define MSAFE_OBJECT_BLANKcxx . . $ `scripts/osiris_common.h:804:9`! MSAFE_OBJ + 2 |
| 805 | #define MSAFE_OBJECT_LIGHT_COLORcxx . . $ `scripts/osiris_common.h:805:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 3 |
| 806 | #define MSAFE_OBJECT_MOVEMENT_SCALARcxx . . $ `scripts/osiris_common.h:806:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 4 |
| 807 | #define MSAFE_OBJECT_RECHARGE_SCALARcxx . . $ `scripts/osiris_common.h:807:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 5 |
| 808 | #define MSAFE_OBJECT_WSPEED_SCALARcxx . . $ `scripts/osiris_common.h:808:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 6 |
| 809 | #define MSAFE_OBJECT_DAMAGE_SCALARcxx . . $ `scripts/osiris_common.h:809:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 7 |
| 810 | #define MSAFE_OBJECT_ARMOR_SCALARcxx . . $ `scripts/osiris_common.h:810:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 8 |
| 811 | #define MSAFE_OBJECT_DAMAGE_OBJECTcxx . . $ `scripts/osiris_common.h:811:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 9 |
| 812 | #define MSAFE_OBJECT_TYPEcxx . . $ `scripts/osiris_common.h:812:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 10 |
| 813 | #define MSAFE_OBJECT_IDcxx . . $ `scripts/osiris_common.h:813:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 11 |
| 814 | #define MSAFE_OBJECT_ADD_WEAPONcxx . . $ `scripts/osiris_common.h:814:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 12 |
| 815 | #define MSAFE_OBJECT_START_SPEWcxx . . $ `scripts/osiris_common.h:815:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 13 |
| 816 | #define MSAFE_OBJECT_STOP_SPEWcxx . . $ `scripts/osiris_common.h:816:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 14 |
| 817 | #define MSAFE_OBJECT_GHOSTcxx . . $ `scripts/osiris_common.h:817:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 15 |
| 818 | #define MSAFE_OBJECT_UNGHOSTcxx . . $ `scripts/osiris_common.h:818:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 16 |
| 819 | #define MSAFE_OBJECT_REMOVEcxx . . $ `scripts/osiris_common.h:819:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 17 |
| 820 | #define MSAFE_OBJECT_POScxx . . $ `scripts/osiris_common.h:820:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 18 |
| 821 | #define MSAFE_OBJECT_ORIENTcxx . . $ `scripts/osiris_common.h:821:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 19 |
| 822 | #define MSAFE_OBJECT_ROOMNUMcxx . . $ `scripts/osiris_common.h:822:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 20 |
| 823 | #define MSAFE_OBJECT_VELOCITYcxx . . $ `scripts/osiris_common.h:823:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 21 |
| 824 | #define MSAFE_OBJECT_ROTVELOCITYcxx . . $ `scripts/osiris_common.h:824:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 22 |
| 825 | #define MSAFE_OBJECT_THRUSTcxx . . $ `scripts/osiris_common.h:825:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 23 |
| 826 | #define MSAFE_OBJECT_ROTTHRUSTcxx . . $ `scripts/osiris_common.h:826:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 24 |
| 827 | #define MSAFE_OBJECT_FLAGScxx . . $ `scripts/osiris_common.h:827:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 25 |
| 828 | #define MSAFE_OBJECT_SIZEcxx . . $ `scripts/osiris_common.h:828:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 26 |
| 829 | #define MSAFE_OBJECT_CONTROL_TYPEcxx . . $ `scripts/osiris_common.h:829:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 27 |
| 830 | #define MSAFE_OBJECT_MOVEMENT_TYPEcxx . . $ `scripts/osiris_common.h:830:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 28 |
| 831 | #define MSAFE_OBJECT_CREATION_TIMEcxx . . $ `scripts/osiris_common.h:831:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 29 |
| 832 | #define MSAFE_OBJECT_CLOAKALLPLAYERScxx . . $ `scripts/osiris_common.h:832:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 30 |
| 833 | #define MSAFE_OBJECT_PHYSICS_FLAGScxx . . $ `scripts/osiris_common.h:833:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 31 |
| 834 | #define MSAFE_OBJECT_PARENTcxx . . $ `scripts/osiris_common.h:834:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 32 |
| 835 | #define MSAFE_OBJECT_ROTDRAGcxx . . $ `scripts/osiris_common.h:835:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 33 |
| 836 | #define MSAFE_OBJECT_INVULNERABLEcxx . . $ `scripts/osiris_common.h:836:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 34 |
| 837 | #define MSAFE_OBJECT_CLOAKcxx . . $ `scripts/osiris_common.h:837:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 35 |
| 838 | #define MSAFE_OBJECT_PLAYER_HANDLEcxx . . $ `scripts/osiris_common.h:838:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 36 |
| 839 | #define MSAFE_OBJECT_PLAYER_CMASKcxx . . $ `scripts/osiris_common.h:839:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 37 |
| 840 | #define MSAFE_OBJECT_NO_RENDERcxx . . $ `scripts/osiris_common.h:840:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 38 |
| 841 | #define MSAFE_OBJECT_LIGHT_DISTcxx . . $ `scripts/osiris_common.h:841:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 39 |
| 842 | #define MSAFE_OBJECT_DEFORMcxx . . $ `scripts/osiris_common.h:842:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 40 |
| 843 | #define MSAFE_OBJECT_VIEWER_SHAKEcxx . . $ `scripts/osiris_common.h:843:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 41 // or is this player shake? |
| 844 | #define MSAFE_OBJECT_PLAYER_KEYcxx . . $ `scripts/osiris_common.h:844:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 42 |
| 845 | #define MSAFE_OBJECT_PLAYER_CONTROLAIcxx . . $ `scripts/osiris_common.h:845:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 43 |
| 846 | #define MSAFE_OBJECT_WORLD_POSITIONcxx . . $ `scripts/osiris_common.h:846:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 44 // room+pos+orient |
| 847 | #define MSAFE_OBJECT_COUNT_TYPEcxx . . $ `scripts/osiris_common.h:847:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 45 |
| 848 | #define MSAFE_OBJECT_SPARKScxx . . $ `scripts/osiris_common.h:848:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 46 |
| 849 | #define MSAFE_OBJECT_SETONFIREcxx . . $ `scripts/osiris_common.h:849:9`! \ |
| 850 | MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 47 // objhandle, longevity = how long, interval = damage per sec, ithandle = killer (or |
| 851 | // OBJECT_HANDLE_NONE) |
| 852 | #define MSAFE_OBJECT_SHAKE_AREAcxx . . $ `scripts/osiris_common.h:852:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 48 |
| 853 | #define MSAFE_OBJECT_ENERGY_WEAPONcxx . . $ `scripts/osiris_common.h:853:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 49 |
| 854 | #define MSAFE_OBJECT_DAMAGE_AMOUNTcxx . . $ `scripts/osiris_common.h:854:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 50 |
| 855 | #define MSAFE_OBJECT_SHIELDS_ORIGINALcxx . . $ `scripts/osiris_common.h:855:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 51 |
| 856 | #define MSAFE_SHOW_ENABLED_CONTROLScxx . . $ `scripts/osiris_common.h:856:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 52 |
| 857 | #define MSAFE_OBJECT_FIRE_WEAPONcxx . . $ `scripts/osiris_common.h:857:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 53 |
| 858 | #define MSAFE_OBJECT_DESTROY_ROBOTS_EXCEPTcxx . . $ `scripts/osiris_common.h:858:9`! MSAFE_OBJcxx . . $ `scripts/osiris_common.h:429:9`! + 54 |
| 859 | |
| 860 | #define MSAFE_WEATHER_RAINcxx . . $ `scripts/osiris_common.h:860:9`! MSAFE_WEATHERcxx . . $ `scripts/osiris_common.h:430:9`! + 0 |
| 861 | #define MSAFE_WEATHER_SNOWcxx . . $ `scripts/osiris_common.h:861:9`! MSAFE_WEATHERcxx . . $ `scripts/osiris_common.h:430:9`! + 1 |
| 862 | #define MSAFE_WEATHER_LIGHTNINGcxx . . $ `scripts/osiris_common.h:862:9`! MSAFE_WEATHERcxx . . $ `scripts/osiris_common.h:430:9`! + 2 |
| 863 | #define MSAFE_WEATHER_LIGHTNING_BOLTcxx . . $ `scripts/osiris_common.h:863:9`! MSAFE_WEATHERcxx . . $ `scripts/osiris_common.h:430:9`! + 3 |
| 864 | #define MSAFE_WEATHER_LIGHTNING_BOLT_POScxx . . $ `scripts/osiris_common.h:864:9`! MSAFE_WEATHER + 4 |
| 865 | |
| 866 | #define MSAFE_SOUND_2Dcxx . . $ `scripts/osiris_common.h:866:9`! MSAFE_SOUNDcxx . . $ `scripts/osiris_common.h:431:9`! + 0 |
| 867 | #define MSAFE_SOUND_OBJECTcxx . . $ `scripts/osiris_common.h:867:9`! MSAFE_SOUNDcxx . . $ `scripts/osiris_common.h:431:9`! + 1 |
| 868 | #define MSAFE_SOUND_STREAMINGcxx . . $ `scripts/osiris_common.h:868:9`! MSAFE_SOUNDcxx . . $ `scripts/osiris_common.h:431:9`! + 2 |
| 869 | #define MSAFE_SOUND_STOPcxx . . $ `scripts/osiris_common.h:869:9`! MSAFE_SOUNDcxx . . $ `scripts/osiris_common.h:431:9`! + 3 |
| 870 | #define MSAFE_SOUND_STOP_OBJcxx . . $ `scripts/osiris_common.h:870:9`! MSAFE_SOUNDcxx . . $ `scripts/osiris_common.h:431:9`! + 4 |
| 871 | #define MSAFE_SOUND_VOLUME_OBJcxx . . $ `scripts/osiris_common.h:871:9`! MSAFE_SOUNDcxx . . $ `scripts/osiris_common.h:431:9`! + 5 |
| 872 | |
| 873 | #define MSAFE_DOOR_LOCK_STATEcxx . . $ `scripts/osiris_common.h:873:9`! MSAFE_DOORcxx . . $ `scripts/osiris_common.h:434:9`! + 0 |
| 874 | #define MSAFE_DOOR_ACTIVATEcxx . . $ `scripts/osiris_common.h:874:9`! MSAFE_DOORcxx . . $ `scripts/osiris_common.h:434:9`! + 1 |
| 875 | #define MSAFE_DOOR_POSITIONcxx . . $ `scripts/osiris_common.h:875:9`! MSAFE_DOORcxx . . $ `scripts/osiris_common.h:434:9`! + 2 |
| 876 | #define MSAFE_DOOR_STOPcxx . . $ `scripts/osiris_common.h:876:9`! MSAFE_DOORcxx . . $ `scripts/osiris_common.h:434:9`! + 3 |
| 877 | #define MSAFE_DOOR_OPENABLEcxx . . $ `scripts/osiris_common.h:877:9`! MSAFE_DOORcxx . . $ `scripts/osiris_common.h:434:9`! + 4 |
| 878 | |
| 879 | #define MSAFE_TRIGGER_SETcxx . . $ `scripts/osiris_common.h:879:9`! MSAFE_TRIGGERcxx . . $ `scripts/osiris_common.h:436:9`! + 0 |
| 880 | |
| 881 | #define MSAFE_MISC_HUD_MESSAGEcxx . . $ `scripts/osiris_common.h:881:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 0 |
| 882 | #define MSAFE_MISC_WAYPOINTcxx . . $ `scripts/osiris_common.h:882:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 1 |
| 883 | #define MSAFE_MISC_END_LEVELcxx . . $ `scripts/osiris_common.h:883:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 2 |
| 884 | #define MSAFE_MISC_POPUP_CAMERAcxx . . $ `scripts/osiris_common.h:884:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 3 |
| 885 | #define MSAFE_MISC_CLOSE_POPUPcxx . . $ `scripts/osiris_common.h:885:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 4 |
| 886 | #define MSAFE_MISC_GAME_MESSAGEcxx . . $ `scripts/osiris_common.h:886:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 5 |
| 887 | #define MSAFE_MUSIC_REGIONcxx . . $ `scripts/osiris_common.h:887:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 6 |
| 888 | #define MSAFE_MISC_ENABLE_SHIPcxx . . $ `scripts/osiris_common.h:888:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 7 |
| 889 | #define MSAFE_MISC_LEVELGOALcxx . . $ `scripts/osiris_common.h:889:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 8 |
| 890 | #define MSAFE_MISC_GUIDEBOT_NAMEcxx . . $ `scripts/osiris_common.h:890:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 9 |
| 891 | #define MSAFE_MISC_FILTERED_HUD_MESSAGEcxx . . $ `scripts/osiris_common.h:891:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 10 |
| 892 | #define MSAFE_MISC_START_TIMERcxx . . $ `scripts/osiris_common.h:892:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 11 |
| 893 | #define MSAFE_MISC_ADD_HUD_ITEMcxx . . $ `scripts/osiris_common.h:893:9`! MSAFE_MISC + 12 |
| 894 | #define MSAFE_MISC_UPDATE_HUD_ITEMcxx . . $ `scripts/osiris_common.h:894:9`! MSAFE_MISCcxx . . $ `scripts/osiris_common.h:433:9`! + 13 |
| 895 | |
| 896 | #define MSAFE_INVEN_ADD_TYPE_IDcxx . . $ `scripts/osiris_common.h:896:9`! MSAFE_INVENcxx . . $ `scripts/osiris_common.h:437:9`! + 0 |
| 897 | #define MSAFE_INVEN_CHECKcxx . . $ `scripts/osiris_common.h:897:9`! MSAFE_INVENcxx . . $ `scripts/osiris_common.h:437:9`! + 1 |
| 898 | #define MSAFE_INVEN_COUNTcxx . . $ `scripts/osiris_common.h:898:9`! MSAFE_INVENcxx . . $ `scripts/osiris_common.h:437:9`! + 2 |
| 899 | #define MSAFE_INVEN_REMOVEcxx . . $ `scripts/osiris_common.h:899:9`! MSAFE_INVENcxx . . $ `scripts/osiris_common.h:437:9`! + 3 |
| 900 | #define MSAFE_INVEN_SIZEcxx . . $ `scripts/osiris_common.h:900:9`! MSAFE_INVENcxx . . $ `scripts/osiris_common.h:437:9`! + 4 |
| 901 | #define MSAFE_INVEN_GET_TYPE_IDcxx . . $ `scripts/osiris_common.h:901:9`! MSAFE_INVENcxx . . $ `scripts/osiris_common.h:437:9`! + 5 |
| 902 | #define MSAFE_INVEN_ADD_OBJECTcxx . . $ `scripts/osiris_common.h:902:9`! MSAFE_INVENcxx . . $ `scripts/osiris_common.h:437:9`! + 6 |
| 903 | #define MSAFE_INVEN_CHECK_OBJECTcxx . . $ `scripts/osiris_common.h:903:9`! MSAFE_INVENcxx . . $ `scripts/osiris_common.h:437:9`! + 7 |
| 904 | #define MSAFE_INVEN_REMOVE_OBJECTcxx . . $ `scripts/osiris_common.h:904:9`! MSAFE_INVENcxx . . $ `scripts/osiris_common.h:437:9`! + 8 |
| 905 | |
| 906 | #define MSAFE_COUNTERMEASURE_ADDcxx . . $ `scripts/osiris_common.h:906:9`! MSAFE_COUNTERMEASUREcxx . . $ `scripts/osiris_common.h:438:9`! + 0 |
| 907 | #define MSAFE_COUNTERMEASURE_COUNTcxx . . $ `scripts/osiris_common.h:907:9`! MSAFE_COUNTERMEASUREcxx . . $ `scripts/osiris_common.h:438:9`! + 1 |
| 908 | #define MSAFE_COUNTERMEASURE_CHECKcxx . . $ `scripts/osiris_common.h:908:9`! MSAFE_COUNTERMEASUREcxx . . $ `scripts/osiris_common.h:438:9`! + 2 |
| 909 | #define MSAFE_COUNTERMEASURE_REMOVEcxx . . $ `scripts/osiris_common.h:909:9`! MSAFE_COUNTERMEASUREcxx . . $ `scripts/osiris_common.h:438:9`! + 3 |
| 910 | #define MSAFE_COUNTERMEASURE_SIZEcxx . . $ `scripts/osiris_common.h:910:9`! MSAFE_COUNTERMEASUREcxx . . $ `scripts/osiris_common.h:438:9`! + 4 |
| 911 | #define MSAFE_COUNTERMEASURE_GETcxx . . $ `scripts/osiris_common.h:911:9`! MSAFE_COUNTERMEASUREcxx . . $ `scripts/osiris_common.h:438:9`! + 5 |
| 912 | |
| 913 | #define MSAFE_WEAPON_CHECKcxx . . $ `scripts/osiris_common.h:913:9`! MSAFE_WEAPONcxx . . $ `scripts/osiris_common.h:439:9`! + 0 |
| 914 | #define MSAFE_WEAPON_ADDcxx . . $ `scripts/osiris_common.h:914:9`! MSAFE_WEAPONcxx . . $ `scripts/osiris_common.h:439:9`! + 1 |
| 915 | |
| 916 | // ======================================================================= |
| 917 | // Structures shared between OSIRIS and the game |
| 918 | // ======================================================================= |
| 919 | |
| 920 | // Since this header is shared within D3, in order to keep redefinition errors |
| 921 | // quiet, the following section will only be included if this header file |
| 922 | // is included by a DLL |
| 923 | #ifndef INCLUDED_FROM_D3cxx . . $ `Descent3/osiris_share.h:24:9`! |
| 924 | |
| 925 | // Use this handle when you want a handle that will never be a valid object |
| 926 | #ifndef INCLUDED_FROM_PLAYER_H |
| 927 | #define MAX_PLAYERScxx . . $ `scripts/osiris_common.h:927:9`! 32 |
| 928 | #endif |
| 929 | |
| 930 | // define unsigned types; |
| 931 | typedef uint8_tcxx . . $ uint8_t# uint8_tcxx . . $ uint8_t#; |
| 932 | typedef int8_tcxx . . $ int8_t# int8_tcxx . . $ int8_t#; |
| 933 | typedef uint16_tcxx . . $ uint16_t# uint16_tcxx . . $ uint16_t#; |
| 934 | typedef uint32_tcxx . . $ uint32_t# uint32_tcxx . . $ uint32_t#; |
| 935 | typedef uint32_tcxx . . $ uint32_t# ddgr_colorcxx . . $ ddgr_color#; |
| 936 | |
| 937 | #ifndef NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`! |
| 938 | #define NULL 0 |
| 939 | #endif |
| 940 | |
| 941 | inline ddgr_colorcxx . . $ ddgr_color# GR_RGBcxx . . $ GR_RGB(530956271a9518a5).(int r, int g, int b) { return ((r << 16) + (g << 8) + b); } |
| 942 | |
| 943 | #endif // end #ifndef INCLUDED_FROM_D3 |
| 944 | |
| 945 | // ======================================================================= |
| 946 | // GB Menu structure |
| 947 | // ======================================================================= |
| 948 | |
| 949 | #define MAX_GB_COMMANDScxx . . $ `scripts/osiris_common.h:949:9`! 60 |
| 950 | |
| 951 | #define GBCT_EXIT_IMMEDIATELYcxx . . $ `scripts/osiris_common.h:951:9`! 0 |
| 952 | #define GBCT_STRING_DIALOGcxx . . $ `scripts/osiris_common.h:952:9`! 1 |
| 953 | |
| 954 | #define COM_GET_MENUcxx . . $ `scripts/osiris_common.h:954:9`! 0 |
| 955 | #define COM_DO_ACTIONcxx . . $ `scripts/osiris_common.h:955:9`! 1 |
| 956 | #define COM_REINITcxx . . $ `scripts/osiris_common.h:956:9`! 2 |
| 957 | |
| 958 | struct gb_comcxx . . $ gb_com# { |
| 959 | int8_tcxx . . $ int8_t# actioncxx . . $ gb_com#action.; |
| 960 | int8_tcxx . . $ int8_t# indexcxx . . $ gb_com#index.; |
| 961 | void *ptrcxx . . $ gb_com#ptr.; |
| 962 | }; |
| 963 | |
| 964 | struct gb_menucxx . . $ gb_menu# { |
| 965 | char titlecxx . . $ gb_menu#title.[256]; |
| 966 | int32_t num_commandscxx . . $ gb_menu#num_commands.; |
| 967 | char command_textcxx . . $ gb_menu#command_text.[MAX_GB_COMMANDScxx . . $ `scripts/osiris_common.h:949:9`!][256]; |
| 968 | char command_idcxx . . $ gb_menu#command_id.[MAX_GB_COMMANDScxx . . $ `scripts/osiris_common.h:949:9`!]; |
| 969 | char command_typecxx . . $ gb_menu#command_type.[MAX_GB_COMMANDScxx . . $ `scripts/osiris_common.h:949:9`!]; |
| 970 | |
| 971 | char dialog_textcxx . . $ gb_menu#dialog_text.[MAX_GB_COMMANDScxx . . $ `scripts/osiris_common.h:949:9`!][256]; |
| 972 | }; |
| 973 | |
| 974 | // ======================================================================= |
| 975 | // Osiris structures |
| 976 | // ======================================================================= |
| 977 | |
| 978 | struct tOSIRISModuleInitcxx . . $ tOSIRISModuleInit# { |
| 979 | int32_t *fpcxx . . $ tOSIRISModuleInit#fp.[MAX_MODULEFUNCScxx . . $ `scripts/osiris_common.h:405:9`!]; |
| 980 | char **string_tablecxx . . $ tOSIRISModuleInit#string_table.; |
| 981 | int32_t string_countcxx . . $ tOSIRISModuleInit#string_count.; |
| 982 | int32_t module_identifiercxx . . $ tOSIRISModuleInit#module_identifier.; |
| 983 | |
| 984 | bool module_is_staticcxx . . $ tOSIRISModuleInit#module_is_static.; // if this is set to true after initialization |
| 985 | // then the module will not unload if it's reference |
| 986 | // count is 0....only when the level ends. |
| 987 | // this is for Game modules ONLY. |
| 988 | |
| 989 | char *script_identifiercxx . . $ tOSIRISModuleInit#script_identifier.; // Contains a unique script identifier (string), which |
| 990 | // can be used for the OMMS system. While this pointer |
| 991 | // will always be valid during the lifetime of the module |
| 992 | // DO NOT ALTER THE STRING IT POINTS TO. |
| 993 | |
| 994 | uint32_tcxx . . $ uint32_t# game_checksumcxx . . $ tOSIRISModuleInit#game_checksum.; // Checksum of game structures, if this doesn't match |
| 995 | // the checksum at compile time, it is very likely that |
| 996 | // bad things can happen, and this module shouldn't initialize. |
| 997 | |
| 998 | }; // contains the necessary data to initialize |
| 999 | |
| 1000 | // an OSIRIS module |
| 1001 | struct tOSIRISEVTINTERVALcxx . . $ tOSIRISEVTINTERVAL# { |
| 1002 | float frame_timecxx . . $ tOSIRISEVTINTERVAL#frame_time.; |
| 1003 | float game_timecxx . . $ tOSIRISEVTINTERVAL#game_time.; |
| 1004 | }; // struct for EVT_INTERVAL data |
| 1005 | |
| 1006 | struct tOSIRISIEVTAIFRAMEcxx . . $ tOSIRISIEVTAIFRAME# { |
| 1007 | }; // struct for EVT_AI_FRAME data |
| 1008 | |
| 1009 | struct tOSIRISEVTDAMAGEDcxx . . $ tOSIRISEVTDAMAGED# { |
| 1010 | float damagecxx . . $ tOSIRISEVTDAMAGED#damage.; |
| 1011 | int32_t it_handlecxx . . $ tOSIRISEVTDAMAGED#it_handle.; |
| 1012 | int32_t weapon_handlecxx . . $ tOSIRISEVTDAMAGED#weapon_handle.; |
| 1013 | int32_t damage_typecxx . . $ tOSIRISEVTDAMAGED#damage_type.; |
| 1014 | }; // struct for EVT_DAMAGED data |
| 1015 | |
| 1016 | struct tOSIRISEVTCOLLIDEcxx . . $ tOSIRISEVTCOLLIDE# { |
| 1017 | int32_t it_handlecxx . . $ tOSIRISEVTCOLLIDE#it_handle.; |
| 1018 | }; // struct for EVT_COLLIDE data |
| 1019 | |
| 1020 | struct tOSIRISEVTCREATEDcxx . . $ tOSIRISEVTCREATED# { |
| 1021 | }; // struct for EVT_CREATED data |
| 1022 | |
| 1023 | struct tOSIRISEVTDESTROYcxx . . $ tOSIRISEVTDESTROY# { |
| 1024 | uint8_tcxx . . $ uint8_t# is_dyingcxx . . $ tOSIRISEVTDESTROY#is_dying.; // if this is !=0 than the event is coming because it is |
| 1025 | // really being destroyed. Else it is due to the level ending. |
| 1026 | }; // struct for EVT_DESTROY data |
| 1027 | |
| 1028 | struct tOSIRISEVTTIMERcxx . . $ tOSIRISEVTTIMER# { |
| 1029 | int32_t idcxx . . $ tOSIRISEVTTIMER#id.; |
| 1030 | float game_timecxx . . $ tOSIRISEVTTIMER#game_time.; |
| 1031 | }; // struct for EVT_TIMER data |
| 1032 | |
| 1033 | struct tOSIRISEVTUSEcxx . . $ tOSIRISEVTUSE# { |
| 1034 | int32_t it_handlecxx . . $ tOSIRISEVTUSE#it_handle.; |
| 1035 | }; // struct for EVT_USE data |
| 1036 | |
| 1037 | struct tOSIRISEVTSAVESTATEcxx . . $ tOSIRISEVTSAVESTATE# { |
| 1038 | void *fileptrcxx . . $ tOSIRISEVTSAVESTATE#fileptr.; |
| 1039 | }; // struct for EVT_SAVESTATE data |
| 1040 | |
| 1041 | struct tOSIRISEVTRESTORESTATEcxx . . $ tOSIRISEVTRESTORESTATE# { |
| 1042 | void *fileptrcxx . . $ tOSIRISEVTRESTORESTATE#fileptr.; |
| 1043 | }; // struct for EVT_RESTORESTATE data |
| 1044 | |
| 1045 | struct tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# { |
| 1046 | int32_t notify_typecxx . . $ tOSIRISEVTAINOTIFY#notify_type.; |
| 1047 | int32_t it_handlecxx . . $ tOSIRISEVTAINOTIFY#it_handle.; |
| 1048 | int32_t goal_numcxx . . $ tOSIRISEVTAINOTIFY#goal_num.; |
| 1049 | int32_t goal_uidcxx . . $ tOSIRISEVTAINOTIFY#goal_uid.; |
| 1050 | unioncxx . . $ tOSIRISEVTAINOTIFY#$anonymous_type_0# { |
| 1051 | int32_t enabler_numcxx . . $ tOSIRISEVTAINOTIFY#$anonymous_type_0#enabler_num.; |
| 1052 | int32_t attack_numcxx . . $ tOSIRISEVTAINOTIFY#$anonymous_type_0#attack_num.; |
| 1053 | }; |
| 1054 | }; // struct for EVT_AI_NOTIFY data |
| 1055 | |
| 1056 | struct tOSIRISEVTAIINITcxx . . $ tOSIRISEVTAIINIT# { |
| 1057 | }; // struct for EVT_AI_INIT data |
| 1058 | |
| 1059 | struct tOSIRISEVTLEVELSTARTcxx . . $ tOSIRISEVTLEVELSTART# { |
| 1060 | }; // struct for EVT_LEVELSTART data |
| 1061 | |
| 1062 | struct tOSIRISEVTLEVELENDcxx . . $ tOSIRISEVTLEVELEND# { |
| 1063 | }; // struct for EVT_LEVELEND data |
| 1064 | |
| 1065 | struct tOSIRISEVTCHANGESEGcxx . . $ tOSIRISEVTCHANGESEG# { |
| 1066 | int32_t room_numcxx . . $ tOSIRISEVTCHANGESEG#room_num.; |
| 1067 | }; // struct for EVT_CHANGESEG data |
| 1068 | |
| 1069 | struct tOSIRISEVTMEMRESTOREcxx . . $ tOSIRISEVTMEMRESTORE# { |
| 1070 | int32_t idcxx . . $ tOSIRISEVTMEMRESTORE#id.; |
| 1071 | void *memory_ptrcxx . . $ tOSIRISEVTMEMRESTORE#memory_ptr.; |
| 1072 | }; // struct for EVT_MEMRESTORE data |
| 1073 | |
| 1074 | struct tOSIRISEVTTIMERCANCELcxx . . $ tOSIRISEVTTIMERCANCEL# { |
| 1075 | int32_t handlecxx . . $ tOSIRISEVTTIMERCANCEL#handle.; |
| 1076 | uint8_tcxx . . $ uint8_t# detonatedcxx . . $ tOSIRISEVTTIMERCANCEL#detonated.; |
| 1077 | }; // struct for EVT_TIMERCANCEL data |
| 1078 | |
| 1079 | struct tOSIRISEVTCHILDDIEDcxx . . $ tOSIRISEVTCHILDDIED# { |
| 1080 | int32_t it_handlecxx . . $ tOSIRISEVTCHILDDIED#it_handle.; |
| 1081 | }; |
| 1082 | |
| 1083 | struct tOSIRISEVTMATCENCREATEcxx . . $ tOSIRISEVTMATCENCREATE# { |
| 1084 | int32_t it_handlecxx . . $ tOSIRISEVTMATCENCREATE#it_handle.; |
| 1085 | int32_t idcxx . . $ tOSIRISEVTMATCENCREATE#id.; |
| 1086 | }; // struct for EVT_MATCEN_CREATE data |
| 1087 | |
| 1088 | struct tOSIRISEVTDOORACTIVATEcxx . . $ tOSIRISEVTDOORACTIVATE# { |
| 1089 | }; // struct for EVT_DOOR_ACTIVATE data |
| 1090 | |
| 1091 | struct tOSIRISEVTDOORCLOSEcxx . . $ tOSIRISEVTDOORCLOSE# { |
| 1092 | }; // struct for EVT_DOOR_CLOSE data |
| 1093 | |
| 1094 | struct tOSIRISEVTLEVELGOALCOMPLETEcxx . . $ tOSIRISEVTLEVELGOALCOMPLETE# { |
| 1095 | int32_t level_goal_indexcxx . . $ tOSIRISEVTLEVELGOALCOMPLETE#level_goal_index.; |
| 1096 | }; |
| 1097 | |
| 1098 | struct tOSIRISEVTLEVELGOALITEMCOMPLETEcxx . . $ tOSIRISEVTLEVELGOALITEMCOMPLETE# { |
| 1099 | int32_t level_goal_indexcxx . . $ tOSIRISEVTLEVELGOALITEMCOMPLETE#level_goal_index.; |
| 1100 | }; |
| 1101 | |
| 1102 | struct tOSIRISEVTALLLEVELGOALSCOMPLETEcxx . . $ tOSIRISEVTALLLEVELGOALSCOMPLETE# { |
| 1103 | }; |
| 1104 | |
| 1105 | struct tOSIRISEVTPLAYERMOVIESTARTcxx . . $ tOSIRISEVTPLAYERMOVIESTART# { |
| 1106 | }; |
| 1107 | |
| 1108 | struct tOSIRISEVTPLAYERMOVIEENDcxx . . $ tOSIRISEVTPLAYERMOVIEEND# { |
| 1109 | }; |
| 1110 | |
| 1111 | struct tOSIRISEVTPLAYERRESPAWNcxx . . $ tOSIRISEVTPLAYERRESPAWN# { |
| 1112 | int32_t it_handlecxx . . $ tOSIRISEVTPLAYERRESPAWN#it_handle.; // player respawning |
| 1113 | }; |
| 1114 | |
| 1115 | struct tOSIRISEVTPLAYERDIEScxx . . $ tOSIRISEVTPLAYERDIES# { |
| 1116 | int32_t it_handlecxx . . $ tOSIRISEVTPLAYERDIES#it_handle.; // player dead |
| 1117 | }; |
| 1118 | |
| 1119 | struct tOSIRISEventInfocxx . . $ tOSIRISEventInfo# { |
| 1120 | unioncxx . . $ tOSIRISEventInfo#$anonymous_type_1# { |
| 1121 | tOSIRISEVTINTERVALcxx . . $ tOSIRISEVTINTERVAL# evt_intervalcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_interval.; |
| 1122 | tOSIRISIEVTAIFRAMEcxx . . $ tOSIRISIEVTAIFRAME# evt_ai_framecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ai_frame.; |
| 1123 | tOSIRISEVTDAMAGEDcxx . . $ tOSIRISEVTDAMAGED# evt_damagedcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_damaged.; |
| 1124 | tOSIRISEVTCOLLIDEcxx . . $ tOSIRISEVTCOLLIDE# evt_collidecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_collide.; |
| 1125 | tOSIRISEVTCREATEDcxx . . $ tOSIRISEVTCREATED# evt_createdcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_created.; |
| 1126 | tOSIRISEVTDESTROYcxx . . $ tOSIRISEVTDESTROY# evt_destroycxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_destroy.; |
| 1127 | tOSIRISEVTTIMERcxx . . $ tOSIRISEVTTIMER# evt_timercxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_timer.; |
| 1128 | tOSIRISEVTUSEcxx . . $ tOSIRISEVTUSE# evt_usecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_use.; |
| 1129 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ai_notifycxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ai_notify.; |
| 1130 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_objkilledcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_objkilled.; |
| 1131 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_seeplayercxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_seeplayer.; |
| 1132 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_whitobjectcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_whitobject.; |
| 1133 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_goalcompletecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_goalcomplete.; |
| 1134 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_goalinvalidcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_goalinvalid.; |
| 1135 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_goalfailcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_goalfail.; |
| 1136 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_goalerrorcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_goalerror.; |
| 1137 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_goalforcedonecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_goalforcedone.; |
| 1138 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_melee_hitcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_melee_hit.; |
| 1139 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_melee_attack_framecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_melee_attack_frame.; |
| 1140 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_movie_startcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_movie_start.; |
| 1141 | tOSIRISEVTAINOTIFYcxx . . $ tOSIRISEVTAINOTIFY# evt_ain_movie_endcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ain_movie_end.; |
| 1142 | tOSIRISEVTAIINITcxx . . $ tOSIRISEVTAIINIT# evt_ai_initcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_ai_init.; |
| 1143 | tOSIRISEVTLEVELSTARTcxx . . $ tOSIRISEVTLEVELSTART# evt_levelstartcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_levelstart.; |
| 1144 | tOSIRISEVTLEVELENDcxx . . $ tOSIRISEVTLEVELEND# evt_levelendcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_levelend.; |
| 1145 | tOSIRISEVTCHANGESEGcxx . . $ tOSIRISEVTCHANGESEG# evt_changesegcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_changeseg.; |
| 1146 | tOSIRISEVTSAVESTATEcxx . . $ tOSIRISEVTSAVESTATE# evt_savestatecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_savestate.; |
| 1147 | tOSIRISEVTRESTORESTATEcxx . . $ tOSIRISEVTRESTORESTATE# evt_restorestatecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_restorestate.; |
| 1148 | tOSIRISEVTMEMRESTOREcxx . . $ tOSIRISEVTMEMRESTORE# evt_memrestorecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_memrestore.; |
| 1149 | tOSIRISEVTTIMERCANCELcxx . . $ tOSIRISEVTTIMERCANCEL# evt_timercancelcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_timercancel.; |
| 1150 | tOSIRISEVTMATCENCREATEcxx . . $ tOSIRISEVTMATCENCREATE# evt_matcen_createcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_matcen_create.; |
| 1151 | tOSIRISEVTDOORACTIVATEcxx . . $ tOSIRISEVTDOORACTIVATE# evt_door_activatecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_door_activate.; |
| 1152 | tOSIRISEVTDOORCLOSEcxx . . $ tOSIRISEVTDOORCLOSE# evt_door_closecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_door_close.; |
| 1153 | tOSIRISEVTCHILDDIEDcxx . . $ tOSIRISEVTCHILDDIED# evt_child_diedcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_child_died.; |
| 1154 | tOSIRISEVTLEVELGOALCOMPLETEcxx . . $ tOSIRISEVTLEVELGOALCOMPLETE# evt_level_goal_completecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_level_goal_complete.; |
| 1155 | tOSIRISEVTALLLEVELGOALSCOMPLETEcxx . . $ tOSIRISEVTALLLEVELGOALSCOMPLETE# evt_all_level_goals_completecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_all_level_goals_complete.; |
| 1156 | tOSIRISEVTLEVELGOALITEMCOMPLETEcxx . . $ tOSIRISEVTLEVELGOALITEMCOMPLETE# evt_level_goal_item_completecxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_level_goal_item_complete.; |
| 1157 | tOSIRISEVTPLAYERMOVIESTARTcxx . . $ tOSIRISEVTPLAYERMOVIESTART# evt_player_movie_startcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_player_movie_start.; |
| 1158 | tOSIRISEVTPLAYERMOVIEENDcxx . . $ tOSIRISEVTPLAYERMOVIEEND# evt_player_movie_endcxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_player_movie_end.; |
| 1159 | tOSIRISEVTPLAYERRESPAWNcxx . . $ tOSIRISEVTPLAYERRESPAWN# evt_player_respawncxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_player_respawn.; |
| 1160 | tOSIRISEVTPLAYERDIEScxx . . $ tOSIRISEVTPLAYERDIES# evt_player_diescxx . . $ tOSIRISEventInfo#$anonymous_type_1#evt_player_dies.; |
| 1161 | }; |
| 1162 | |
| 1163 | int32_t me_handlecxx . . $ tOSIRISEventInfo#me_handle.; |
| 1164 | void *extra_infocxx . . $ tOSIRISEventInfo#extra_info.; |
| 1165 | }; // contains the necessary data for all events |
| 1166 | // to pass what they need to their event handlers. |
| 1167 | |
| 1168 | #define OTF_REPEATERcxx . . $ `scripts/osiris_common.h:1168:9`! 0x0001 // this timer is to repeat repeat_count times |
| 1169 | #define OTF_TRIGGERcxx . . $ `scripts/osiris_common.h:1169:9`! 0x0002 // this timer is for a trigger, use trigger_number |
| 1170 | #define OTF_LEVELcxx . . $ `scripts/osiris_common.h:1170:9`! 0x0004 // this timer is for the level |
| 1171 | #define OTF_CANCELONDEADcxx . . $ `scripts/osiris_common.h:1171:9`! \ |
| 1172 | 0x008 // this timer should be auto-cancelled if object_handle_detonator dies, than the |
| 1173 | // timer auto-cancels |
| 1174 | struct tOSIRISTIMERcxx . . $ tOSIRISTIMER# { |
| 1175 | uint16_tcxx . . $ uint16_t# flagscxx . . $ tOSIRISTIMER#flags.; |
| 1176 | int32_t idcxx . . $ tOSIRISTIMER#id.; // an optional id you can use to store, will be passed back on EVT_TIMER signal |
| 1177 | int32_t repeat_countcxx . . $ tOSIRISTIMER#repeat_count.; // if OTF_REPEATER is set, this is how many times to repeat the signal (every |
| 1178 | // interval). -1 for infinite. |
| 1179 | unioncxx . . $ tOSIRISTIMER#$anonymous_type_2# { |
| 1180 | int32_t object_handlecxx . . $ tOSIRISTIMER#$anonymous_type_2#object_handle.; // handle to the object to recieve the EVT_TIMER signal |
| 1181 | int32_t trigger_numbercxx . . $ tOSIRISTIMER#$anonymous_type_2#trigger_number.; // trigger number to recieve the EVT_TIMER signal (OTF_TRIGGER) |
| 1182 | }; |
| 1183 | |
| 1184 | int32_t object_handle_detonatorcxx . . $ tOSIRISTIMER#object_handle_detonator.; // if OTF_CANCELONDEAD is specified, this is the object handle to |
| 1185 | // use for checking, if this object dies, than auto-cancel the timer |
| 1186 | |
| 1187 | float timer_intervalcxx . . $ tOSIRISTIMER#timer_interval.; // the timeframe in between EVT_TIMER signals (for non-repeaters, this is how |
| 1188 | // long until the single EVT_TIMER gets signaled). |
| 1189 | }; |
| 1190 | |
| 1191 | enum script_typecxx . . $ script_type# { OBJECT_SCRIPTcxx . . $ OBJECT_SCRIPT. = 0, TRIGGER_SCRIPTcxx . . $ TRIGGER_SCRIPT., LEVEL_SCRIPTcxx . . $ LEVEL_SCRIPT. }; |
| 1192 | |
| 1193 | struct tOSIRISSCRIPTIDcxx . . $ tOSIRISSCRIPTID# { |
| 1194 | script_typecxx . . $ script_type# typecxx . . $ tOSIRISSCRIPTID#type.; |
| 1195 | unioncxx . . $ tOSIRISSCRIPTID#$anonymous_type_3# { |
| 1196 | int32_t objhandlecxx . . $ tOSIRISSCRIPTID#$anonymous_type_3#objhandle.; |
| 1197 | int32_t triggernumcxx . . $ tOSIRISSCRIPTID#$anonymous_type_3#triggernum.; |
| 1198 | }; |
| 1199 | }; |
| 1200 | |
| 1201 | struct tOSIRISMEMCHUNKcxx . . $ tOSIRISMEMCHUNK# { |
| 1202 | tOSIRISSCRIPTIDcxx . . $ tOSIRISSCRIPTID# my_idcxx . . $ tOSIRISMEMCHUNK#my_id.; |
| 1203 | uint16_tcxx . . $ uint16_t# idcxx . . $ tOSIRISMEMCHUNK#id.; |
| 1204 | int32_t sizecxx . . $ tOSIRISMEMCHUNK#size.; |
| 1205 | }; |
| 1206 | |
| 1207 | // ======================================================================= |
| 1208 | // Multiplayer safe function structs |
| 1209 | // ======================================================================= |
| 1210 | |
| 1211 | #define KOI_IDcxx . . $ `scripts/osiris_common.h:1211:9`! 0 // this item is specifying a type/id of object NOT to kill |
| 1212 | #define KOI_HANDLEcxx . . $ `scripts/osiris_common.h:1212:9`! 1 // this item is specifying an object handle of an object NOT to kill |
| 1213 | struct tKillObjectItemcxx . . $ tKillObjectItem# { |
| 1214 | uint8_tcxx . . $ uint8_t# info_typecxx . . $ tKillObjectItem#info_type.; |
| 1215 | int32_t idcxx . . $ tKillObjectItem#id.; |
| 1216 | int32_t objhandlecxx . . $ tKillObjectItem#objhandle.; |
| 1217 | }; |
| 1218 | |
| 1219 | #define MSAFE_MESSAGE_LENGTHcxx . . $ `scripts/osiris_common.h:1219:9`! 255 |
| 1220 | #define MSAFE_NAME_LENGTHcxx . . $ `scripts/osiris_common.h:1220:9`! 32 |
| 1221 | struct msafe_structcxx . . $ msafe_struct# { |
| 1222 | // Rooms |
| 1223 | int32_t roomnumcxx . . $ msafe_struct#roomnum.; |
| 1224 | int16_t facenumcxx . . $ msafe_struct#facenum.; |
| 1225 | int16_t texnumcxx . . $ msafe_struct#texnum.; |
| 1226 | int16_t portalnumcxx . . $ msafe_struct#portalnum.; |
| 1227 | float fog_rcxx . . $ msafe_struct#fog_r., fog_gcxx . . $ msafe_struct#fog_g., fog_bcxx . . $ msafe_struct#fog_b., fog_depthcxx . . $ msafe_struct#fog_depth.; |
| 1228 | vectorcxx . . $ vector# windcxx . . $ msafe_struct#wind.; |
| 1229 | uint8_tcxx . . $ uint8_t# pulse_timecxx . . $ msafe_struct#pulse_time.; |
| 1230 | uint8_tcxx . . $ uint8_t# pulse_offsetcxx . . $ msafe_struct#pulse_offset.; |
| 1231 | |
| 1232 | // Objects/Players |
| 1233 | uint32_tcxx . . $ uint32_t# objhandlecxx . . $ msafe_struct#objhandle.; |
| 1234 | uint32_tcxx . . $ uint32_t# ithandlecxx . . $ msafe_struct#ithandle.; |
| 1235 | float shieldscxx . . $ msafe_struct#shields., energycxx . . $ msafe_struct#energy.; |
| 1236 | int16_t start_tickcxx . . $ msafe_struct#start_tick.; |
| 1237 | int16_t end_tickcxx . . $ msafe_struct#end_tick.; |
| 1238 | float cycle_timecxx . . $ msafe_struct#cycle_time.; |
| 1239 | int32_t typecxx . . $ msafe_struct#type., idcxx . . $ msafe_struct#id., aux_typecxx . . $ msafe_struct#aux_type., aux_idcxx . . $ msafe_struct#aux_id.; |
| 1240 | uint32_tcxx . . $ uint32_t# checksumcxx . . $ msafe_struct#checksum.; |
| 1241 | int32_t path_idcxx . . $ msafe_struct#path_id.; |
| 1242 | float amountcxx . . $ msafe_struct#amount.; |
| 1243 | uint8_tcxx . . $ uint8_t# damage_typecxx . . $ msafe_struct#damage_type.; |
| 1244 | uint32_tcxx . . $ uint32_t# killer_handlecxx . . $ msafe_struct#killer_handle.; |
| 1245 | float ammocxx . . $ msafe_struct#ammo.; |
| 1246 | uint8_tcxx . . $ uint8_t# playsoundcxx . . $ msafe_struct#playsound.; |
| 1247 | uint8_tcxx . . $ uint8_t# removecxx . . $ msafe_struct#remove.; |
| 1248 | uint8_tcxx . . $ uint8_t# do_powerupcxx . . $ msafe_struct#do_powerup.; |
| 1249 | vectorcxx . . $ vector# velocitycxx . . $ msafe_struct#velocity.; |
| 1250 | vectorcxx . . $ vector# rot_velocitycxx . . $ msafe_struct#rot_velocity.; |
| 1251 | float rot_dragcxx . . $ msafe_struct#rot_drag.; |
| 1252 | vectorcxx . . $ vector# thrustcxx . . $ msafe_struct#thrust.; |
| 1253 | vectorcxx . . $ vector# rot_thrustcxx . . $ msafe_struct#rot_thrust.; |
| 1254 | int8_tcxx . . $ int8_t# control_typecxx . . $ msafe_struct#control_type.; |
| 1255 | int8_tcxx . . $ int8_t# movement_typecxx . . $ msafe_struct#movement_type.; |
| 1256 | float creation_timecxx . . $ msafe_struct#creation_time.; |
| 1257 | int32_t physics_flagscxx . . $ msafe_struct#physics_flags.; |
| 1258 | vectorcxx . . $ vector# poscxx . . $ msafe_struct#pos.; |
| 1259 | matrixcxx . . $ matrix# orientcxx . . $ msafe_struct#orient.; |
| 1260 | float anim_framecxx . . $ msafe_struct#anim_frame.; |
| 1261 | |
| 1262 | // Spew |
| 1263 | uint8_tcxx . . $ uint8_t# is_realcxx . . $ msafe_struct#is_real.; |
| 1264 | uint8_tcxx . . $ uint8_t# randomcxx . . $ msafe_struct#random.; |
| 1265 | uint8_tcxx . . $ uint8_t# unused2cxx . . $ msafe_struct#unused2.; // was use_gunpoint |
| 1266 | int8_tcxx . . $ int8_t# gunpointcxx . . $ msafe_struct#gunpoint.; |
| 1267 | uint8_tcxx . . $ uint8_t# effect_typecxx . . $ msafe_struct#effect_type.; |
| 1268 | uint8_tcxx . . $ uint8_t# phys_infocxx . . $ msafe_struct#phys_info.; |
| 1269 | float dragcxx . . $ msafe_struct#drag., masscxx . . $ msafe_struct#mass.; |
| 1270 | |
| 1271 | // Unused |
| 1272 | uint16_tcxx . . $ uint16_t# unusedcxx . . $ msafe_struct#unused.; // was doorway_index |
| 1273 | |
| 1274 | // Weather |
| 1275 | int32_t randvalcxx . . $ msafe_struct#randval.; |
| 1276 | |
| 1277 | // Triggers |
| 1278 | uint8_tcxx . . $ uint8_t# trigger_numcxx . . $ msafe_struct#trigger_num.; |
| 1279 | |
| 1280 | // sounds |
| 1281 | int32_t sound_handlecxx . . $ msafe_struct#sound_handle.; |
| 1282 | float volumecxx . . $ msafe_struct#volume.; |
| 1283 | |
| 1284 | // Shared/misc |
| 1285 | int32_t indexcxx . . $ msafe_struct#index.; |
| 1286 | float scalarcxx . . $ msafe_struct#scalar.; |
| 1287 | float intervalcxx . . $ msafe_struct#interval.; |
| 1288 | uint8_tcxx . . $ uint8_t# statecxx . . $ msafe_struct#state.; |
| 1289 | int8_tcxx . . $ int8_t# slotcxx . . $ msafe_struct#slot.; |
| 1290 | char messagecxx . . $ msafe_struct#message.[MSAFE_MESSAGE_LENGTHcxx . . $ `scripts/osiris_common.h:1219:9`!]; |
| 1291 | char namecxx . . $ msafe_struct#name.[MSAFE_NAME_LENGTHcxx . . $ `scripts/osiris_common.h:1220:9`!]; |
| 1292 | int32_t colorcxx . . $ msafe_struct#color.; |
| 1293 | float longevitycxx . . $ msafe_struct#longevity.; |
| 1294 | float lifetimecxx . . $ msafe_struct#lifetime.; |
| 1295 | float sizecxx . . $ msafe_struct#size.; |
| 1296 | float speedcxx . . $ msafe_struct#speed.; |
| 1297 | int32_t countcxx . . $ msafe_struct#count.; |
| 1298 | int32_t flagscxx . . $ msafe_struct#flags.; |
| 1299 | void *listcxx . . $ msafe_struct#list.; |
| 1300 | uint32_tcxx . . $ uint32_t# control_maskcxx . . $ msafe_struct#control_mask.; |
| 1301 | uint8_tcxx . . $ uint8_t# control_valcxx . . $ msafe_struct#control_val.; |
| 1302 | |
| 1303 | // Object lighting stuff |
| 1304 | float light_distancecxx . . $ msafe_struct#light_distance.; |
| 1305 | float r1cxx . . $ msafe_struct#r1., g1cxx . . $ msafe_struct#g1., b1cxx . . $ msafe_struct#b1.; // light 1 color |
| 1306 | float r2cxx . . $ msafe_struct#r2., g2cxx . . $ msafe_struct#g2., b2cxx . . $ msafe_struct#b2.; // light 2 color |
| 1307 | float time_intervalcxx . . $ msafe_struct#time_interval.; |
| 1308 | float flicker_distancecxx . . $ msafe_struct#flicker_distance.; |
| 1309 | float directional_dotcxx . . $ msafe_struct#directional_dot.; |
| 1310 | int32_t timebitscxx . . $ msafe_struct#timebits.; |
| 1311 | |
| 1312 | vectorcxx . . $ vector# pos2cxx . . $ msafe_struct#pos2.; |
| 1313 | |
| 1314 | // Second message |
| 1315 | char message2cxx . . $ msafe_struct#message2.[MSAFE_MESSAGE_LENGTHcxx . . $ `scripts/osiris_common.h:1219:9`!]; |
| 1316 | |
| 1317 | }; |
| 1318 | |
| 1319 | struct ray_infocxx . . $ ray_info# { |
| 1320 | int32_t fatecxx . . $ ray_info#fate.; |
| 1321 | int32_t hit_roomcxx . . $ ray_info#hit_room.; |
| 1322 | vectorcxx . . $ vector# hit_pointcxx . . $ ray_info#hit_point.; |
| 1323 | |
| 1324 | int32_t hit_objectcxx . . $ ray_info#hit_object.; |
| 1325 | int32_t hit_subobjectcxx . . $ ray_info#hit_subobject.; |
| 1326 | |
| 1327 | int32_t hit_facecxx . . $ ray_info#hit_face.; |
| 1328 | vectorcxx . . $ vector# hit_face_pntcxx . . $ ray_info#hit_face_pnt.; |
| 1329 | int32_t hit_face_roomcxx . . $ ray_info#hit_face_room.; |
| 1330 | vectorcxx . . $ vector# hit_wallnormcxx . . $ ray_info#hit_wallnorm.; |
| 1331 | }; |
| 1332 | |
| 1333 | #define PV_POScxx . . $ `scripts/osiris_common.h:1333:9`! 0x00000001 // set/get pos member (pass in an osiris_path_node_info ptr) |
| 1334 | #define PV_ROOMNUMcxx . . $ `scripts/osiris_common.h:1334:9`! 0x00000002 // set/get roomnum member (pass in an osiris_path_node_info ptr) |
| 1335 | #define PV_FLAGScxx . . $ `scripts/osiris_common.h:1335:9`! 0x00000004 // set/get flags member (pass in an osiris_path_node_info ptr) |
| 1336 | #define PV_FVECcxx . . $ `scripts/osiris_common.h:1336:9`! 0x00000008 // set/get fvec member (pass in an osiris_path_node_info ptr) |
| 1337 | #define PV_UVECcxx . . $ `scripts/osiris_common.h:1337:9`! 0x00000010 // set/get uvec member (pass in an osiris_path_node_info ptr) |
| 1338 | #define PV_ALLcxx . . $ `scripts/osiris_common.h:1338:9`! 0x0000001F // set/get all members (above..pass in an osiris_path_node_info ptr) |
| 1339 | #define PV_I_NUMNODEScxx . . $ `scripts/osiris_common.h:1339:9`! 0x00010000 // get number of nodes in this path |
| 1340 | #define PV_CS_NAMEcxx . . $ `scripts/osiris_common.h:1340:9`! 0x00020000 // get name of path |
| 1341 | #define PV_I_NUMPATHScxx . . $ `scripts/osiris_common.h:1341:9`! 0x00040000 // get number of paths (path_id & node_id are ignored in this case) |
| 1342 | |
| 1343 | struct osiris_path_node_infocxx . . $ osiris_path_node_info# { |
| 1344 | vectorcxx . . $ vector# poscxx . . $ osiris_path_node_info#pos.; // where this node is in the world |
| 1345 | int32_t roomnumcxx . . $ osiris_path_node_info#roomnum.; // what room? |
| 1346 | int32_t flagscxx . . $ osiris_path_node_info#flags.; // if this point lives over the terrain, etc |
| 1347 | vectorcxx . . $ vector# fveccxx . . $ osiris_path_node_info#fvec.; |
| 1348 | vectorcxx . . $ vector# uveccxx . . $ osiris_path_node_info#uvec.; |
| 1349 | }; |
| 1350 | |
| 1351 | #endif |