3 * intermediate cave structure
11 int width; /* cave width */
12 int height; /* cave height */
14 int player_x[MAX_PLAYERS]; /* player x pos */
15 int player_y[MAX_PLAYERS]; /* player y pos */
17 int time_seconds; /* available time (seconds) */
18 int required; /* emeralds needed */
20 int eater_score; /* score for killing eater */
21 int alien_score; /* score for killing alien */
22 int bug_score; /* score for killing bug */
23 int tank_score; /* score for killing tank */
24 int emerald_score; /* score for collecting emerald */
25 int diamond_score; /* score for collecting diamond */
26 int nut_score; /* score for cracking nut */
27 int slurp_score; /* score for slurping alien with spring */
28 int dynamite_score; /* score for collecting dynamite */
29 int key_score; /* score for colleting key */
30 int lenses_score; /* score for collecting lenses */
31 int magnify_score; /* score for collecting magnifier */
32 int exit_score; /* score for entering exit */
34 int android_move_time; /* android move reset time */
35 int android_clone_time; /* android clone reset time */
36 int ball_time; /* ball reset time */
37 int amoeba_time; /* amoeba speed */
38 int wonderwall_time; /* wonderwall time */
39 int wheel_time; /* wheel reset time */
40 int wheel_x; /* wheel x pos */
41 int wheel_y; /* wheel y pos */
42 int lenses_time; /* lenses reset time */
43 int magnify_time; /* magnify reset time */
44 int wind_time; /* wind reset time */
45 int wind_direction; /* wind direction */
47 int ball_random; /* ball is random flag */
48 int ball_state; /* ball active flag */
49 int wonderwall_state; /* wonderwall active flag */
50 int wheel_cnt; /* wheel counter */
51 int lenses_cnt; /* lenses counter */
52 int magnify_cnt; /* magnify counter */
53 int wind_cnt; /* wind time counter */
55 int num_ball_arrays; /* number of ball data arrays used */
57 short eater_array[8][9]; /* eater data */
58 short ball_array[8][8]; /* ball data */
59 short android_array[TILE_MAX]; /* android clone data */
61 short cave[CAVE_WIDTH][CAVE_HEIGHT]; /* cave data */