-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathe1m9.s
86 lines (72 loc) · 979 Bytes
/
e1m9.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
.segment "MAPDATA"
; sector data
secVerts:
.byte 0, 1, 2, 3, 3, 2, 1, 0
.res 504, 0
secEdges:
.byte 1, 2, 3, 0, 3, 4, 3, 4
.res 504, 0
; summary data (8 bytes)
numVerts:
.byte 4
numEdges:
.byte 4
numSectors:
.byte 1
numObj:
.byte 1
playerSpawnX:
.byte 1
playerSpawnY:
.byte -10
playerSpawnAngle:
.byte 0
playerSpawnSector:
.byte 0
numEnemies:
.byte 1
numItems:
.byte 0
numSecrets:
.byte 0
parTime:
.byte 30
secretSectors:
.res 8, 0
; sector info
secNumVerts:
.byte 4
.res 63, 0
; object data
objXhi:
.byte -1
.res 47, 0
objYhi:
.byte 10
.res 47, 0
objType:
.byte 1
.res 47, 0
objSec:
.byte 0
.res 47, 0
; vertex data
vertX:
.byte -20, -20, 20, 20
.res 136, 0
vertY:
.byte -20, 20, 20, -20
.res 136, 0
; edge data
edgeTex:
.byte 0, 0, 0, 0
.res 196, 0
edgeSec1:
.byte -1, -1, -1, -1
.res 196, 0
edgeSec2:
.byte -1, -1, -1, -1
.res 196, 0
edgeLen:
.byte 40, 40, 40, 40
.res 196, 0