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 alien_score; /* score for killing alien */
21 int amoeba_time; /* amoeba speed */
22 int android_move_cnt; /* android move counter */
23 int android_move_time; /* android move reset time */
24 int android_clone_cnt; /* android clone counter */
25 int android_clone_time; /* android clone reset time */
26 int ball_cnt; /* ball counter */
27 int ball_pos; /* ball array pos counter */
28 int ball_random; /* ball is random flag */
29 int ball_state; /* ball active flag */
30 int ball_time; /* ball reset time */
31 int bug_score; /* score for killing bug */
32 int diamond_score; /* score for collecting diamond */
33 int dynamite_score; /* score for collecting dynamite */
34 int eater_pos; /* eater array pos */
35 int eater_score; /* score for killing eater */
36 int emerald_score; /* score for collecting emerald */
37 int exit_score; /* score for entering exit */
38 int key_score; /* score for colleting key */
39 int lenses_cnt; /* lenses counter */
40 int lenses_score; /* score for collecting lenses */
41 int lenses_time; /* lenses reset time */
42 int magnify_cnt; /* magnify counter */
43 int magnify_score; /* score for collecting magnifier */
44 int magnify_time; /* magnify reset time */
45 int nut_score; /* score for cracking nut */
46 int shine_cnt; /* shine counter for emerald/diamond */
47 int slurp_score; /* score for slurping alien */
48 int tank_score; /* score for killing tank */
49 int wheel_cnt; /* wheel counter */
50 int wheel_x; /* wheel x pos */
51 int wheel_y; /* wheel y pos */
52 int wheel_time; /* wheel reset time */
53 int wind_cnt; /* wind time counter */
54 int wind_direction; /* wind direction */
55 int wind_time; /* wind reset time */
56 int wonderwall_state; /* wonderwall active flag */
57 int wonderwall_time; /* wonderwall time */
59 int num_ball_arrays; /* number of ball data arrays used */
61 short eater_array[8][9]; /* eater data */
62 short ball_array[8][8]; /* ball data */
63 short android_array[TILE_MAX]; /* android clone table */
65 short cave[CAVE_WIDTH][CAVE_HEIGHT]; /* cave data */