|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: field.c,v 1.26 2003/06/02 23:32:36 stpohle Exp $ */
|
|
|
|
|
/* $Id: field.c,v 1.27 2003/06/02 23:47:37 stpohle Exp $ */
|
|
|
|
|
/* field.c - procedures which are needed to control the field */
|
|
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
@ -33,6 +33,8 @@ draw_stone (int x, int y)
|
|
|
|
|
|
|
|
|
|
srcbg.w = dest.w;
|
|
|
|
|
srcbg.h = dest.h;
|
|
|
|
|
if (gfx.field[FT_nothing].frames == 0)
|
|
|
|
|
printf ("**************** WARNING *********** gfx.field[FT_nothing].frames == 0\n");
|
|
|
|
|
srcbg.x = (x % gfx.field[FT_nothing].frames) * gfx.block.x;
|
|
|
|
|
srcbg.y = (y % gfx.field[FT_nothing].frames) * gfx.block.y;
|
|
|
|
|
|
|
|
|
|