4 /* 2000-07-30T11:06:03Z ---------------------------------------------------- */
6 #define EM_MAX_CAVE_WIDTH 102
7 #define EM_MAX_CAVE_HEIGHT 102
9 /* define these for backwards compatibility */
10 #define EM_ENGINE_BAD_ROLL
11 #define EM_ENGINE_BAD_SPRING
15 Xblank = 0, /* still */
16 Yacid_splash_eB, /* hmm */
17 Yacid_splash_wB, /* hmm */
19 #ifdef EM_ENGINE_BAD_ROLL
20 Xstone_force_e, /* only use these in eater */
406 Xboom_bug, /* passed from explode to synchro (linked explosion);
407 transition to explode_normal */
408 Xboom_bomb, /* passed from explode to synchro (linked explosion);
409 transition to explode_normal */
410 Xboom_android, /* passed from explode to synchro;
411 transition to boom_2 */
412 Xboom_1, /* passed from explode to synchro;
413 transition to boom_2 */
414 Xboom_2, /* transition to boom[] */
416 Znormal, /* passed from synchro to explode, only in next[];
418 Zdynamite, /* passed from synchro to explode, only in next[];
420 Zplayer, /* special code to indicate player;
422 ZBORDER, /* special code to indicate border;
430 unsigned int home_initial; /* number of players (initial) */
431 unsigned int home; /* number of players not yet at home */
432 /* 0 == all players at home */
434 unsigned int width; /* playfield width */
435 unsigned int height; /* playfield height */
436 unsigned int time_initial; /* time remaining (initial) */
437 unsigned int time; /* time remaining (runtime) */
438 unsigned int required_initial; /* emeralds needed (initial) */
439 unsigned int required; /* emeralds needed (runtime) */
440 unsigned int score; /* score */
442 /* fill in all below /every/ time you read a level */
443 unsigned int alien_score; /* alien popped by stone/spring score */
444 unsigned int ameuba_time; /* ameuba speed */
445 unsigned int android_move_cnt_initial; /* android move time counter (initial) */
446 unsigned int android_move_cnt; /* android move time counter */
447 unsigned int android_move_time; /* android move reset time */
448 unsigned int android_clone_cnt_initial; /* android clone time counter (initial) */
449 unsigned int android_clone_cnt; /* android clone time counter */
450 unsigned int android_clone_time; /* android clone reset time */
451 unsigned int ball_cnt; /* ball time counter */
452 unsigned int ball_pos; /* ball array pos counter */
453 unsigned int ball_random; /* ball is random flag */
454 unsigned int ball_state_initial; /* ball currently on flag (initial) */
455 unsigned int ball_state; /* ball currently on flag */
456 unsigned int ball_time; /* ball reset time */
457 unsigned int bug_score; /* bug popped by stone/spring score */
458 unsigned int diamond_score; /* diamond collect score */
459 unsigned int dynamite_score; /* dynamite collect scoer*/
460 unsigned int eater_pos; /* eater array pos */
461 unsigned int eater_score; /* eater popped by stone/spring score */
462 unsigned int emerald_score; /* emerald collect score */
463 unsigned int exit_score; /* exit score */
464 unsigned int key_score; /* key collect score */
465 unsigned int lenses_cnt_initial; /* lenses time counter (initial) */
466 unsigned int lenses_cnt; /* lenses time counter */
467 unsigned int lenses_score; /* lenses collect score */
468 unsigned int lenses_time; /* lenses reset time */
469 unsigned int magnify_cnt_initial; /* magnify time counter (initial) */
470 unsigned int magnify_cnt; /* magnify time counter */
471 unsigned int magnify_score; /* magnify collect score */
472 unsigned int magnify_time; /* magnify reset time */
473 unsigned int nut_score; /* nut crack score */
474 unsigned int shine_cnt; /* shine counter for emerald/diamond */
475 unsigned int slurp_score; /* slurp alien score */
476 unsigned int tank_score; /* tank popped by stone/spring */
477 unsigned int wheel_cnt_initial; /* wheel time counter (initial) */
478 unsigned int wheel_cnt; /* wheel time counter */
479 unsigned int wheel_x_initial; /* wheel x pos (initial) */
480 unsigned int wheel_x; /* wheel x pos */
481 unsigned int wheel_y_initial; /* wheel y pos (initial) */
482 unsigned int wheel_y; /* wheel y pos */
483 unsigned int wheel_time; /* wheel reset time */
484 unsigned int wind_cnt_initial; /* wind time counter (initial) */
485 unsigned int wind_cnt; /* wind time counter */
486 unsigned int wind_direction_initial;/* wind direction (initial) */
487 unsigned int wind_direction; /* wind direction */
488 unsigned int wind_time; /* wind reset time */
489 unsigned int wonderwall_state_initial; /* wonderwall currently on flag (initial) */
490 unsigned int wonderwall_state; /* wonderwall currently on flag */
491 unsigned int wonderwall_time_initial;/* wonderwall time (initial) */
492 unsigned int wonderwall_time; /* wonderwall time */
493 unsigned short eater_array[8][9]; /* eater data */
494 unsigned short ball_array[8][8]; /* ball data */
495 unsigned short android_array[TILE_MAX]; /* android clone table */
501 unsigned int alive_initial;
504 unsigned int dynamite;
505 unsigned int dynamite_cnt;
509 unsigned int x_initial;
510 unsigned int y_initial;
521 unsigned joy_stick:1;
528 struct PLAYER *ply1, *ply2;
530 unsigned short cave[EM_MAX_CAVE_WIDTH][EM_MAX_CAVE_HEIGHT];
533 #endif /* MAIN_EM_H */