hedgewars/tunsetborder.inc
author unc0rr
Sun, 26 Nov 2006 20:33:46 +0000
changeset 279 5df0ab96b60a
parent 184 f97a7a3dc8f6
child 351 29bc9c36ad5f
permissions -rw-r--r--
Less complex theme.cfg format ;) Information about image dimensions is obtained from image
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 101
diff changeset
     1
        begin
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 101
diff changeset
     2
        X:= X + dX;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 101
diff changeset
     3
        Y:= Y + dY;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 101
diff changeset
     4
        tx:= round(X);
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 101
diff changeset
     5
        ty:= round(Y);
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 101
diff changeset
     6
        if ((ty and $FFFFFC00) = 0) and ((tx and $FFFFF800) = 0)and (Land[ty, tx] = $FFFFFF) then
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 101
diff changeset
     7
           SetLandPixel(ty, tx)
38
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     8
	end;