-
Notifications
You must be signed in to change notification settings - Fork 23
/
status.zil
101 lines (88 loc) · 1.74 KB
/
status.zil
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
"STATUS for
SUSPENDED
(c) Copyright 1985 Infocom, Inc. All Rights Reserved.
"
<CONSTANT H-NORMAL 0>
<CONSTANT H-INVERSE 1>
<CONSTANT D-NORMAL 0>
<CONSTANT D-TABLE 1>
<ROUTINE INIT-STATUS-LINE ()
<CLEAR -1>
<SPLIT 3>
<SCREEN 1>
<BUFOUT <>>
<INVERSE-LINE 1>
<INVERSE-LINE 2>
<INVERSE-LINE 3>
<HLIGHT ,H-INVERSE>
<CURSET 1 1>
<TELL "Cryolink to:">
<CURSET 1 30>
<TELL "Casualties this Cycle:">
<CURSET 1 60>
<TELL "Cycle:">
<CURSET 2 1>
<TELL "Auda:">
<CURSET 2 30>
<TELL "Iris:">
<CURSET 2 60>
<TELL "Poet:">
<CURSET 3 1>
<TELL "Sensa:">
<CURSET 3 30>
<TELL "Waldo:">
<CURSET 3 60>
<TELL "Whiz:">
<BUFOUT T>
<HLIGHT ,H-NORMAL>
<SCREEN 0>>
<ROUTINE INVERSE-LINE (LIN "AUX" (CNT 79))
<CURSET .LIN 1>
<HLIGHT ,H-INVERSE>
<PRINT-SPACES .CNT>
<HLIGHT ,H-NORMAL>>
<ROUTINE PRINT-SPACES (CNT)
<REPEAT ()
<COND (<L? <SET CNT <- .CNT 1>> 0>
<RETURN>)
(T
<PRINTC 32>)>>>
<GLOBAL SL-BUFFER <ITABLE NONE 80>>
<ROUTINE STATUS-LINE ("AUX" LEN)
<BUFOUT <>>
<DIROUT ,D-TABLE ,SL-BUFFER>
<TELL D ,HERE>
<DIROUT ,D-NORMAL>
<SET LEN <GET ,SL-BUFFER 0>>
<SCREEN 1>
<CURSET 1 15>
<HLIGHT ,H-INVERSE>
<TELL D ,HERE>
<PRINT-SPACES <- 25 .LEN>>
<CURSET 1 57>
<TELL N ,SCORE " ">
<CURSET 1 71>
<TELL N ,MOVES " ">
<CURSET 2 8>
<SL-LOC ,AUDA>
<CURSET 2 37>
<SL-LOC ,IRIS>
<CURSET 2 67>
<SL-LOC ,POET>
<CURSET 3 8>
<SL-LOC ,SENSA>
<CURSET 3 37>
<SL-LOC ,WALDO>
<CURSET 3 67>
<SL-LOC ,WHIZ>
<SCREEN 0>
<CURSET 23 1>
<BUFOUT T>
<HLIGHT ,H-NORMAL>>
<ROUTINE SL-LOC (RBT "AUX" (L <LOC .RBT>) LEN)
<DIROUT ,D-TABLE ,SL-BUFFER>
<TELL D .L>
<DIROUT ,D-NORMAL>
<SET LEN <GET ,SL-BUFFER 0>>
<TELL D .L>
<PRINT-SPACES <- 20 .LEN>>>