1#------------------------------------------------------------------------
2#  BOOM GENERALIZED TYPES
3#------------------------------------------------------------------------
4#
5#  Eureka DOOM Editor
6#
7#  Copyright (C) 2016 Andrew Apted
8#
9#  This program is free software; you can redistribute it and/or
10#  modify it under the terms of the GNU General Public License
11#  as published by the Free Software Foundation; either version 2
12#  of the License, or (at your option) any later version.
13#
14#  This program is distributed in the hope that it will be useful,
15#  but WITHOUT ANY WARRANTY; without even the implied warranty of
16#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17#  GNU General Public License for more details.
18#
19#------------------------------------------------------------------------
20#
21#  This information comes from the "BOOM reference v1.3" document.
22#
23#------------------------------------------------------------------------
24
25gen_line d 0x3c00 0x0400 "DOOR"
26
27gen_field 3 0 7  "Trigger"    W1 WR S1 SR G1 GR D1 DR
28gen_field 2 5 0  "Kind"       "Normal" "STAY OPEN" "Close+Open" "Closes"
29gen_field 2 3 1  "Speed"      SLOW Medium Fast Turbo
30gen_field 2 8 1  "Delay"      "1 sec" "4 secs" "9 secs" "30 secs"
31gen_field 1 7 0  "Monsters"   no MONSTER
32
33
34gen_line k 0x3800 0x0400 "KEYED DOOR"
35
36gen_field 3 0 6  "Trigger"    W1 WR S1 SR G1 GR D1 DR
37gen_field 3 6 1  "Keys"       "Any key" "Red Card" "Blue Card" "Yellow Card" "Red Skull" "Blue Skull" "Yellow Skull" "ALL KEYS"
38gen_field 1 9 1  "Matching"   Precise skull=card
39gen_field 2 3 1  "Speed"      SLOW Medium Fast Turbo
40gen_field 1 5 1  "Stay Mode"  "Closes" "STAY OPEN"
41
42
43# Note: "Model" and "Monsters" share the same bit position.
44# The code takes care to enable the approprite one.
45
46gen_line f 0x6000 0x2000 "FLOOR"
47
48gen_field 3 0  0  "Trigger"    W1 WR S1 SR G1 GR D1 DR
49gen_field 1 6  0  "Direction"  Down UP
50gen_field 3 7  1  "Target"     "Highest Floor" "Lowest Floor" "Next Floor" "Lowest CEIL" "CEILING" "By texture" "24 units" "32 units"
51gen_field 2 3  1  "Speed"      SLOW Medium Fast Turbo
52
53gen_field 2 10 0  "Change"     "NONE" "Tex+zero" "Texture" "Tex+type"
54gen_field 1 5  0  "Model"      Trigger Numeric
55gen_field 1 5  0  "Monsters"   no MONSTER
56gen_field 1 12 0  "Crush"      no CRUSH
57
58
59gen_line c 0x4000 0x2000 "CEILING"
60
61gen_field 3 0  0  "Trigger"    W1 WR S1 SR G1 GR D1 DR
62gen_field 1 6  1  "Direction"  Down UP
63gen_field 3 7  0  "Target"     "Highest Ceil" "Lowest Ceil" "Next Ceil" "Highest Floor" "FLOOR" "By texture" "24 units" "32 units"
64gen_field 2 3  1  "Speed"      SLOW Medium Fast Turbo
65
66gen_field 2 10 0  "Change"     "NONE" "Tex+zero" "Texture" "Tex+type"
67gen_field 1 5  0  "Model"      Trigger Numeric
68gen_field 1 5  0  "Monsters"   no MONSTER
69gen_field 1 12 0  "Crush"      no CRUSH
70
71
72gen_line l 0x3400 0x0400 "LIFT"
73
74gen_field 3 0 1  "Trigger"    W1 WR S1 SR G1 GR D1 DR
75gen_field 2 8 0  "Target"     "Lowest Floor" "Next Floor" "Lowest CEIL" "PERPETUAL"
76gen_field 2 3 1  "Speed"      SLOW Medium Fast Turbo
77gen_field 2 6 1  "Delay"      "1 sec" "3 secs" "5 secs" "10 secs"
78gen_field 1 5 0  "Monsters"   no MONSTER
79
80
81gen_line s 0x3000 0x0400 "STAIR"
82
83gen_field 3 0 2  "Trigger"      W1 WR S1 SR G1 GR D1 DR
84gen_field 1 8 1  "Direction"    Down UP
85gen_field 2 6 1  "Step"         "4 units" "8 units" "16 units" "24 units"
86gen_field 2 3 1  "Speed"        SLOW Medium Fast Turbo
87gen_field 1 5 0  "Monsters"     no MONSTER
88gen_field 1 9 0  "Tex Match"    "Same tex" "ANY TEX"
89
90
91gen_line r 0x2f80 0x0080 "CRUSHER"
92
93gen_field 3 0 0  "Trigger"    W1 WR S1 SR G1 GR D1 DR
94gen_field 2 3 0  "Speed"      SLOW Medium Fast Turbo
95gen_field 1 5 0  "Monsters"   no MONSTER
96gen_field 1 6 0  "Silent"     no SILENT
97
98