equal
deleted
inserted
replaced
38 function LandBackPixel(x, y: LongInt): LongWord; |
38 function LandBackPixel(x, y: LongInt): LongWord; |
39 |
39 |
40 function TryPlaceOnLand(cpX, cpY: LongInt; Obj: TSprite; Frame: LongInt; doPlace: boolean): boolean; |
40 function TryPlaceOnLand(cpX, cpY: LongInt; Obj: TSprite; Frame: LongInt; doPlace: boolean): boolean; |
41 |
41 |
42 implementation |
42 implementation |
43 uses SDLh, uLandTexture, uVariables, uUtils, uIO; |
43 uses SDLh, uLandTexture, uVariables, uUtils, uDebug; |
44 |
44 |
45 procedure FillCircleLines(x, y, dx, dy: LongInt; Value: Longword); |
45 procedure FillCircleLines(x, y, dx, dy: LongInt; Value: Longword); |
46 var i: LongInt; |
46 var i: LongInt; |
47 begin |
47 begin |
48 if ((y + dy) and LAND_HEIGHT_MASK) = 0 then |
48 if ((y + dy) and LAND_HEIGHT_MASK) = 0 then |