1 /* ########## active / inactive ######## */
6 /* ########## mias ######## */
11 /* ########## objectives ########## */
13 #define OBJ_OPTIONAL 0
14 #define OBJ_REQUIRED 1
16 /* ########## switch defs ######### */
21 #define SWT_PRESSURE 3
23 #define SWT_WATERLEVEL 5
26 /* ########### trains and doors ######### */
31 #define TR_LOCKED_DOOR 2
32 #define TR_GOLD_DOOR 3
33 #define TR_SILVER_DOOR 4
34 #define TR_BRONZE_DOOR 5
36 #define TR_SLIDEDOOR 6
37 #define TR_LOCKED_SLIDEDOOR 7
38 #define TR_GOLD_SLIDEDOOR 8
39 #define TR_SILVER_SLIDEDOOR 9
40 #define TR_BRONZE_SLIDEDOOR 10
45 #define TR_DOOR_CLOSED 0
46 #define TR_DOOR_OPEN 1
48 /* ########### spawn point types ######## */
51 #define HAZARD_LAVABALL 0
52 #define HAZARD_ROCKFALL 1
53 #define HAZARD_BOMBS 2
54 #define HAZARD_EXPLOSION 3
55 #define HAZARD_POWERBULLETS 4
56 #define HAZARD_STALAGTITES 5
62 #define SPW_BOSSBULLET 3
69 #define SPW_NOSUBTYPE -1
71 /* ########### traps ################ */
73 #define TRAP_FIRSTACTION 0
75 #define TRAP_SECONDACTION 2
78 #define TRAP_TYPE_SPIKE 0
79 #define TRAP_TYPE_MINE 1
80 #define TRAP_TYPE_SWING 2
81 #define TRAP_TYPE_CRUSHER 3
82 #define TRAP_TYPE_BARRIER 4
83 #define TRAP_TYPE_FLAME 5
85 /* ########### entity flags ######### */
88 #define ENT_INANIMATE 1
89 #define ENT_MULTIEXPLODE ( 2 << 0 )
90 #define ENT_DYING ( 2 << 1 )
91 #define ENT_WEIGHTLESS ( 2 << 2 )
92 #define ENT_NOCOLLISIONS ( 2 << 3 )
93 #define ENT_BOUNCES ( 2 << 4 )
94 #define ENT_AIMS ( 2 << 5 )
95 #define ENT_SPAWNED ( 2 << 6 )
96 #define ENT_ALWAYSFIRES ( 2 << 7 )
97 #define ENT_FLIES ( 2 << 8 )
98 #define ENT_COLLECTABLE ( 2 << 9 )
99 #define ENT_EXPLODES ( 2 << 10 )
100 #define ENT_FIRETRAIL ( 2 << 11 )
101 #define ENT_SPARKS ( 2 << 12 )
102 #define ENT_PUFFS ( 2 << 13 )
103 #define ENT_ONFIRE ( 2 << 14 )
104 #define ENT_JUMPS ( 2 << 15 )
105 #define ENT_NOMOVE ( 2 << 16 )
106 #define ENT_SWIMS ( 2 << 17 )
107 #define ENT_BULLET ( 2 << 18 )
108 #define ENT_TELEPORTING ( 2 << 19 )
109 #define ENT_IMMUNE ( 2 << 20 )
110 #define ENT_STATIC ( 2 << 21 )
111 #define ENT_SLIDES ( 2 << 22 )
112 #define ENT_RAPIDFIRE ( 2 << 23 )
113 #define ENT_IMMUNEEXPLODE ( 2 << 24 )
114 #define ENT_ALWAYSCHASE ( 2 << 25 )
115 #define ENT_NOJUMP ( 2 << 26 )
116 #define ENT_GALDOV ( 2 << 27 )
117 #define ENT_PARTICLETRAIL ( 2 << 28 )
118 #define ENT_BOSS ( 2 << 29 )
119 #define ENT_GALDOVFINAL ( 2 << 30 )