hedgewars/tunsetborder.inc
author unc0rr
Tue, 23 Jan 2007 16:59:05 +0000
changeset 358 236bbd12d4d9
parent 351 29bc9c36ad5f
child 393 db01cc79f278
permissions -rw-r--r--
- New Land Generator - Some perfomance tricks - Some typo fixes

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