+#if 1
+
+
+#if 1
+
+ SetClipMask(sprBitmap, sprBitmap->stored_clip_gc, spriteBitmap);
+
+ SetClipOrigin(sprBitmap, sprBitmap->stored_clip_gc, x, y);
+ BlitBitmapMasked(sprBitmap, screenBitmap,
+ (spr / 8) * TILEX, (spr % 8) * TILEY, TILEX, TILEY,
+ x, y);
+
+ SetClipOrigin(sprBitmap, sprBitmap->stored_clip_gc, x - 22 * TILEX, y);
+ BlitBitmapMasked(sprBitmap, screenBitmap,
+ (spr / 8) * TILEX, (spr % 8) * TILEY, TILEX, TILEY,
+ x - 22 * TILEX, y);
+
+ SetClipOrigin(sprBitmap, sprBitmap->stored_clip_gc, x, y - 14 * TILEY);
+ BlitBitmapMasked(sprBitmap, screenBitmap,
+ (spr / 8) * TILEX, (spr % 8) * TILEY, TILEX, TILEY,
+ x, y - 14 * TILEY);
+
+ SetClipMask(sprBitmap, sprBitmap->stored_clip_gc, None);
+
+#else
+
+ XSetClipMask(display, sprBitmap->stored_clip_gc, spriteBitmap);
+
+ XSetClipOrigin(display, sprBitmap->stored_clip_gc, x, y);
+ XCopyArea(display, sprBitmap->drawable, screenBitmap->drawable,
+ sprBitmap->stored_clip_gc,
+ (spr / 8) * TILEX, (spr % 8) * TILEY, TILEX, TILEY,
+ x, y);
+
+ XSetClipOrigin(display, sprBitmap->stored_clip_gc, x - 22 * TILEX, y);
+ XCopyArea(display, sprBitmap->drawable, screenBitmap->drawable,
+ sprBitmap->stored_clip_gc,
+ (spr / 8) * TILEX, (spr % 8) * TILEY, TILEX, TILEY,
+ x - 22 * TILEX, y);
+
+ XSetClipOrigin(display, sprBitmap->stored_clip_gc, x, y - 14 * TILEY);
+ XCopyArea(display, sprBitmap->drawable, screenBitmap->drawable,
+ sprBitmap->stored_clip_gc,
+ (spr / 8) * TILEX, (spr % 8) * TILEY, TILEX, TILEY,
+ x, y - 14 * TILEY);
+
+ XSetClipMask(display, sprBitmap->stored_clip_gc, None);
+
+#endif
+
+#else
+