hedgewars/tunsetborder.inc
author unc0rr
Mon, 27 Nov 2006 17:29:08 +0000
changeset 281 5b483aa9f2ab
parent 184 f97a7a3dc8f6
child 351 29bc9c36ad5f
permissions -rw-r--r--
Pause support (mouse cursor is released when the game is paused)

        begin
        X:= X + dX;
        Y:= Y + dY;
        tx:= round(X);
        ty:= round(Y);
        if ((ty and $FFFFFC00) = 0) and ((tx and $FFFFF800) = 0)and (Land[ty, tx] = $FFFFFF) then
           SetLandPixel(ty, tx)
	end;