| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #ifndef LEVELGOALEXTERNAL_H_ |
| 20 | #define LEVELGOALEXTERNAL_H_cxx . . $ `Descent3/levelgoal_external.h:20:9`! |
| 21 | |
| 22 | #define LF_AUTO_END_LEVELcxx . . $ `Descent3/levelgoal_external.h:22:9`! 0x01 |
| 23 | #define LF_ALL_PRIMARIES_DONEcxx . . $ `Descent3/levelgoal_external.h:23:9`! 0x02 |
| 24 | |
| 25 | // Level Item Types |
| 26 | #define LIT_TERRAIN_CELLcxx . . $ `Descent3/levelgoal_external.h:26:9`! 0 |
| 27 | #define LIT_INTERNAL_ROOMcxx . . $ `Descent3/levelgoal_external.h:27:9`! 1 |
| 28 | #define LIT_OBJECTcxx . . $ `Descent3/levelgoal_external.h:28:9`! 2 |
| 29 | #define LIT_TRIGGERcxx . . $ `Descent3/levelgoal_external.h:29:9`! 3 |
| 30 | #define LIT_ANY_MINEcxx . . $ `Descent3/levelgoal_external.h:30:9`! 4 |
| 31 | |
| 32 | // Level Item Operations |
| 33 | #define LO_SET_SPECIFIEDcxx . . $ `Descent3/levelgoal_external.h:33:9`! 0 |
| 34 | #define LO_GET_SPECIFIEDcxx . . $ `Descent3/levelgoal_external.h:34:9`! 1 |
| 35 | #define LO_CLEAR_SPECIFIEDcxx . . $ `Descent3/levelgoal_external.h:35:9`! 2 |
| 36 | |
| 37 | // Level Goal Flags |
| 38 | #define LGF_BLANK1cxx . . $ `Descent3/levelgoal_external.h:38:9`! 0x00000001 |
| 39 | #define LGF_SECONDARY_GOALcxx . . $ `Descent3/levelgoal_external.h:39:9`! 0x00000002 |
| 40 | #define LGF_ENABLEDcxx . . $ `Descent3/levelgoal_external.h:40:9`! 0x00000004 |
| 41 | #define LGF_COMPLETEDcxx . . $ `Descent3/levelgoal_external.h:41:9`! 0x00000008 |
| 42 | #define LGF_TELCOM_LISTScxx . . $ `Descent3/levelgoal_external.h:42:9`! 0x00000010 |
| 43 | #define LGF_GB_DOESNT_KNOW_LOCcxx . . $ `Descent3/levelgoal_external.h:43:9`! 0x00000020 |
| 44 | #define LGF_NOT_LOC_BASEDcxx . . $ `Descent3/levelgoal_external.h:44:9`! 0x00000040 |
| 45 | #define LGF_FAILEDcxx . . $ `Descent3/levelgoal_external.h:45:9`! 0x00000080 |
| 46 | #define LGF_COMP_ACTIVATEcxx . . $ `Descent3/levelgoal_external.h:46:9`! 0x00000100 |
| 47 | #define LGF_COMP_ENTERcxx . . $ `Descent3/levelgoal_external.h:47:9`! 0x00000200 |
| 48 | #define LGF_COMP_DESTROYcxx . . $ `Descent3/levelgoal_external.h:48:9`! 0x00000400 |
| 49 | #define LGF_COMP_PLAYER_WEAPONcxx . . $ `Descent3/levelgoal_external.h:49:9`! 0x00000800 |
| 50 | #define LGF_COMP_PLAYERcxx . . $ `Descent3/levelgoal_external.h:50:9`! 0x00001000 |
| 51 | #define LGF_COMP_DALLAScxx . . $ `Descent3/levelgoal_external.h:51:9`! 0x00002000 |
| 52 | |
| 53 | #define LGF_COMP_MASKcxx . . $ `Descent3/levelgoal_external.h:53:9`! \ |
| 54 | (LGF_COMP_ACTIVATE | LGF_COMP_ENTER | LGF_COMP_DESTROY | LGF_COMP_PLAYER_WEAPON | LGF_COMP_PLAYER | LGF_COMP_DALLAS) |
| 55 | |
| 56 | #define LGF_COMP_TERRAIN_MASKcxx . . $ `Descent3/levelgoal_external.h:56:9`! (LGF_COMP_ENTER | LGF_COMP_DALLAS) |
| 57 | #define LGF_COMP_ROOM_MASKcxx . . $ `Descent3/levelgoal_external.h:57:9`! (LGF_COMP_ENTER | LGF_COMP_DALLAS) |
| 58 | #define LGF_COMP_OBJECT_MASKcxx . . $ `Descent3/levelgoal_external.h:58:9`! (LGF_COMP_DESTROY | LGF_COMP_PLAYER_WEAPON | LGF_COMP_PLAYER | LGF_COMP_DALLAS) |
| 59 | #define LGF_COMP_TRIGGER_MASKcxx . . $ `Descent3/levelgoal_external.h:59:9`! (LGF_COMP_ACTIVATE | LGF_COMP_DALLAS) |
| 60 | #define LGF_COMP_MINE_MASKcxx . . $ `Descent3/levelgoal_external.h:60:9`! (LGF_COMP_ENTER | LGF_COMP_DALLAS) |
| 61 | |
| 62 | #define MAX_GOAL_ITEMScxx . . $ `Descent3/levelgoal_external.h:62:9`! 12 |
| 63 | #define MAX_LEVEL_GOALScxx . . $ `Descent3/levelgoal_external.h:63:9`! 32 |
| 64 | |
| 65 | #define MAX_GOAL_LISTScxx . . $ `Descent3/levelgoal_external.h:65:9`! 4 |
| 66 | |
| 67 | #endif |