boolean cheat_no_explosion;
int laser_overload_value;
+ boolean laser_enabled;
};
struct LevelInfo_MM
extern void InitGameActions_MM();
extern void GameActions_MM(struct MouseActionInfo, boolean);
+extern void DrawLaser_MM();
+
extern void ClickElement(int, int, int);
extern unsigned int InitEngineRandom_MM(int);
game_mm.game_over_cause = 0;
game_mm.laser_overload_value = 0;
+ game_mm.laser_enabled = FALSE;
/* set global laser control values (must be set before "InitLaser()") */
laser.start_edge.x = 0;
{
DrawLaserExt(start_edge, laser.num_edges - start_edge, mode);
}
+
+ game_mm.laser_enabled = mode;
+}
+
+void DrawLaser_MM()
+{
+ DrawLaser(0, game_mm.laser_enabled);
}
boolean HitElement(int element, int hit_mask)
void RedrawPlayfield_MM()
{
DrawLevel_MM();
+ DrawLaser_MM();
}
void BlitScreenToBitmap_MM(Bitmap *target_bitmap)
void DrawField_MM(int, int);
void DrawLevel_MM(void);
+void DrawLaser_MM(void);
void DrawElement_MM(int, int, int);
void DrawWallsExt_MM(int, int, int, int);
void DrawWalls_MM(int, int, int);