3 * intermediate cave structure
219 int width; /* cave width */
220 int height; /* cave height */
222 int player_x[MAX_PLAYERS]; /* player x position */
223 int player_y[MAX_PLAYERS]; /* player y position */
225 int time_seconds; /* available time (seconds) */
226 int gems_needed; /* emeralds needed */
228 int eater_score; /* score for killing eater */
229 int alien_score; /* score for killing alien */
230 int bug_score; /* score for killing bug */
231 int tank_score; /* score for killing tank */
232 int slurp_score; /* score for slurping alien with spring */
233 int nut_score; /* score for cracking nut to emerald */
234 int emerald_score; /* score for collecting emerald */
235 int diamond_score; /* score for collecting diamond */
236 int dynamite_score; /* score for collecting dynamite */
237 int key_score; /* score for colleting key */
238 int lenses_score; /* score for collecting lenses */
239 int magnify_score; /* score for collecting magnifier */
240 int exit_score; /* score for entering exit */
242 int android_move_time; /* reset time for android movement */
243 int android_clone_time; /* reset time for android cloning */
244 int ball_time; /* reset time for ball activity */
245 int amoeba_time; /* amoeba growth speed */
246 int wonderwall_time; /* reset time for wonderwall activity */
247 int wheel_time; /* reset time for wheel activity */
248 int wheel_x; /* wheel x position */
249 int wheel_y; /* wheel y position */
250 int lenses_time; /* reset time for lenses activity */
251 int magnify_time; /* reset time for magnifier activity */
252 int wind_time; /* reset time for wind activity */
253 int wind_direction; /* wind direction */
255 int num_eater_arrays; /* number of eater data arrays used */
256 int num_ball_arrays; /* number of ball data arrays used */
258 boolean testmode; /* flag for test mode */
259 boolean teamwork; /* flag for two player mode */
260 boolean infinite; /* flag for infinitely wide cave */
261 boolean infinite_true; /* flag for truely infinitely wide cave */
263 boolean ball_random; /* flag if ball is random */
264 boolean ball_active; /* flag if ball is already active */
265 boolean wonderwall_active; /* flag if wonderwall is already active */
266 boolean wheel_active; /* flag if wheel is already active */
267 boolean lenses_active; /* flag if lenses are already active */
268 boolean magnify_active; /* flag if magnifier is already active */
270 short eater_array[8][9]; /* eater data */
271 short ball_array[8][8]; /* ball data */
272 short android_array[GAME_TILE_MAX]; /* android clone data */
274 short cave[CAVE_WIDTH][CAVE_HEIGHT]; /* cave data */