| 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 MULTI_WORLD_STATE_H |
| 20 | #define MULTI_WORLD_STATE_H |
| 21 | |
| 22 | #define WS_ROOM_WIND 0 |
| 23 | #define WS_ROOM_FOG 1 |
| 24 | #define WS_ROOM_LIGHTING 2 |
| 25 | #define WS_ROOM_TEXTURE 3 |
| 26 | #define WS_ROOM_PORTAL_RENDER 4 |
| 27 | #define WS_WEATHER 5 |
| 28 | #define WS_WAYPOINT 6 |
| 29 | #define WS_DOOR 7 |
| 30 | #define WS_LIGHT_DISTANCE 8 |
| 31 | #define WS_SPEW 9 |
| 32 | #define WS_PLAYERBF 10 |
| 33 | #define WS_ROOM_DAMAGE 11 |
| 34 | #define WS_ROOM_REFUEL 12 |
| 35 | #define WS_LIGHT_COLOR 13 |
| 36 | #define WS_ROOM_GLASS 14 |
| 37 | #define WS_BUDDYBOTS 15 |
| 38 | #define WS_BUDDYBOTUPDATE 16 |
| 39 | #define WS_ROOM_PORTAL_BLOCK 17 |
| 40 | #define WS_LEVELGOAL 18 |
| 41 | #define WS_ROOM_GOALSPECFLAG 19 |
| 42 | #define WS_OBJECT_ATTACH 20 |
| 43 | #define WS_NO_RENDER 21 |
| 44 | #define WS_OBJECT_PHYS_FLAGS 22 |
| 45 | #define WS_MOTD 23 |
| 46 | #define WS_END 100 |
| 47 | |
| 48 | // WEATHER! |
| 49 | // WAYPOINT! |
| 50 | |
| 51 | // Room change flags |
| 52 | #define RCF_WIND 1 |
| 53 | #define RCF_FOG (1 << 1) |
| 54 | #define RCF_AMBIENT_SOUND (1 << 2) |
| 55 | #define RCF_LIGHTING (1 << 3) |
| 56 | #define RCF_CHANGING_WIND_FOG (1 << 4) |
| 57 | #define RCF_TEXTURE (1 << 5) |
| 58 | #define RCF_PORTAL_RENDER (1 << 6) |
| 59 | #define RCF_DAMAGE (1 << 7) |
| 60 | #define RCF_REFUEL (1 << 8) |
| 61 | #define RCF_PORTAL_BLOCK (1 << 9) |
| 62 | #define RCF_GOALSPECIAL_FLAGS (1 << 10) // Goal flags/special 1-6 flags have changed |
| 63 | |
| 64 | // Object change flags |
| 65 | #define OCF_NO_RENDER 1 |
| 66 | #define OCF_LIGHT_DISTANCE (1 << 1) |
| 67 | #define OCF_LIGHT_COLOR (1 << 2) |
| 68 | #define OCF_PHYS_FLAGS (1 << 3) |
| 69 | |
| 70 | #endif |