X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fexport.h;h=1cbf0b6a1f4e067ba2cb6431e2f85362109d3ae7;hb=4ed8ff5e4233a4d180895ac32d162f1bf568c6cd;hp=f69946245731da069b9024720821c2a837b4c9e2;hpb=c2575609f053eab9617b11f2150e308904cab339;p=rocksndiamonds.git diff --git a/src/game_mm/export.h b/src/game_mm/export.h index f6994624..1cbf0b6a 100644 --- a/src/game_mm/export.h +++ b/src/game_mm/export.h @@ -27,12 +27,14 @@ #define MM_LEVEL_SCORE_ELEMENTS 16 +#define MM_MAX_BALL_CONTENTS 16 + #define MM_MAX_LEVEL_NAME_LEN 32 #define MM_MAX_LEVEL_AUTHOR_LEN 32 #define EL_MM_START_1_NATIVE 0 -#define EL_MM_END_1_NATIVE 155 +#define EL_MM_END_1_NATIVE 159 #define EL_MM_CHAR_START_NATIVE 160 #define EL_MM_CHAR_END_NATIVE 239 @@ -138,6 +140,8 @@ struct GameInfo_MM int kettles_still_needed; int lights_still_needed; int num_keys; + int ball_choice_pos; // current content element choice position + boolean laser_red, laser_green, laser_blue; boolean level_solved; boolean game_over; @@ -161,7 +165,8 @@ struct LevelInfo_MM int time; int kettles_needed; boolean auto_count_kettles; - boolean laser_red, laser_green, laser_blue; + boolean mm_laser_red, mm_laser_green, mm_laser_blue; + boolean df_laser_red, df_laser_green, df_laser_blue; char name[MM_MAX_LEVEL_NAME_LEN + 1]; char author[MM_MAX_LEVEL_AUTHOR_LEN + 1]; int score[MM_LEVEL_SCORE_ELEMENTS]; @@ -171,6 +176,12 @@ struct LevelInfo_MM int time_ball; int time_block; + int num_ball_contents; + int ball_choice_mode; + int ball_content[MM_MAX_BALL_CONTENTS]; + boolean rotate_ball_content; + boolean explode_ball; + short field[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT]; };