X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=a943547a875a67819374a679b030e06ac8c38cd3;hb=a4581e2f4428947f2a28df0085e72ce07142e786;hp=de5e736dfa727a58eb29059aebf5b2c3ae7c7603;hpb=10f312b2236afd0bd063d1dab380064d8431a850;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index de5e736d..a943547a 100644 --- a/src/main.h +++ b/src/main.h @@ -995,6 +995,10 @@ #define STD_ELEMENT_CONTENTS 4 #define MAX_ELEMENT_CONTENTS 8 +#define MIN_MM_BALL_CONTENTS 1 +#define STD_MM_BALL_CONTENTS 8 +#define MAX_MM_BALL_CONTENTS 16 + // values for initial player inventory #define MIN_INITIAL_INVENTORY_SIZE 1 #define MAX_INITIAL_INVENTORY_SIZE 8 @@ -2023,8 +2027,10 @@ #define EL_MM_PACMAN_EATING_UP (EL_FIRST_RUNTIME_REAL + 78) #define EL_MM_PACMAN_EATING_LEFT (EL_FIRST_RUNTIME_REAL + 79) #define EL_MM_PACMAN_EATING_DOWN (EL_FIRST_RUNTIME_REAL + 80) +#define EL_MM_BOMB_ACTIVE (EL_FIRST_RUNTIME_REAL + 81) +#define EL_DF_MINE_ACTIVE (EL_FIRST_RUNTIME_REAL + 82) -#define NUM_DRAWABLE_ELEMENTS (EL_FIRST_RUNTIME_REAL + 81) +#define NUM_DRAWABLE_ELEMENTS (EL_FIRST_RUNTIME_REAL + 83) #define EL_MM_RUNTIME_START EL_MM_EXIT_OPENING #define EL_MM_RUNTIME_END EL_MM_AMOEBA_WALL_GROWING @@ -3288,6 +3294,10 @@ struct LevelInfo int mm_time_ball; int mm_time_block; + int num_mm_ball_contents; + int mm_ball_choice_mode; + int mm_ball_content[MAX_MM_BALL_CONTENTS]; + // ('int' instead of 'boolean' because used as selectbox value in editor) int use_step_counter; // count steps instead of seconds for level