+ExtFunc void PlotShape(Shape *shape, int scr, int y, int x, int falling, int shadow)
+{ //put shape on field
+ if (shadow && scr == me) {
+ for (shadowy = y - 1; shadowy >= 0; shadowy--)
+ if (!ShapeFits(shape, scr, shadowy, x))
+ break;
+ ShapeIterate(shape, scr, shadowy + 1, x, falling, ShadowFunc, NULL);
+ } //draw shadow
+ ShapeIterate(shape, scr, y, x, falling, PlotFunc, NULL);
+} //PlotShape