File: sl-h.h

package info (click to toggle)
sl 3.03-12
  • links: PTS
  • area: main
  • in suites: woody
  • size: 128 kB
  • ctags: 272
  • sloc: ansic: 1,116; makefile: 59; sh: 1
file content (237 lines) | stat: -rw-r--r-- 10,502 bytes parent folder | download | duplicates (3)
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
/*========================================
 *    sl.h: Text data of SL version 3.01
 *	Copyright 1993 Toyoda Masashi 
 *		(toyoda@is.titech.ac.jp)
 *	Last Modified: 1992/12/23
 *========================================
 */

#define D51HIGHT	10
#define D51FUNNEL	 7
/*#define D51LENGTH       82*/
#define D51LENGTH       172
#define D51PATTERNS	 6


#define D51STR1  "      ====        ________                ___________ "
#define D51STR2  "  _D _|  |_______/        \\__I_I_____===__|_________| "
#define D51STR3  "   |(_)---  |   H\\________/ |   |        =|___ ___|   "
#define D51STR4  "   /     |  |   H  |  |     |   |         ||_| |_||   "
#define D51STR5  "  |      |  |   H  |__--------------------| [___] |   "
#define D51STR6  "  | ________|___H__/__|_____/[][]~\\_______|       |   "
#define D51STR7  "  |/ |   |-----------I_____I [][] []  D   |=======|__ "

#define D51WHL11 "__/ =| o |=-~~\\  /~~\\  /~~\\  /~~\\ ____Y___________|__ "
#define D51WHL12 " |/-=|___|=    ||    ||    ||    |_____/~\\___/        "
#define D51WHL13 "  \\_/      \\O=====O=====O=====O_/      \\_/            "

#define D51WHL21 "__/ =| o |=-~~\\  /~~\\  /~~\\  /~~\\ ____Y___________|__ "
#define D51WHL22 " |/-=|___|=O=====O=====O=====O   |_____/~\\___/        "
#define D51WHL23 "  \\_/      \\__/  \\__/  \\__/  \\__/      \\_/            "

#define D51WHL31 "__/ =| o |=-O=====O=====O=====O \\ ____Y___________|__ "
#define D51WHL32 " |/-=|___|=    ||    ||    ||    |_____/~\\___/        "
#define D51WHL33 "  \\_/      \\__/  \\__/  \\__/  \\__/      \\_/            "

#define D51WHL41 "__/ =| o |=-~O=====O=====O=====O\\ ____Y___________|__ "
#define D51WHL42 " |/-=|___|=    ||    ||    ||    |_____/~\\___/        "
#define D51WHL43 "  \\_/      \\__/  \\__/  \\__/  \\__/      \\_/            "

#define D51WHL51 "__/ =| o |=-~~\\  /~~\\  /~~\\  /~~\\ ____Y___________|__ "
#define D51WHL52 " |/-=|___|=   O=====O=====O=====O|_____/~\\___/        "
#define D51WHL53 "  \\_/      \\__/  \\__/  \\__/  \\__/      \\_/            "

#define D51WHL61 "__/ =| o |=-~~\\  /~~\\  /~~\\  /~~\\ ____Y___________|__ "
#define D51WHL62 " |/-=|___|=    ||    ||    ||    |_____/~\\___/        "
#define D51WHL63 "  \\_/      \\_O=====O=====O=====O/      \\_/            "

#define D51DEL   "                                                      "

#define COAL01 "                             "
#define COAL02 "                             "
#define COAL03 "    _________________        "
#define COAL04 "   _|                \\_____A "
#define COAL05 " =|                        | "
#define COAL06 " -|                        | "
#define COAL07 "__|________________________|_"
#define COAL08 "|__________________________|_"
#define COAL09 "   |_D__D__D_|  |_D__D__D_|  "
#define COAL10 "    \\_/   \\_/    \\_/   \\_/   "

#define COALDEL "                             "

#define LOGOHIGHT    	 6
#define LOGOFUNNEL  	 4
#define LOGOLENGTH      84
#define LOGOPATTERNS	 6

#define LOGO1  "     ++      +------ "
#define LOGO2  "     ||      |+-+ |  "
#define LOGO3  "   /---------|| | |  "
#define LOGO4  "  + ========  +-+ |  "

#define LWHL11 " _|--O========O~\\-+  "
#define LWHL12 "//// \\_/      \\_/    "

#define LWHL21 " _|--/O========O\\-+  "
#define LWHL22 "//// \\_/      \\_/    "

#define LWHL31 " _|--/~O========O-+  "
#define LWHL32 "//// \\_/      \\_/    "

#define LWHL41 " _|--/~\\------/~\\-+  "
#define LWHL42 "//// \\_O========O    "

#define LWHL51 " _|--/~\\------/~\\-+  "
#define LWHL52 "//// \\O========O/    "

#define LWHL61 " _|--/~\\------/~\\-+  "
#define LWHL62 "//// O========O_/    "

#define LCOAL1 "____                 "
#define LCOAL2 "|   \\@@@@@@@@@@@     "
#define LCOAL3 "|    \\@@@@@@@@@@@@@_ "
#define LCOAL4 "|                  | "
#define LCOAL5 "|__________________| "
#define LCOAL6 "   (O)       (O)     "

#define LCAR1  "____________________ "
#define LCAR2  "|  ___ ___ ___ ___ | "
#define LCAR3  "|  |_| |_| |_| |_| | "
#define LCAR4  "|__________________| "
#define LCAR5  "|__________________| "
#define LCAR6  "   (O)        (O)    "

#define DELLN  "                     "

#define PASSLENGTH 88

#define PASS01 "          _____  _____  _____  _____  _____  _____  _____  _____  _____  _____          "
#define PASS02 " _________|___|__|___|__|___|__|___|__|___|__|___|__|___|__|___|__|___|__|___|_________ "
#define PASS03 "  | ____  _____  _____  _____  _____  _____  _____  _____  _____  _____  _____  ____ |  "
#define PASS04 "  | |  |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |  | |  "
#define PASS05 "  | |  |  |___|  |___|  |___|  |___|  |___|  |___|  |___|  |___|  |___|  |___|  |  | |  "
#define PASS06 "  | |  |                                                                        |  | |  "
#define PASS07 "  | |  |                                   @@                                   |  | |  "
#define PASS08 "__|_|__|________________________________________________________________________|__|_|__"
#define PASS09 "\\==|_/_\\____/_\\_|  |______|Z          +--|_________________|------+    |_/_\\____/_\\_|==/"
#define PASS10 "     \\_/    \\_/                                       +++~~              \\_/    \\_/     "

#define PASSDEL "                                                                                        "

#define LPASSLENGTH 88

#define LPASS01 "          _____  _____  _____  _____  _____  _____  _____  _____  _____  _____           "
#define LPASS02 " _________|___|__|___|__|___|__|___|__|___|__|___|__|___|__|___|__|___|__|___|________   "
#define LPASS03 "  | ____  _____  _____  _____  _____  _____  _____  _____  _____  _____  ____   _____|   "
#define LPASS04 "  | |  |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |  |   |   |    "
#define LPASS05 "  | |  |  |___|  |___|  |___|  |___|  |___|  |___|  |___|  |___|  |___|  |  |   |   |    "
#define LPASS06 "  | |  |                                                                 |  |   |___|    "
#define LPASS07 "  | |  |                                   @@                            |  |   |_|_|    "
#define LPASS08 "__|_|__|_________________________________________________________________|__|___|_|_|___ "
#define LPASS09 "\\==|_/_\\____/_\\_|  |______|XX                    +-|_______|------+    |_/_\\____/_\\_|==/ "
#define LPASS10 "     \\_/    \\_/                                                          \\_/    \\_/      "

#define LPASSDEL "                                                                                         "

#define CROS001 ""
#define CROS002 ""
#define CROS003 "-_||_-"
#define CROS004  "_><_"
#define CROS005 "- || -"
#define CROS006   "||"
#define CROS007   "||"
#define CROS008   "||"
#define CROS009   "||"
#define CROS010 "\\&||~"

static int cros0l[] = {0, 0, 0, 1, 0, 2, 2, 2, 2, 0};

#define CROS101 " |                  "
#define CROS102 " |                  "
#define CROS103 " |                  "
#define CROS104 " |                  "
#define CROS105 " |                  "
#define CROS106 " |                  "
#define CROS107 " |                  "
#define CROS108 " |                  "
#define CROS109 "_|_                 "
#define CROS110 "|||                 "

#define CROS201 "          /         "
#define CROS202 "         /          "
#define CROS203 "        /           "
#define CROS204 "       /            "
#define CROS205 "      /             "
#define CROS206 "     /              "
#define CROS207 "    /               "
#define CROS208 "   /                "
#define CROS209 "__/                 "
#define CROS210 "|/|                 "

#define CROS301 "                    "
#define CROS302 "                    "
#define CROS303 "                    "
#define CROS304 "                    "
#define CROS305 "                    "
#define CROS306 "                    "
#define CROS307 "                    "
#define CROS308 "                    "
#define CROS309 "___"
#define CROS310 "|-+-----------------"

/*#define PASSNUM 5*/
/*#define ALL_LENGTH (D51LENGTH + (PASSLENGTH * (PASSNUM - 1)) + LPASSLENGTH)*/

static char *cros0[D51HIGHT]
= {CROS001, CROS002, CROS003, CROS004, CROS005,
   CROS006, CROS007, CROS008, CROS009, CROS010};
static char *cros1[D51HIGHT]
= {CROS101, CROS102, CROS103, CROS104, CROS105,
   CROS106, CROS107, CROS108, CROS109, CROS110};
static char *cros2[D51HIGHT]
= {CROS201, CROS202, CROS203, CROS204, CROS205,
   CROS206, CROS207, CROS208, CROS209, CROS210};
static char *cros3[D51HIGHT]
= {CROS301, CROS302, CROS303, CROS304, CROS305,
   CROS306, CROS307, CROS308, CROS309, CROS310};

static char *lcoal[LOGOHIGHT + 1]
= {LCOAL1, LCOAL2, LCOAL3, LCOAL4, LCOAL5, LCOAL6, DELLN};

static char *d51[D51PATTERNS][D51HIGHT + 1]
= {{D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL11, D51WHL12, D51WHL13, D51DEL},
   {D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL21, D51WHL22, D51WHL23, D51DEL},
   {D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL31, D51WHL32, D51WHL33, D51DEL},
   {D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL41, D51WHL42, D51WHL43, D51DEL},
   {D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL51, D51WHL52, D51WHL53, D51DEL},
   {D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL61, D51WHL62, D51WHL63, D51DEL}};
static char *coal[D51HIGHT + 1]
= {COAL01, COAL02, COAL03, COAL04, COAL05,
   COAL06, COAL07, COAL08, COAL09, COAL10, COALDEL};
static char *coach[D51HIGHT + 1]
= {PASS01, PASS02, PASS03, PASS04, PASS05,
   PASS06, PASS07, PASS08, PASS09, PASS10, PASSDEL};
static char *lcoach[D51HIGHT + 1]
= {LPASS01, LPASS02, LPASS03, LPASS04, LPASS05,
   LPASS06, LPASS07, LPASS08, LPASS09, LPASS10, LPASSDEL};

static char *d51_r[D51PATTERNS][D51HIGHT + 1]
= {{D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL11, D51WHL12, D51WHL13, D51DEL},
   {D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL61, D51WHL62, D51WHL63, D51DEL},
   {D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL51, D51WHL52, D51WHL53, D51DEL},
   {D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL41, D51WHL42, D51WHL43, D51DEL},
   {D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL31, D51WHL32, D51WHL33, D51DEL},
   {D51STR1, D51STR2, D51STR3, D51STR4, D51STR5, D51STR6, D51STR7,
    D51WHL21, D51WHL22, D51WHL23, D51DEL}};