Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 217 lines (195 sloc) 9.681 kb
8726ee9 David Capello original version
authored
1 /*
2 Donkey Bolonkey
3 Copyright (C) 2001 by David A. Capello
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19
20 static LEVEL level1 =
21 {
22 /* block */
23 { LINE( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
24 LINE( S|R, S|R, S|R, S|D, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
25 LINE(H|S|U, 0, R, R, R, R, R, R, R, D, 0, 0, 0, 0, 0, 0 ),
26 LINE( 0, 0, U, 0, 0, 0, 0, 0, 0, D, 0, 0, 0, 0, 0, 0 ),
27 LINE( 0, 0, U, 0, 0, 0, 0, 0, 0, D, 0, 0, 0, 0, 0, 0 ),
28 LINE( 0, 0, U, 0, 0, 0, 0, 0, B|R, T|D, 0, 0, 0, 0, 0, 0 ),
29 LINE( 0, 0, U, 0, 0, 0, 0, 0, 0, D, 0, 0, 0, 0, 0, 0 ),
30 LINE( 0, 0, U, 0, 0, 0, 0, 0, 0, D, 0, 0, 0, 0, 0, 0 ),
31 LINE( 0, 0, U, E|L, E|L, E|L, E|L, L, L, L, 0, 0, 0, 0, 0, 0 ) },
32 /* counter */
33 16,
34 /* color_table */
35 {
36 FALSE, /* DONKEY_COLOR_WHITE */
37 TRUE, /* DONKEY_COLOR_RED */
38 TRUE, /* DONKEY_COLOR_ORANGE */
39 FALSE, /* DONKEY_COLOR_YELLOW */
40 TRUE, /* DONKEY_COLOR_GREEN */
41 FALSE, /* DONKEY_COLOR_LIGHTBLUE */
42 FALSE, /* DONKEY_COLOR_BLUE */
43 FALSE, /* DONKEY_COLOR_MAGENT */
44 },
45 /* donkey { move_freq_min, move_freq_max, move_freq_countdown, add_freq } */
46 { 400, 600, 20, 5 },
47 /* bg */
48 BMP_BG1
49 };
50
51
52
53 static LEVEL level2 =
54 {
55 /* block */
56 { LINE(H|S|D, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
57 LINE( S|D, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
58 LINE( S|R, S|R, R, R, R, R, R, T|R, R, R, R, R, R, D, 0, 0 ),
59 LINE( 0, 0, U, 0, 0, 0, 0, B|U, 0, 0, 0, 0, 0, D, 0, 0 ),
60 LINE( 0, 0, U, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, D, 0, 0 ),
61 LINE( 0, 0, U, 0, 0, 0, 0, 0, 0, 0, 0, 0, B|R, T|D, 0, 0 ),
62 LINE( 0, 0, U, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, D, 0, 0 ),
63 LINE( 0, 0, U, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, D, 0, 0 ),
64 LINE( 0, 0, U, E|L, E|L, E|L, E|L, L, L, L, L, L, L, L, 0, 0 ) },
65 /* counter */
66 20,
67 /* color_table */
68 {
69 FALSE, /* DONKEY_COLOR_WHITE */
70 TRUE, /* DONKEY_COLOR_RED */
71 TRUE, /* DONKEY_COLOR_ORANGE */
72 TRUE, /* DONKEY_COLOR_YELLOW */
73 TRUE, /* DONKEY_COLOR_GREEN */
74 FALSE, /* DONKEY_COLOR_LIGHTBLUE */
75 FALSE, /* DONKEY_COLOR_BLUE */
76 FALSE, /* DONKEY_COLOR_MAGENT */
77 },
78 /* donkey { move_freq_min, move_freq_max, move_freq_countdown, add_freq } */
79 { 350, 550, 18, 5 },
80 /* bg */
81 BMP_BG1
82 };
83
84
85
86 static LEVEL level3 =
87 {
88 /* block */
89 { LINE( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, S|D, S|L,H|S|L ),
90 LINE( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, S|D, 0, 0 ),
91 LINE( 0, 0, 0, R, R, R, R, R, R, R, R, R, R, D, 0, 0 ),
92 LINE( 0, 0, R, U, 0, 0, 0, 0, 0, 0, 0, 0, 0, D, 0, 0 ),
93 LINE( 0, 0, U, 0, 0, 0, 0, 0, 0, 0, D, L, T|L, L, 0, 0 ),
94 LINE( 0, 0, T|U, B|L, 0, 0, 0, 0, 0, 0, D, 0, B|U, 0, 0, 0 ),
95 LINE( 0, 0, U, 0, 0, 0, 0, 0, 0, 0, R, R, R, D, 0, 0 ),
96 LINE( 0, 0, U, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, D, 0, 0 ),
97 LINE( 0, 0, U, E|L, E|L, E|L, E|L, E|L, L, L, L, L, L, L, 0, 0 ) },
98 /* counter */
99 28,
100 /* color_table */
101 {
102 FALSE, /* DONKEY_COLOR_WHITE */
103 TRUE, /* DONKEY_COLOR_RED */
104 TRUE, /* DONKEY_COLOR_ORANGE */
105 TRUE, /* DONKEY_COLOR_YELLOW */
106 TRUE, /* DONKEY_COLOR_GREEN */
107 FALSE, /* DONKEY_COLOR_LIGHTBLUE */
108 TRUE, /* DONKEY_COLOR_BLUE */
109 FALSE, /* DONKEY_COLOR_MAGENT */
110 },
111 /* donkey { move_freq_min, move_freq_max, move_freq_countdown, add_freq } */
112 { 300, 500, 15, 4 },
113 /* bg */
114 BMP_BG2
115 };
116
117
118
119 static LEVEL level4 =
120 {
121 /* block */
122 { LINE( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
123 LINE( 0, R, R, R, D, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
124 LINE( 0, U, 0, 0, R, R, D, 0, 0, 0, R, R, T|R, R, D, 0 ),
125 LINE( 0, U, 0, 0, 0, 0, D, 0, 0, 0, U, 0, B|U, 0, D, 0 ),
126 LINE( 0, U, L, L, L, 0, D, 0, B|D, 0, U, 0, 0, 0, D, 0 ),
127 LINE( 0, 0, 0, 0, U, 0, R, R, T|R, R, U, 0, 0, D, L, S|L ),
128 LINE( 0, R, R, R, U, 0, 0, 0, 0, 0, 0, 0, 0, D, 0, S|U ),
129 LINE( 0, U, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, D, 0, S|U ),
130 LINE( 0, U, E|L, E|L, E|L, E|L, E|L, L, L, L, L, L, L, L, 0,H|S|U ) },
131 /* counter */
132 36,
133 /* color_table */
134 {
135 FALSE, /* DONKEY_COLOR_WHITE */
136 TRUE, /* DONKEY_COLOR_RED */
137 TRUE, /* DONKEY_COLOR_ORANGE */
138 TRUE, /* DONKEY_COLOR_YELLOW */
139 TRUE, /* DONKEY_COLOR_GREEN */
140 TRUE, /* DONKEY_COLOR_LIGHTBLUE */
141 TRUE, /* DONKEY_COLOR_BLUE */
142 FALSE, /* DONKEY_COLOR_MAGENT */
143 },
144 /* donkey { move_freq_min, move_freq_max, move_freq_countdown, add_freq } */
145 { 250, 450, 10, 4 },
146 /* bg */
147 BMP_BG2
148 };
149
150
151
152 static LEVEL level5 =
153 {
154 /* block */
155 { LINE( 0, R, R, R, R, D, 0, 0,H|S|D, 0, R, R, R, R, R, D ),
156 LINE( 0, U, 0, 0, 0, D, 0, 0, S|D, 0, U, 0, 0, 0, 0, D ),
157 LINE( 0, U, 0, 0, 0, D, 0, 0, S|D, 0, U, 0, 0, 0, 0, D ),
158 LINE( 0, U, 0, 0, 0, R, R, R, R, R, U, 0, 0, 0, 0, D ),
159 LINE( 0, T|U, B|L, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, B|R, T|D ),
160 LINE( 0, U, 0, 0, 0, 0, D, L, T|L, L, L, 0, 0, 0, 0, D ),
161 LINE( 0, U, 0, 0, 0, 0, D, 0, B|U, 0, U, 0, 0, 0, 0, D ),
162 LINE( 0, U, 0, 0, 0, 0, D, 0, 0, 0, U, 0, 0, 0, 0, D ),
163 LINE( 0, E|U, E|L, E|L, E|L, E|L, E|L, 0, 0, 0, U, L, L, L, L, L ) },
164 /* counter */
165 44,
166 /* color_table */
167 {
168 FALSE, /* DONKEY_COLOR_WHITE */
169 TRUE, /* DONKEY_COLOR_RED */
170 TRUE, /* DONKEY_COLOR_ORANGE */
171 TRUE, /* DONKEY_COLOR_YELLOW */
172 TRUE, /* DONKEY_COLOR_GREEN */
173 TRUE, /* DONKEY_COLOR_LIGHTBLUE */
174 TRUE, /* DONKEY_COLOR_BLUE */
175 TRUE, /* DONKEY_COLOR_MAGENT */
176 },
177 /* donkey { move_freq_min, move_freq_max, move_freq_countdown, add_freq } */
178 { 200, 400, 7, 4 },
179 /* bg */
180 BMP_BG3
181 };
182
183
184 static LEVEL level6 =
185 {
186 /* block */
187 { LINE( R, D, 0, 0, 0, 0, 0, 0, 0, R, R, R, D, 0, R, D ),
188 LINE( U, R, D, 0, 0, 0, 0, 0, R, U, 0, 0, D, 0, U, D ),
189 LINE( U, 0, R, D, 0, 0, 0, R, U, 0, 0, 0, D, 0, U, D ),
190 LINE( U, 0, 0, R, D, 0, R, U, 0, 0, D, L, L, 0, U, D ),
191 LINE( U, L, 0, 0, R, T|R, U, 0, 0, B|R, T|D, 0, 0, 0, U, D ),
192 LINE( 0, U, 0, 0, 0, B|U, 0, 0, 0, 0, R, R, R, R, U, D ),
193 LINE( S|R, U, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, D ),
194 LINE( S|U, U, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, B|D, D ),
195 LINE(H|S|U, U, E|L, E|L, E|L, E|L, E|L, E|L, L, L, L, L, L, L, T|L, L ) },
196 /* counter */
197 50,
198 /* color_table */
199 {
200 FALSE, /* DONKEY_COLOR_WHITE */
201 TRUE, /* DONKEY_COLOR_RED */
202 TRUE, /* DONKEY_COLOR_ORANGE */
203 TRUE, /* DONKEY_COLOR_YELLOW */
204 TRUE, /* DONKEY_COLOR_GREEN */
205 TRUE, /* DONKEY_COLOR_LIGHTBLUE */
206 TRUE, /* DONKEY_COLOR_BLUE */
207 TRUE, /* DONKEY_COLOR_MAGENT */
208 },
209 /* donkey { move_freq_min, move_freq_max, move_freq_countdown, add_freq } */
210 { 150, 350, 5, 4 },
211 /* bg */
212 BMP_BG3
213 };
214
215
216
Something went wrong with that request. Please try again.