Debian Codegraph @

Descent3/matcen_external.h

raw symbols SCIP
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 MATCEN_EXTERNAL_H_
20 #define MATCEN_EXTERNAL_H_
21
22 #define MAX_PROD_TYPES 8
23 #define MAX_SPAWN_PNTS 4
24
25 #define MATCEN_ERROR -1
26
27 #define MSTAT_DISABLED 1
28 #define MSTAT_ACTIVE 2
29 #define MSTAT_ACTIVE_PAUSE 4
30 #define MSTAT_CREATE_OBJ_FRAME 8
31 #define MSTAT_NEVER_PROD 16
32 #define MSTAT_DONE_PROD 32
33 #define MSTAT_RANDOM_PROD_ORDER 64
34 #define MSTAT_PROD_TILL_DONE 128
35 #define MSTAT_PROD_ONE_PAUSE 256
36 #define MSTAT_PROD_ONE_DISABLE 512
37 #define MSTAT_MANUAL_UPDATE_CREATE_PNT 1024
38 #define MSTAT_COMPUTE_CREATE_PNT_EVERY_FRAME 2048
39 #define MSTAT_NOT_HURT_PLAYER 4096
40
41 #define MMODE_NOTPROD 0
42 #define MMODE_PREPROD 1
43 #define MMODE_POSTPROD 2
44
45 // MATCEN NOTE: Make sure to add the name of the effect to the list
46 // in matcen.cpp
47 #define NUM_MATCEN_EFFECTS 4
48 #define MEFFECT_LINE_LIGHTNING 0
49 #define MEFFECT_LINE_SINE_WAVE 1
50 #define MEFFECT_PROCEDURAL_LIGHTNING 2
51 #define MEFFECT_NONE
52
53 #define MAX_MATCEN_CONTROL_TYPES 5
54 #define MPC_SCRIPT 0
55 #define MPC_WHILE_PLAYER_NEAR 1
56 #define MPC_AFTER_PLAYER_NEAR 2
57 #define MPC_WHILE_PLAYER_VISIBLE 3
58 #define MPC_AFTER_PLAYER_VISIBLE 4
59
60 #define MAX_MATCEN_SOUNDS 3
61 #define MATCEN_ACTIVE_SOUND 0
62 #define MATCEN_DISABLE_SOUND 1
63 #define MATCEN_PROD_SOUND 2
64
65 #define MT_OBJECT 0
66 #define MT_ROOM 1
67 #define MT_UNASSIGNED 2
68
69 #endif