X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=068afdef8b6fa22003b984360fc6213366455718;hb=2a357b702b5ceb9bf9173ac02f68cf42340b3158;hp=c9d3e4baf4203d124152a7b8ae9eb2733c0e0efc;hpb=3a503b2292cd93a5c67cda25e8912391eb12273b;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index c9d3e4ba..068afdef 100644 --- a/src/tools.c +++ b/src/tools.c @@ -91,8 +91,8 @@ void RedrawPlayfield(boolean force_redraw, int x, int y, int width, int height) if (setup.direct_draw) SetDrawtoField(DRAW_BACKBUFFER); - for(xx=BX1; xx<=BX2; xx++) - for(yy=BY1; yy<=BY2; yy++) + for (xx = BX1; xx <= BX2; xx++) + for (yy = BY1; yy <= BY2; yy++) if (xx >= x1 && xx <= x2 && yy >= y1 && yy <= y2) DrawScreenField(xx, yy); DrawAllPlayers(); @@ -263,8 +263,8 @@ void BackToFront() if (redraw_mask & REDRAW_TILES) { - for(x=0; xstored_clip_gc; @@ -2785,7 +2785,7 @@ void CreateToolButtons() { int i; - for (i=0; i