| 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 ROBOTFIRESTRUCT_EXTERNAL_H_ |
| 20 | #define ROBOTFIRESTRUCT_EXTERNAL_H_ |
| 21 | |
| 22 | #define MAX_WB_GUNPOINTS 8 // Maximum gun points for a gun battery // Limitted by interface in Editor |
| 23 | #define MAX_WB_FIRING_MASKS 8 // Maximum firing masks (firing sequence) // Limitted by interface in Editor |
| 24 | #define MAX_WB_TURRETS 8 // Maximum number of turret// Arbitary |
| 25 | |
| 26 | // Object type flags |
| 27 | #define WBF_SPRAY 1 |
| 28 | #define WBF_ANIM_LOCAL 2 |
| 29 | #define WBF_ANIM_FULL 4 |
| 30 | #define WBF_ANIM_MASKS 6 |
| 31 | #define WBF_RANDOM_FIRE_ORDER 8 |
| 32 | #define WBF_GUIDED 16 |
| 33 | #define WBF_USE_CUSTOM_FOV 32 |
| 34 | #define WBF_ON_OFF 64 |
| 35 | #define WBF_USE_CUSTOM_MAX_DIST 128 |
| 36 | #define WBF_USER_TIMEOUT 256 |
| 37 | #define WBF_FIRE_FVEC 512 |
| 38 | #define WBF_AIM_FVEC 1024 |
| 39 | #define WBF_FIRE_TARGET 2048 |
| 40 | |
| 41 | #define MAX_WB_UPGRADES 5 |
| 42 | |
| 43 | #define DWBF_ENABLED 1 |
| 44 | #define DWBF_AUTOMATIC 2 |
| 45 | #define DWBF_ANIMATING 4 |
| 46 | #define DWBF_ANIM_FIRED 8 |
| 47 | #define DWBF_QUAD 16 |
| 48 | #define DWBF_UPGRADED 32 |
| 49 | |
| 50 | #endif |