hedgewars/tunsetborder.inc
author unc0rr
Wed, 20 Sep 2006 15:33:47 +0000
changeset 154 5667e6f38704
parent 101 f568cc72ea8c
child 184 f97a7a3dc8f6
permissions -rw-r--r--
Network protocol uses integers in network byte order
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     1
        begin
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     2
        X:= X + dX;
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     3
        Y:= Y + dY;
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     4
        tx:= round(X);
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     5
        ty:= round(Y);
53
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 38
diff changeset
     6
        if ((ty and $FFFFFC00) = 0) and ((tx and $FFFFF800) = 0)and (Land[ty, tx] = $FFFFFF) then
101
f568cc72ea8c Get rid of pointer <> integer typecasts
unc0rr
parents: 53
diff changeset
     7
           SetLandPixel(ty, tx)
38
c1ec4b15d70e Better Desert Eagle and Shotgun
unc0rr
parents:
diff changeset
     8
	end;