added wrapper function to draw graphic at level playfield position
[rocksndiamonds.git] / src / tools.c
index c8070fa2365f3349e0e68b3a9785f3c9c218f564..bde987901f8b4181c824ae673faa4cde114aea90 100644 (file)
@@ -2527,6 +2527,11 @@ void DrawScreenGraphic(int x, int y, int graphic, int frame)
   }
 }
 
+void DrawLevelGraphic(int x, int y, int graphic, int frame)
+{
+  DrawScreenGraphic(SCREENX(x), SCREENY(y), graphic, frame);
+}
+
 void DrawScreenElement(int x, int y, int element)
 {
   int mask_mode = NO_MASKING;