3 * intermediate cave structure
217 int width; /* cave width */
218 int height; /* cave height */
220 int player_x[MAX_PLAYERS]; /* player x pos */
221 int player_y[MAX_PLAYERS]; /* player y pos */
223 int time_seconds; /* available time (seconds) */
224 int gems_needed; /* emeralds needed */
226 int eater_score; /* score for killing eater */
227 int alien_score; /* score for killing alien */
228 int bug_score; /* score for killing bug */
229 int tank_score; /* score for killing tank */
230 int slurp_score; /* score for slurping alien with spring */
231 int nut_score; /* score for cracking nut to emerald */
232 int emerald_score; /* score for collecting emerald */
233 int diamond_score; /* score for collecting diamond */
234 int dynamite_score; /* score for collecting dynamite */
235 int key_score; /* score for colleting key */
236 int lenses_score; /* score for collecting lenses */
237 int magnify_score; /* score for collecting magnifier */
238 int exit_score; /* score for entering exit */
240 int android_move_time; /* android move reset time */
241 int android_clone_time; /* android clone reset time */
242 int ball_time; /* ball reset time */
243 int amoeba_time; /* amoeba speed */
244 int wonderwall_time; /* wonderwall time */
245 int wheel_time; /* wheel reset time */
246 int wheel_x; /* wheel x pos */
247 int wheel_y; /* wheel y pos */
248 int lenses_time; /* lenses reset time */
249 int magnify_time; /* magnify reset time */
250 int wind_time; /* wind reset time */
251 int wind_direction; /* wind direction */
253 int ball_random; /* ball is random flag */
254 int ball_state; /* ball active flag */
255 int wonderwall_state; /* wonderwall active flag */
256 int wheel_cnt; /* wheel counter */
257 int lenses_cnt; /* lenses counter */
258 int magnify_cnt; /* magnify counter */
259 int wind_cnt; /* wind time counter */
261 int num_ball_arrays; /* number of ball data arrays used */
263 short eater_array[8][9]; /* eater data */
264 short ball_array[8][8]; /* ball data */
265 short android_array[GAME_TILE_MAX]; /* android clone data */
267 short cave[CAVE_WIDTH][CAVE_HEIGHT]; /* cave data */