equal
deleted
inserted
replaced
37 procedure ChangeRoundInLand(X, Y, Radius: LongInt; doSet: boolean); |
37 procedure ChangeRoundInLand(X, Y, Radius: LongInt; doSet: boolean); |
38 |
38 |
39 function TryPlaceOnLand(cpX, cpY: LongInt; Obj: TSprite; Frame: LongInt; doPlace: boolean): boolean; |
39 function TryPlaceOnLand(cpX, cpY: LongInt; Obj: TSprite; Frame: LongInt; doPlace: boolean): boolean; |
40 |
40 |
41 implementation |
41 implementation |
42 uses SDLh, uMisc, uLand, uLandTexture; |
42 uses SDLh, uMisc, uLand, uLandTexture, uVariables; |
43 |
43 |
44 procedure FillCircleLines(x, y, dx, dy: LongInt; Value: Longword); |
44 procedure FillCircleLines(x, y, dx, dy: LongInt; Value: Longword); |
45 var i: LongInt; |
45 var i: LongInt; |
46 begin |
46 begin |
47 if ((y + dy) and LAND_HEIGHT_MASK) = 0 then |
47 if ((y + dy) and LAND_HEIGHT_MASK) = 0 then |