#if DEBUG
if (!IN_SCR_FIELD(x,y))
{
- printf("DrawGraphic_MM(): x = %d, y = %d, graphic = %d\n",x,y,graphic);
- printf("DrawGraphic_MM(): This should never happen!\n");
+ Debug("game:mm:DrawGraphic_MM", "x = %d, y = %d, graphic = %d",
+ x, y, graphic);
+ Debug("game:mm:DrawGraphic_MM", "This should never happen!");
+
return;
}
#endif
#if DEBUG
if (!IN_SCR_FIELD(x,y))
{
- printf("DrawGraphicThruMask_MM(): x = %d,y = %d, graphic = %d\n",x,y,graphic);
- printf("DrawGraphicThruMask_MM(): This should never happen!\n");
+ Debug("game:mm:DrawGraphicThruMask_MM", "x = %d,y = %d, graphic = %d",
+ x, y, graphic);
+ Debug("game:mm:DrawGraphicThruMask_MM", "This should never happen!");
+
return;
}
#endif
#if DEBUG
if (!IN_SCR_FIELD(x,y))
{
- printf("DrawGraphicShifted_MM(): x = %d, y = %d, graphic = %d\n",x,y,graphic);
- printf("DrawGraphicShifted_MM(): This should never happen!\n");
+ Debug("game:mm:DrawGraphicShifted_MM", "x = %d, y = %d, graphic = %d",
+ x, y, graphic);
+ Debug("game:mm:DrawGraphicShifted_MM", "This should never happen!");
+
return;
}
#endif