equal
deleted
inserted
replaced
87 |
87 |
88 Gear^.X:= Gear^.X + (cWindSpeed * 200 + Gear^.dX) * Steps; |
88 Gear^.X:= Gear^.X + (cWindSpeed * 200 + Gear^.dX) * Steps; |
89 Gear^.Y:= Gear^.Y + (Gear^.dY + cGravity * vobFallSpeed) * Steps; |
89 Gear^.Y:= Gear^.Y + (Gear^.dY + cGravity * vobFallSpeed) * Steps; |
90 Gear^.Angle:= Gear^.Angle + Gear^.dAngle * Steps; |
90 Gear^.Angle:= Gear^.Angle + Gear^.dAngle * Steps; |
91 |
91 |
92 if hwRound(Gear^.X) < -cScreenWidth - 64 then Gear^.X:= int2hwFloat(cScreenWidth + LAND_WIDTH + 1) else |
92 if hwRound(Gear^.X) < -cScreenWidth - 64 then Gear^.X:= int2hwFloat(cScreenWidth + LAND_WIDTH) else |
93 if hwRound(Gear^.X) > cScreenWidth + LAND_WIDTH + 1 then Gear^.X:= int2hwFloat(-cScreenWidth - 64); |
93 if hwRound(Gear^.X) > cScreenWidth + LAND_WIDTH then Gear^.X:= int2hwFloat(-cScreenWidth - 64); |
94 if hwRound(Gear^.Y) > (LAND_HEIGHT+75) then Gear^.Y:= Gear^.Y - int2hwFloat(LAND_HEIGHT+200) |
94 if hwRound(Gear^.Y) > (LAND_HEIGHT + 75) then Gear^.Y:= Gear^.Y - int2hwFloat(LAND_HEIGHT + 200) |
95 end; |
95 end; |
96 |
96 |
97 procedure doStepCloud(Gear: PVisualGear; Steps: Longword); |
97 procedure doStepCloud(Gear: PVisualGear; Steps: Longword); |
98 var i: Longword; |
98 var i: Longword; |
99 begin |
99 begin |