233
237
if (!mcr_cocktail_flip)
235
239
/* first draw the sprite, visible */
236
pdrawgfx(bitmap, machine->gfx[1], code, color, flipx, flipy, sx, sy,
237
cliprect, TRANSPARENCY_PENS, 0x0101, 0x00);
240
pdrawgfx_transmask(bitmap, cliprect, machine->gfx[1], code, color, flipx, flipy, sx, sy,
241
machine->priority_bitmap, 0x00, 0x0101);
239
243
/* then draw the mask, behind the background but obscuring following sprites */
240
pdrawgfx(bitmap, machine->gfx[1], code, color, flipx, flipy, sx, sy,
241
cliprect, TRANSPARENCY_PENS, 0xfeff, 0x02);
244
pdrawgfx_transmask(bitmap, cliprect, machine->gfx[1], code, color, flipx, flipy, sx, sy,
245
machine->priority_bitmap, 0x02, 0xfeff);
245
249
/* first draw the sprite, visible */
246
pdrawgfx(bitmap, machine->gfx[1], code, color, !flipx, !flipy, 480 - sx, 452 - sy,
247
cliprect, TRANSPARENCY_PENS, 0x0101, 0x00);
250
pdrawgfx_transmask(bitmap, cliprect, machine->gfx[1], code, color, !flipx, !flipy, 480 - sx, 452 - sy,
251
machine->priority_bitmap, 0x00, 0x0101);
249
253
/* then draw the mask, behind the background but obscuring following sprites */
250
pdrawgfx(bitmap, machine->gfx[1], code, color, !flipx, !flipy, 480 - sx, 452 - sy,
251
cliprect, TRANSPARENCY_PENS, 0xfeff, 0x02);
254
pdrawgfx_transmask(bitmap, cliprect, machine->gfx[1], code, color, !flipx, !flipy, 480 - sx, 452 - sy,
255
machine->priority_bitmap, 0x02, 0xfeff);