-
Notifications
You must be signed in to change notification settings - Fork 5
/
e1m3.s
203 lines (189 loc) · 9.02 KB
/
e1m3.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
.segment "MAPDATA"
; sector data
secVerts:
.byte 0, 3, 4, 5, 2, 1, 0, 0, 6, 13, 14, 20, 5, 4, 7, 10
.byte 6, 7, 12, 13, 5, 51, 13, 0, 8, 9, 10, 11, 12, 7, 28, 25
.byte 14, 15, 19, 20, 0, 0, 0, 0, 21, 22, 9, 8, 33, 0, 0, 0
.byte 31, 32, 25, 24, 28, 31, 32, 34, 32, 33, 26, 25, 0, 0, 0, 0
.byte 33, 34, 35, 27, 26, 0, 0, 0, 27, 35, 36, 37, 41, 40, 39, 38
.byte 40, 41, 42, 47, 49, 69, 68, 0, 47, 42, 43, 50, 49, 48, 0, 0
.byte 50, 43, 44, 51, 35, 0, 0, 0, 52, 51, 44, 45, 46, 41, 0, 0
.byte 54, 53, 52, 46, 82, 81, 0, 0, 83, 78, 79, 80, 81, 82, 0, 0
.byte 55, 56, 57, 58, 59, 18, 17, 0, 56, 65, 64, 57, 47, 46, 45, 44
.byte 64, 65, 66, 63, 29, 0, 0, 0, 62, 63, 66, 67, 60, 89, 49, 50
.byte 66, 68, 69, 67, 56, 54, 58, 57, 73, 68, 71, 72, 0, 0, 0, 0
.byte 69, 68, 73, 74, 87, 88, 70, 0, 70, 88, 89, 90, 95, 69, 0, 0
.byte 87, 74, 75, 86, 70, 0, 0, 0, 86, 75, 76, 77, 78, 83, 84, 85
.byte 92, 17, 18, 91, 27, 78, 0, 0, 16, 92, 91, 19, 15, 72, 0, 0
.byte 99, 98, 101, 108, 105, 73, 0, 0, 107, 106, 97, 96, 10, 5, 4, 81
.byte 102, 103, 109, 111, 115, 67, 66, 0, 109, 110, 112, 111, 116, 90, 0, 0
.byte 104, 105, 112, 110, 91, 92, 93, 95, 30, 128, 31, 24, 23, 0, 0, 0
.byte 127, 123, 31, 128, 91, 90, 0, 0, 18, 59, 62, 60, 122, 61, 0, 0
.byte 125, 124, 123, 127, 126, 127, 128, 129, 133, 122, 60, 129, 130, 131, 132, 0
.byte 131, 130, 138, 134, 12, 15, 0, 0, 135, 134, 138, 137, 136, 13, 0, 0
.byte 28, 29, 93, 94, 30, 23, 22, 21, 98, 113, 104, 103, 102, 101, 0, 0
.byte 117, 118, 119, 120, 121, 115, 116, 0, 113, 116, 115, 114, 31, 0, 0, 0
.byte 113, 114, 97, 106, 105, 104, 0, 0, 108, 107, 96, 95, 100, 99, 0, 0
.byte 93, 100, 95, 94, 62, 82, 0, 0
.res 136, 0
secEdges:
.byte 1, 2, 3, 4, 5, 0, 0, 0, 21, 14, 22, 19, 3, 6, 30, 8
.byte 7, 20, 13, 21, 77, 61, 51, 0, 9, 10, 11, 12, 20, 8, 28, 22
.byte 15, 23, 18, 22, 0, 0, 0, 0, 25, 26, 9, 24, 59, 0, 0, 0
.byte 33, 34, 35, 31, 36, 42, 40, 39, 36, 37, 38, 34, 0, 0, 0, 0
.byte 39, 40, 41, 42, 37, 0, 0, 0, 41, 46, 45, 44, 43, 49, 48, 47
.byte 43, 54, 55, 50, 54, 83, 89, 0, 55, 56, 62, 53, 52, 51, 0, 0
.byte 62, 57, 67, 60, 62, 0, 0, 0, 61, 67, 58, 59, 66, 47, 0, 0
.byte 64, 63, 66, 65, 86, 90, 0, 0, 108, 95, 96, 97, 98, 99, 0, 0
.byte 69, 70, 71, 72, 82, 17, 68, 0, 73, 83, 74, 70, 41, 40, 39, 38
.byte 83, 81, 109, 75, 21, 0, 0, 0, 76, 109, 110, 80, 77, 117, 56, 103
.byte 85, 111, 84, 110, 58, 62, 63, 64, 113, 87, 88, 89, 0, 0, 0, 0
.byte 111, 113, 90, 114, 104, 112, 86, 0, 112, 105, 106, 107, 159, 153, 0, 0
.byte 114, 91, 115, 103, 151, 0, 0, 0, 115, 92, 93, 94, 108, 100, 101, 102
.byte 119, 17, 118, 120, 101, 102, 0, 0, 116, 120, 117, 23, 16, 90, 0, 0
.byte 125, 142, 127, 139, 147, 129, 0, 0, 129, 141, 126, 140, 124, 5, 7, 119
.byte 146, 135, 143, 133, 145, 73, 75, 0, 136, 144, 132, 143, 144, 124, 0, 0
.byte 145, 131, 144, 138, 125, 139, 132, 144, 165, 166, 31, 32, 29, 0, 0, 0
.byte 167, 160, 166, 164, 109, 108, 0, 0, 82, 79, 77, 159, 158, 78, 0, 0
.byte 162, 161, 167, 168, 163, 171, 172, 173, 176, 159, 177, 172, 173, 174, 175, 0
.byte 173, 183, 184, 178, 9, 32, 0, 0, 181, 184, 182, 179, 180, 10, 0, 0
.byte 28, 156, 169, 157, 29, 30, 25, 27, 147, 149, 137, 146, 134, 142, 0, 0
.byte 151, 152, 153, 154, 155, 185, 150, 0, 170, 185, 171, 186, 29, 0, 0, 0
.byte 186, 148, 141, 130, 145, 149, 0, 0, 128, 140, 121, 187, 124, 139, 0, 0
.byte 123, 187, 122, 169, 157, 112, 0, 0
.res 136, 0
; summary data (8 bytes)
numVerts:
.byte 139
numEdges:
.byte 188
numSectors:
.byte 47
numObj:
.byte 42
playerSpawnX:
.byte -12
playerSpawnY:
.byte -49
playerSpawnAngle:
.byte 0
playerSpawnSector:
.byte 0
numEnemies:
.byte 20
numItems:
.byte 14
numSecrets:
.byte 2
parTime:
.byte 60
secretSectors:
.byte 39, 43
.res 6, 0
; sector info
secNumVerts:
.byte 6, 6, 4, 6, 4, 4, 4, 4, 5, 8, 4, 6, 4, 5, 4, 6
.byte 7, 4, 4, 5, 4, 4, 7, 4, 4, 8, 4, 5, 4, 4, 4, 4
.byte 4, 5, 4, 6, 5, 7, 4, 5, 8, 6, 7, 4, 6, 6, 4
.res 17, 0
; object data
objXhi:
.byte 41, 41, -59, -50, -46, 30, 2, 9, 27, -14, -2, -58, 53, 52, 21, 4
.byte 47, 52, 52, 34, 34, -46, -27, -56, -22, -54, -25, 15, -3, 24, -1, -1
.byte 19, 45, 45, -17, 53, 47, -57, -35, 20, 7
.res 6, 0
objYhi:
.byte 23, 4, 41, 47, 17, 32, -4, -10, 40, -37, -26, 45, 17, 10, 31, 37
.byte -18, -13, -18, -11, 34, 27, -12, 8, 26, 45, 18, 37, 37, 51, 42, 29
.byte 10, 4, 23, -45, 5, -12, 37, 18, 28, 6
.res 6, 0
objType:
.byte 13, 13, 15, 15, 10, 11, 1, 0, 2, 2, 0, 1, 1, 1, 0, 15
.byte 6, 8, 18, 1, 0, 2, 0, 1, 0, 8, 1, 1, 15, 0, 12, 12
.byte 1, 0, 8, 17, 8, 7, 7, 7, 7, 7
.res 6, 0
objSec:
.byte 21, 23, 42, 42, 31, 14, 16, 35, 14, 1, 4, 42, 25, 25, 11, 9
.byte 39, 39, 39, 37, 14, 44, 40, 28, 8, 42, 7, 10, 9, 12, 9, 9
.byte 20, 23, 21, 0, 25, 39, 42, 45, 11, 18
.res 6, 0
; vertex data
vertX:
.byte -21, -7, -7, -21, -17, -11, -28, -28, -27, -23, -19, -16, -21, -21, -6, -6
.byte -11, -7, -2, 1, 1, -28, -24, -18, -18, -22, -19, -19, -33, -39, -25, -25
.byte -29, -26, -26, -19, -13, 8, -13, 6, 13, 13, 18, 18, 32, 36, 36, 18
.byte 18, 23, 23, 29, 29, 25, 25, -8, -1, 4, 11, 11, 18, 13, 13, 13
.byte 4, -1, 14, 18, 30, 24, 30, 47, 47, 36, 36, 49, 49, 55, 55, 58
.byte 63, 63, 59, 55, 55, 49, 49, 36, 36, 47, 47, -2, -7, -33, -29, -43
.byte -29, -42, -64, -51, -47, -57, -56, -52, -47, -43, -42, -36, -51, -50, -45, -51
.byte -38, -50, -46, -51, -56, -60, -64, -60, -51, -46, 18, -34, -34, -31, -27, -27
.byte -25, 36, 39, 39, 35, 18, 42, 42, 56, 56, 42
.res 1, 0
vertY:
.byte -52, -52, -42, -42, -42, -42, -40, -24, -19, -15, -15, -24, -24, -34, -34, -24
.byte -24, -15, -15, -21, -40, -18, -14, -8, 8, 15, 22, 32, -23, -16, -2, 8
.byte 15, 22, 35, 39, 46, 46, 26, 26, 31, 43, 43, 54, 54, 50, 31, 31
.byte 26, 26, 49, 49, 43, 43, 31, -9, 0, 0, 0, -5, -5, -15, -5, 4
.byte 4, 9, 9, 5, 26, 9, 1, 26, 20, 20, 17, 17, 26, 26, 16, 19
.byte 19, 7, 7, 11, 1, 1, 11, 11, 8, 8, 1, -17, -17, -10, -6, 8
.byte 22, 35, 13, 0, 4, 13, 14, 18, 23, 27, 28, 22, 7, 16, 21, 9
.byte 22, 27, 31, 36, 33, 34, 43, 50, 52, 47, -10, 8, 2, -1, -1, 3
.byte 3, -5, -8, -13, -19, -19, -13, -22, -22, -8, -8
.res 1, 0
; edge data
edgeTex:
.byte 0, 0, 0, 70, 0, 0, 0, 0, 0, 70, 0, 0, 4, 4, 4, 4
.byte 4, 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.byte 0, 0, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.byte 0, 0, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 0, 0, 0
.byte 0, 0, 0, 0, 0, 0, 144, 144, 144, 3, 3, 3, 0, 3, 3, 0
.byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.byte 0, 0, 0, 3, 3, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 64
.byte 2, 2, 2, 1, 106, 0, 0, 150, 213, 106, 2, 2, 0, 150, 0, 0
.byte 0, 0, 136, 4, 4, 0, 0, 136, 86, 200, 106, 216
.res 12, 0
edgeSec1:
.byte -1, -1, -1, 0, -1, -1, -1, -1, -1, 3, -1, -1, -1, -1, -1, -1
.byte -1, 16, -1, -1, 2, 1, 1, 4, -1, 5, -1, -1, -1, 33, -1, 6
.byte -1, -1, 6, -1, -1, 7, -1, -1, -1, 8, -1, 9, -1, -1, -1, -1
.byte -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, 11, -1
.byte -1, -1, 13, 12, -1, -1, 16, -1, -1, -1, -1, -1, -1, 19, -1, -1
.byte -1, -1, 16, 17, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
.byte -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 15, 18, 19, 20
.byte 22, 21, 22, 24, -1, -1, -1, -1, 26, -1, -1, -1, -1, -1, -1, -1
.byte -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 28, 29, 29, 28, 30
.byte 31, 32, 30, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, 35
.byte -1, -1, -1, -1, -1, -1, 33, 34, -1, 40, -1, -1, -1, 37, -1, -1
.byte -1, -1, -1, -1, -1, -1, -1, -1, 38, 42, 43, 45
.res 12, 0
edgeSec2:
.byte -1, -1, -1, 1, -1, -1, -1, -1, -1, 5, -1, -1, -1, -1, -1, -1
.byte -1, 26, -1, -1, 3, 2, 4, 27, -1, 40, -1, -1, -1, 40, -1, 33
.byte -1, -1, 7, -1, -1, 8, -1, -1, -1, 9, -1, 10, -1, -1, -1, -1
.byte -1, -1, -1, -1, -1, -1, -1, 11, -1, -1, -1, -1, -1, -1, 12, -1
.byte -1, -1, 14, 13, -1, -1, 17, -1, -1, -1, -1, -1, -1, 35, -1, -1
.byte -1, -1, 35, 18, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
.byte -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 25, 19, 20, 22
.byte 23, 22, 24, 25, -1, -1, -1, -1, 27, -1, -1, -1, -1, -1, -1, -1
.byte -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 45, 45, 44, 41, 31
.byte 32, 44, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37
.byte -1, -1, -1, -1, -1, -1, 34, 36, -1, 46, -1, -1, -1, 38, -1, -1
.byte -1, -1, -1, -1, -1, -1, -1, -1, 39, 43, 44, 46
.res 12, 0
edgeLen:
.byte 14, 10, 4, 6, 4, 10, 12, 16, 6, 6, 4, 10, 5, 10, 15, 10
.byte 5, 5, 19, 13, 7, 10, 10, 8, 2, 6, 2, 8, 10, 10, 9, 7
.byte 16, 9, 7, 9, 8, 6, 8, 13, 8, 7, 10, 12, 6, 21, 10, 10
.byte 19, 9, 5, 5, 5, 23, 5, 12, 11, 14, 6, 19, 6, 6, 8, 4
.byte 12, 11, 14, 6, 7, 13, 5, 7, 5, 9, 4, 9, 9, 5, 16, 2
.byte 10, 15, 18, 8, 8, 24, 10, 17, 6, 11, 3, 13, 9, 6, 10, 5
.byte 5, 12, 4, 6, 10, 6, 10, 13, 3, 11, 7, 17, 5, 6, 6, 19
.byte 10, 9, 6, 6, 8, 6, 2, 2, 5, 20, 20, 20, 6, 19, 19, 9
.byte 22, 9, 2, 8, 19, 8, 2, 3, 8, 8, 3, 7, 7, 7, 7, 8
.byte 8, 6, 6, 20, 6, 5, 5, 10, 9, 10, 8, 13, 9, 6, 8, 5
.byte 9, 6, 5, 4, 2, 5, 5, 9, 4, 6, 9, 8, 5, 5, 8, 17
.byte 9, 18, 3, 14, 14, 9, 14, 3, 5, 6, 6, 6
.res 12, 0