added support for text envelope elements to the MM engine
[rocksndiamonds.git] / src / tools.c
index 5e5a2e1d01708640a63511faab85a617e596d843..d9e3652c2500d1598391fbbe4f09e0f69fe4e467 100644 (file)
@@ -2989,6 +2989,16 @@ void ShowEnvelope(int envelope_nr)
   BackToFront();
 }
 
+void ShowEnvelope_MM(int envelope_nr)
+{
+  BlitBitmap(backbuffer, bitmap_db_field, REAL_SX, REAL_SY,
+            FULL_SXSIZE, FULL_SYSIZE, REAL_SX, REAL_SY);
+
+  ShowEnvelope(envelope_nr);
+
+  SetDrawtoField(DRAW_TO_BACKBUFFER);
+}
+
 static void PrepareEnvelopeRequestToScreen(Bitmap *bitmap, int sx, int sy,
                                           int xsize, int ysize)
 {